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>
623 ac_subst_vars
='LTLIBOBJS
626 systemd_system_unit_dir
706 XGETTEXT_EXTRA_OPTIONS
707 MSGMERGE_FOR_MSGFMT_OPTION
714 GETTEXT_MACRO_VERSION
830 program_transform_name
841 ac_subst_files
='MCONFIG
847 PUBLIC_CONFIG_HEADER'
849 enable_option_checking
855 enable_maintainer_mode
856 enable_symlink_install
857 enable_relative_symlinks
858 enable_symlink_relative_symlinks
860 enable_verbose_makecmds
869 enable_developer_features
879 enable_e2initrd_helper
886 enable_bmap_stats_ops
900 with_systemd_unit_dir
902 ac_precious_vars
='build_alias
920 # Initialize some variables set by options.
922 ac_init_version
=false
923 ac_unrecognized_opts
=
925 # The variables have the same names as the options, with
926 # dashes changed to underlines.
934 program_transform_name
=s
,x
,x
,
942 # Installation directory options.
943 # These are left unexpanded so users can "make install exec_prefix=/foo"
944 # and all the variables that are supposed to be based on exec_prefix
945 # by default will actually change.
946 # Use braces instead of parens because sh, perl, etc. also accept them.
947 # (The list follows the same order as the GNU Coding Standards.)
948 bindir
='${exec_prefix}/bin'
949 sbindir
='${exec_prefix}/sbin'
950 libexecdir
='${exec_prefix}/libexec'
951 datarootdir
='${prefix}/share'
952 datadir
='${datarootdir}'
953 sysconfdir
='${prefix}/etc'
954 sharedstatedir
='${prefix}/com'
955 localstatedir
='${prefix}/var'
956 runstatedir
='${localstatedir}/run'
957 includedir
='${prefix}/include'
958 oldincludedir
='/usr/include'
959 docdir
='${datarootdir}/doc/${PACKAGE}'
960 infodir
='${datarootdir}/info'
965 libdir
='${exec_prefix}/lib'
966 localedir
='${datarootdir}/locale'
967 mandir
='${datarootdir}/man'
973 # If the previous option needs an argument, assign it.
974 if test -n "$ac_prev"; then
975 eval $ac_prev=\
$ac_option
981 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
994 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
997 -build |
--build |
--buil |
--bui |
--bu)
998 ac_prev
=build_alias
;;
999 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1000 build_alias
=$ac_optarg ;;
1002 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1003 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1004 ac_prev
=cache_file
;;
1005 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1006 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1007 cache_file
=$ac_optarg ;;
1009 --config-cache |
-C)
1010 cache_file
=config.cache
;;
1012 -datadir |
--datadir |
--datadi |
--datad)
1014 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1015 datadir
=$ac_optarg ;;
1017 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1018 |
--dataroo |
--dataro |
--datar)
1019 ac_prev
=datarootdir
;;
1020 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1021 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1022 datarootdir
=$ac_optarg ;;
1024 -disable-* |
--disable-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 as_fn_error $?
"invalid feature name: $ac_useropt"
1029 ac_useropt_orig
=$ac_useropt
1030 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "enable_
$ac_useropt"
1035 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1036 ac_unrecognized_sep
=', ';;
1038 eval enable_
$ac_useropt=no
;;
1040 -docdir |
--docdir |
--docdi |
--doc |
--do)
1042 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1043 docdir
=$ac_optarg ;;
1045 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1047 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1048 dvidir
=$ac_optarg ;;
1050 -enable-* |
--enable-*)
1051 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1054 as_fn_error $?
"invalid feature name: $ac_useropt"
1055 ac_useropt_orig
=$ac_useropt
1056 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1059 "enable_
$ac_useropt"
1061 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1062 ac_unrecognized_sep
=', ';;
1064 eval enable_
$ac_useropt=\
$ac_optarg ;;
1066 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1067 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1068 |
--exec |
--exe |
--ex)
1069 ac_prev
=exec_prefix
;;
1070 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1071 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1072 |
--exec=* |
--exe=* |
--ex=*)
1073 exec_prefix
=$ac_optarg ;;
1075 -gas |
--gas |
--ga |
--g)
1076 # Obsolete; use --with-gas.
1079 -help |
--help |
--hel |
--he |
-h)
1080 ac_init_help
=long
;;
1081 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1082 ac_init_help
=recursive
;;
1083 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1084 ac_init_help
=short
;;
1086 -host |
--host |
--hos |
--ho)
1087 ac_prev
=host_alias
;;
1088 -host=* |
--host=* |
--hos=* |
--ho=*)
1089 host_alias
=$ac_optarg ;;
1091 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1093 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1095 htmldir
=$ac_optarg ;;
1097 -includedir |
--includedir |
--includedi |
--included |
--include \
1098 |
--includ |
--inclu |
--incl |
--inc)
1099 ac_prev
=includedir
;;
1100 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1101 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1102 includedir
=$ac_optarg ;;
1104 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1106 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1107 infodir
=$ac_optarg ;;
1109 -libdir |
--libdir |
--libdi |
--libd)
1111 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1112 libdir
=$ac_optarg ;;
1114 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1115 |
--libexe |
--libex |
--libe)
1116 ac_prev
=libexecdir
;;
1117 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1118 |
--libexe=* |
--libex=* |
--libe=*)
1119 libexecdir
=$ac_optarg ;;
1121 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1122 ac_prev
=localedir
;;
1123 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1124 localedir
=$ac_optarg ;;
1126 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1127 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1128 ac_prev
=localstatedir
;;
1129 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1130 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1131 localstatedir
=$ac_optarg ;;
1133 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1135 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1136 mandir
=$ac_optarg ;;
1138 -nfp |
--nfp |
--nf)
1139 # Obsolete; use --without-fp.
1142 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1143 |
--no-cr |
--no-c |
-n)
1146 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1147 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1150 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1151 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1152 |
--oldin |
--oldi |
--old |
--ol |
--o)
1153 ac_prev
=oldincludedir
;;
1154 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1155 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1156 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1157 oldincludedir
=$ac_optarg ;;
1159 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1161 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1162 prefix
=$ac_optarg ;;
1164 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1165 |
--program-pre |
--program-pr |
--program-p)
1166 ac_prev
=program_prefix
;;
1167 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1168 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1169 program_prefix
=$ac_optarg ;;
1171 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1172 |
--program-suf |
--program-su |
--program-s)
1173 ac_prev
=program_suffix
;;
1174 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1175 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1176 program_suffix
=$ac_optarg ;;
1178 -program-transform-name |
--program-transform-name \
1179 |
--program-transform-nam |
--program-transform-na \
1180 |
--program-transform-n |
--program-transform- \
1181 |
--program-transform |
--program-transfor \
1182 |
--program-transfo |
--program-transf \
1183 |
--program-trans |
--program-tran \
1184 |
--progr-tra |
--program-tr |
--program-t)
1185 ac_prev
=program_transform_name
;;
1186 -program-transform-name=* |
--program-transform-name=* \
1187 |
--program-transform-nam=* |
--program-transform-na=* \
1188 |
--program-transform-n=* |
--program-transform-=* \
1189 |
--program-transform=* |
--program-transfor=* \
1190 |
--program-transfo=* |
--program-transf=* \
1191 |
--program-trans=* |
--program-tran=* \
1192 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1193 program_transform_name
=$ac_optarg ;;
1195 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1197 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1198 pdfdir
=$ac_optarg ;;
1200 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1202 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1205 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1206 |
-silent |
--silent |
--silen |
--sile |
--sil)
1209 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1210 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1211 |
--run |
--ru |
--r)
1212 ac_prev
=runstatedir
;;
1213 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1214 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1215 |
--run=* |
--ru=* |
--r=*)
1216 runstatedir
=$ac_optarg ;;
1218 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1220 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1222 sbindir
=$ac_optarg ;;
1224 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1225 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1226 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1228 ac_prev
=sharedstatedir
;;
1229 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1230 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1231 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1233 sharedstatedir
=$ac_optarg ;;
1235 -site |
--site |
--sit)
1237 -site=* |
--site=* |
--sit=*)
1240 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1242 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1243 srcdir
=$ac_optarg ;;
1245 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1246 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1247 ac_prev
=sysconfdir
;;
1248 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1249 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1250 sysconfdir
=$ac_optarg ;;
1252 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1253 ac_prev
=target_alias
;;
1254 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1255 target_alias
=$ac_optarg ;;
1257 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1260 -version |
--version |
--versio |
--versi |
--vers |
-V)
1261 ac_init_version
=: ;;
1264 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1267 as_fn_error $?
"invalid package name: $ac_useropt"
1268 ac_useropt_orig
=$ac_useropt
1269 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1275 ac_unrecognized_sep
=', ';;
1277 eval with_
$ac_useropt=\
$ac_optarg ;;
1279 -without-* |
--without-*)
1280 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1283 as_fn_error $?
"invalid package name: $ac_useropt"
1284 ac_useropt_orig
=$ac_useropt
1285 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1286 case $ac_user_opts in
1290 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1291 ac_unrecognized_sep
=', ';;
1293 eval with_
$ac_useropt=no
;;
1296 # Obsolete; use --with-x.
1299 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1300 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1301 ac_prev
=x_includes
;;
1302 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1303 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1304 x_includes
=$ac_optarg ;;
1306 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1307 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1308 ac_prev
=x_libraries
;;
1309 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1310 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1311 x_libraries
=$ac_optarg ;;
1313 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1314 Try \`$0 --help' for more information"
1318 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1319 # Reject names that are not valid shell variable names.
1320 case $ac_envvar in #(
1321 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1322 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1324 eval $ac_envvar=\
$ac_optarg
1325 export $ac_envvar ;;
1328 # FIXME: should be removed in autoconf 3.0.
1329 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1330 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1331 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1332 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1338 if test -n "$ac_prev"; then
1339 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1340 as_fn_error $?
"missing argument to $ac_option"
1343 if test -n "$ac_unrecognized_opts"; then
1344 case $enable_option_checking in
1346 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1347 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1351 # Check all directory arguments for consistency.
1352 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1353 datadir sysconfdir sharedstatedir localstatedir includedir \
1354 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1355 libdir localedir mandir runstatedir
1357 eval ac_val
=\$
$ac_var
1358 # Remove trailing slashes.
1361 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1362 eval $ac_var=\
$ac_val;;
1364 # Be sure to have absolute directory names.
1366 [\\/$
]* | ?
:[\\/]* ) continue;;
1367 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1369 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1372 # There might be people who depend on the old broken behavior: `$host'
1373 # used to hold the argument of --host etc.
1374 # FIXME: To remove some day.
1377 target
=$target_alias
1379 # FIXME: To remove some day.
1380 if test "x$host_alias" != x
; then
1381 if test "x$build_alias" = x
; then
1382 cross_compiling
=maybe
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 as_fn_error $?
"working directory cannot be determined"
1398 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399 as_fn_error $?
"pwd does not report name of working directory"
1402 # Find the source files, if location was not specified.
1403 if test -z "$srcdir"; then
1404 ac_srcdir_defaulted
=yes
1405 # Try the directory containing this script, then the parent directory.
1406 ac_confdir
=`$as_dirname -- "$as_myself" ||
1407 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408 X"$as_myself" : 'X\(//\)[^/]' \| \
1409 X"$as_myself" : 'X\(//\)$' \| \
1410 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411 $as_echo X"$as_myself" |
1412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1434 ac_srcdir_defaulted
=no
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1437 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1438 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1440 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1442 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1444 # When building in place, set srcdir=.
1445 if test "$ac_abs_confdir" = "$ac_pwd"; then
1448 # Remove unnecessary trailing slashes from srcdir.
1449 # Double slashes in file names in object file debugging info
1450 # mess up M-x gdb in Emacs.
1452 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454 for ac_var
in $ac_precious_vars; do
1455 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1456 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1457 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1458 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1462 # Report the --help message.
1464 if test "$ac_init_help" = "long"; then
1465 # Omit some internal or obsolete options to make the list less imposing.
1466 # This message is too long to be a string in the A/UX 3.1 sh.
1468 \`configure' configures this package to adapt to many kinds of systems.
1470 Usage: $0 [OPTION]... [VAR=VALUE]...
1472 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473 VAR=VALUE. See below for descriptions of some of the useful variables.
1475 Defaults for the options are specified in brackets.
1478 -h, --help display this help and exit
1479 --help=short display options specific to this package
1480 --help=recursive display the short help of all the included packages
1481 -V, --version display version information and exit
1482 -q, --quiet, --silent do not print \`checking ...' messages
1483 --cache-file=FILE cache test results in FILE [disabled]
1484 -C, --config-cache alias for \`--cache-file=config.cache'
1485 -n, --no-create do not create output files
1486 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1488 Installation directories:
1489 --prefix=PREFIX install architecture-independent files in PREFIX
1490 [$ac_default_prefix]
1491 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494 By default, \`make install' will install all the files in
1495 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1496 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497 for instance \`--prefix=\$HOME'.
1499 For better control, use the options below.
1501 Fine tuning of the installation directories:
1502 --bindir=DIR user executables [EPREFIX/bin]
1503 --sbindir=DIR system admin executables [EPREFIX/sbin]
1504 --libexecdir=DIR program executables [EPREFIX/libexec]
1505 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1506 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1507 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1508 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1509 --libdir=DIR object code libraries [EPREFIX/lib]
1510 --includedir=DIR C header files [PREFIX/include]
1511 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1514 --infodir=DIR info documentation [DATAROOTDIR/info]
1515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1516 --mandir=DIR man documentation [DATAROOTDIR/man]
1517 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1518 --htmldir=DIR html documentation [DOCDIR]
1519 --dvidir=DIR dvi documentation [DOCDIR]
1520 --pdfdir=DIR pdf documentation [DOCDIR]
1521 --psdir=DIR ps documentation [DOCDIR]
1527 --build=BUILD configure
for building on BUILD
[guessed
]
1528 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1532 if test -n "$ac_init_help"; then
1537 --disable-option-checking ignore unrecognized
--enable/--with options
1538 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1539 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1540 --enable-maintainer-mode
1541 enable makefile rules useful
for maintainers
1542 --enable-symlink-install
1543 use symlinks when installing instead of hard links
1544 --enable-relative-symlinks
1545 use relative symlinks when installing
1547 --enable-symlink-build use symlinks
while building instead of hard links
1548 --enable-verbose-makecmds
1549 enable verbose
make command output
1550 --enable-elf-shlibs select ELF shared libraries
1551 --enable-bsd-shlibs select BSD shared libraries
1552 --enable-profile build profiling libraries
1553 --enable-gcov build
for coverage testing using gcov
1554 --enable-hardening build
for coverage testing using gcov
1555 --enable-jbd-debug enable journal debugging
1556 --enable-blkid-debug enable blkid debugging
1557 --disable-testio-debug disable the use of the
test I
/O manager
for
1559 --enable-developer-features
1560 enable features
for use by ext4 developers
1561 --enable-libuuid build and use private uuid library
1562 --enable-libblkid build and use private blkid library
1563 --enable-subset enable subset-only build
1564 --disable-backtrace disable use backtrace
1565 --disable-debugfs disable support of debugfs program
1566 --disable-imager disable support of e2image program
1567 --disable-resizer disable support of e2resize program
1568 --disable-defrag disable support of e4defrag program
1569 --enable-fsck build fsck wrapper program
1570 --enable-e2initrd-helper
1571 build e2initrd-helper program
1572 --disable-tls disable use of thread
local support
1573 --disable-uuidd disable building the uuid daemon
1574 --disable-mmp disable support mmp
, Multi Mount Protection
1575 --disable-tdb disable tdb support
1576 --disable-bmap-stats disable collection of bitmap stats
1577 --enable-bmap-stats-ops enable collection of additional bitmap stats
1578 --disable-nls do not use Native Language Support
1579 --disable-rpath do not hardcode runtime library paths
1580 --disable-fuse2fs do not build fuse2fs
1581 --enable-lto enable link
time optimization
1582 --enable-ubsan enable undefined behavior sanitizer
1583 --enable-addrsan enable address sanitizer
1584 --enable-threadsan enable thread sanitizer
1587 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1588 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1589 --with-diet-libc use diet libc
1590 --with-cc no longer supported
, use CC
= instead
1591 --with-ccopts no longer supported
, use CFLAGS
= instead
1592 --with-ldopts no longer supported
, use LDFLAGS
= instead
1593 --with-root-prefix=PREFIX
1594 override prefix variable
for files to be placed
in
1596 --without-pthread disable use of pthread support
1597 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1598 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1599 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1600 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1601 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1602 --with-multiarch=ARCH specify the multiarch triplet
1603 --with-udev-rules-dir[=DIR
]
1604 Install udev rules into DIR.
1605 --with-crond-dir[=DIR
] Install system crontabs into DIR.
1606 --with-systemd-unit-dir[=DIR
]
1607 Install systemd system units into DIR.
1609 Some influential environment variables
:
1610 CC C compiler
command
1611 CFLAGS C compiler flags
1612 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1613 nonstandard directory
<lib dir
>
1614 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1615 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1616 you have headers
in a nonstandard directory
<include dir
>
1618 PKG_CONFIG path to pkg-config utility
1620 directories to add to pkg-config
's search path
1622 path overriding pkg-config's built-in search path
1623 udev_CFLAGS C compiler flags
for udev
, overriding pkg-config
1624 udev_LIBS linker flags
for udev
, overriding pkg-config
1626 C compiler flags
for systemd
, overriding pkg-config
1628 linker flags
for systemd
, overriding pkg-config
1630 Use these variables to override the choices made by
`configure' or to help
1631 it to find libraries and programs with nonstandard names/locations.
1633 Report bugs to the package provider.
1638 if test "$ac_init_help" = "recursive"; then
1639 # If there are subdirs, report their specific --help.
1640 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1641 test -d "$ac_dir" ||
1642 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1650 # A ".." for each directory in $ac_dir_suffix.
1651 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1652 case $ac_top_builddir_sub in
1653 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 ac_abs_top_builddir=$ac_pwd
1658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1659 # for backward compatibility:
1660 ac_top_builddir=$ac_top_build_prefix
1663 .) # We are building in place.
1665 ac_top_srcdir=$ac_top_builddir_sub
1666 ac_abs_top_srcdir=$ac_pwd ;;
1667 [\\/]* | ?:[\\/]* ) # Absolute name.
1668 ac_srcdir=$srcdir$ac_dir_suffix;
1669 ac_top_srcdir=$srcdir
1670 ac_abs_top_srcdir=$srcdir ;;
1672 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673 ac_top_srcdir=$ac_top_build_prefix$srcdir
1674 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1678 cd "$ac_dir" || { ac_status=$?; continue; }
1679 # Check for guested configure.
1680 if test -f "$ac_srcdir/configure.gnu"; then
1682 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1683 elif test -f "$ac_srcdir/configure"; then
1685 $SHELL "$ac_srcdir/configure" --help=recursive
1687 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 cd "$ac_pwd" || { ac_status=$?; break; }
1693 test -n "$ac_init_help" && exit $ac_status
1694 if $ac_init_version; then
1697 generated by GNU Autoconf 2.69
1699 Copyright (C) 2012 Free Software Foundation, Inc.
1700 This configure script is free software; the Free Software Foundation
1701 gives unlimited permission to copy, distribute and modify it.
1706 ## ------------------------ ##
1707 ## Autoconf initialization. ##
1708 ## ------------------------ ##
1710 # ac_fn_c_try_compile LINENO
1711 # --------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_compile ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 rm -f conftest.$ac_objext
1717 if { { ac_try="$ac_compile"
1719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1720 *) ac_try_echo
=$ac_try;;
1722 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_compile") 2>conftest.err
1726 if test -s conftest.err
; then
1727 grep -v '^ *+' conftest.err
>conftest.er1
1728 cat conftest.er1
>&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest.
$ac_objext; then :
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.
$ac_ext >&5
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status
$ac_retval
1746 } # ac_fn_c_try_compile
1748 # ac_fn_c_try_link LINENO
1749 # -----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1754 rm -f conftest.
$ac_objext conftest
$ac_exeext
1755 if { { ac_try
="$ac_link"
1757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_link") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && {
1771 test -z "$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1773 } && test -s conftest$ac_exeext && {
1774 test "$cross_compiling" = yes ||
1775 test -x conftest$ac_exeext
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1784 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1785 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1786 # interfere with the next link command; also delete a directory that is
1787 # left behind by Apple's compiler. We do this before executing the actions.
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1792 } # ac_fn_c_try_link
1794 # ac_fn_c_try_cpp LINENO
1795 # ----------------------
1796 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 if { { ac_try="$ac_cpp conftest.$ac_ext"
1802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1803 *) ac_try_echo
=$ac_try;;
1805 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1809 if test -s conftest.err
; then
1810 grep -v '^ *+' conftest.err
>conftest.er1
1811 cat conftest.er1
>&5
1812 mv -f conftest.er1 conftest.err
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } > conftest.i
&& {
1816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1817 test ! -s conftest.err
1821 $as_echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.
$ac_ext >&5
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827 as_fn_set_status
$ac_retval
1831 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1832 # -------------------------------------------------------
1833 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1834 # the include files in INCLUDES and setting the cache variable VAR
1836 ac_fn_c_check_header_mongrel
()
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 if eval \
${$3+:} false
; then :
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if eval \
${$3+:} false
; then :
1843 $as_echo_n "(cached) " >&6
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1849 # Is the header compilable?
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1851 $as_echo_n "checking $2 usability... " >&6; }
1852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1857 if ac_fn_c_try_compile
"$LINENO"; then :
1858 ac_header_compiler
=yes
1860 ac_header_compiler
=no
1862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1864 $as_echo "$ac_header_compiler" >&6; }
1866 # Is the header present?
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1868 $as_echo_n "checking $2 presence... " >&6; }
1869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1873 if ac_fn_c_try_cpp
"$LINENO"; then :
1874 ac_header_preproc
=yes
1876 ac_header_preproc
=no
1878 rm -f conftest.err conftest.i conftest.
$ac_ext
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1880 $as_echo "$ac_header_preproc" >&6; }
1882 # So? What about this header?
1883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1886 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1888 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1892 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1894 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1896 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1898 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1900 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \
${$3+:} false
; then :
1906 $as_echo_n "(cached) " >&6
1908 eval "$3=\$ac_header_compiler"
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 $as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 } # ac_fn_c_check_header_mongrel
1918 # ac_fn_c_try_run LINENO
1919 # ----------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1921 # that executables *can* be run.
1924 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1925 if { { ac_try
="$ac_link"
1927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>&5
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1936 { { case "(($ac_try" in
1937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1938 *) ac_try_echo
=$ac_try;;
1940 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_try") 2>&5
1944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945 test $ac_status = 0; }; }; then :
1948 $as_echo "$as_me: program exited with status $ac_status" >&5
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.
$ac_ext >&5
1952 ac_retval
=$ac_status
1954 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956 as_fn_set_status
$ac_retval
1960 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1961 # -------------------------------------------------------
1962 # Tests whether HEADER exists and can be compiled using the include files in
1963 # INCLUDES, setting the cache variable VAR accordingly.
1964 ac_fn_c_check_header_compile
()
1966 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968 $as_echo_n "checking for $2... " >&6; }
1969 if eval \
${$3+:} false
; then :
1970 $as_echo_n "(cached) " >&6
1972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1977 if ac_fn_c_try_compile
"$LINENO"; then :
1982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 } # ac_fn_c_check_header_compile
1991 # ac_fn_c_check_func LINENO FUNC VAR
1992 # ----------------------------------
1993 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1994 ac_fn_c_check_func
()
1996 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval \
${$3+:} false
; then :
2000 $as_echo_n "(cached) " >&6
2002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2004 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2006 #define $2 innocuous_$2
2008 /* System header to define __stub macros and hopefully few prototypes,
2009 which can conflict with char $2 (); below.
2010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2011 <limits.h> exists even on freestanding compilers. */
2014 # include <limits.h>
2016 # include <assert.h>
2021 /* Override any GCC internal prototype to avoid an error.
2022 Use char because int might match the return type of a GCC
2023 builtin and then its argument prototype would still apply. */
2028 /* The GNU C library defines this for functions which it implements
2029 to always fail with ENOSYS. Some functions are actually named
2030 something starting with __ and the normal name is an alias. */
2031 #if defined __stub_$2 || defined __stub___$2
2043 if ac_fn_c_try_link
"$LINENO"; then :
2048 rm -f core conftest.err conftest.
$ac_objext \
2049 conftest
$ac_exeext conftest.
$ac_ext
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 } # ac_fn_c_check_func
2058 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2059 # ----------------------------------------------------
2060 # Tries to find if the field MEMBER exists in type AGGR, after including
2061 # INCLUDES, setting cache variable VAR accordingly.
2062 ac_fn_c_check_member
()
2064 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2066 $as_echo_n "checking for $2.$3... " >&6; }
2067 if eval \
${$4+:} false
; then :
2068 $as_echo_n "(cached) " >&6
2070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2083 if ac_fn_c_try_compile
"$LINENO"; then :
2086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2093 if (sizeof ac_aggr.$3)
2099 if ac_fn_c_try_compile
"$LINENO"; then :
2104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113 } # ac_fn_c_check_member
2115 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2116 # -------------------------------------------
2117 # Tests whether TYPE exists after having included INCLUDES, setting cache
2118 # variable VAR accordingly.
2119 ac_fn_c_check_type
()
2121 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2123 $as_echo_n "checking for $2... " >&6; }
2124 if eval \
${$3+:} false
; then :
2125 $as_echo_n "(cached) " >&6
2128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2140 if ac_fn_c_try_compile
"$LINENO"; then :
2141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2142 /* end confdefs.h. */
2153 if ac_fn_c_try_compile
"$LINENO"; then :
2158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 } # ac_fn_c_check_type
2169 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2170 # ---------------------------------------------
2171 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2173 ac_fn_c_check_decl
()
2175 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2176 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2177 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2179 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2180 if eval \
${$3+:} false
; then :
2181 $as_echo_n "(cached) " >&6
2183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2189 #ifndef $as_decl_name
2191 (void) $as_decl_use;
2193 (void) $as_decl_name;
2201 if ac_fn_c_try_compile
"$LINENO"; then :
2206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210 $as_echo "$ac_res" >&6; }
2211 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2213 } # ac_fn_c_check_decl
2215 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2216 # --------------------------------------------
2217 # Tries to find the compile-time value of EXPR in a program that includes
2218 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2220 ac_fn_c_compute_int
()
2222 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2223 if test "$cross_compiling" = yes; then
2224 # Depending upon the size, compute the lo and hi bounds.
2225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2226 /* end confdefs.h. */
2231 static int test_array [1 - 2 * !(($2) >= 0)];
2233 return test_array [0];
2239 if ac_fn_c_try_compile
"$LINENO"; then :
2242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2248 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2250 return test_array [0];
2256 if ac_fn_c_try_compile
"$LINENO"; then :
2257 ac_hi
=$ac_mid; break
2259 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2260 if test $ac_lo -le $ac_mid; then
2264 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2275 static int test_array [1 - 2 * !(($2) < 0)];
2277 return test_array [0];
2283 if ac_fn_c_try_compile
"$LINENO"; then :
2286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2287 /* end confdefs.h. */
2292 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2294 return test_array [0];
2300 if ac_fn_c_try_compile
"$LINENO"; then :
2301 ac_lo
=$ac_mid; break
2303 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2304 if test $ac_mid -le $ac_hi; then
2308 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2318 # Binary search between lo and hi bounds.
2319 while test "x$ac_lo" != "x$ac_hi"; do
2320 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2322 /* end confdefs.h. */
2327 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2329 return test_array [0];
2335 if ac_fn_c_try_compile
"$LINENO"; then :
2338 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2343 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2348 /* end confdefs.h. */
2350 static long int longval () { return $2; }
2351 static unsigned long int ulongval () { return $2; }
2358 FILE *f = fopen ("conftest.val", "w");
2363 long int i = longval ();
2366 fprintf (f, "%ld", i);
2370 unsigned long int i = ulongval ();
2373 fprintf (f, "%lu", i);
2375 /* Do not output a trailing newline, as this causes \r\n confusion
2376 on some platforms. */
2377 return ferror (f) || fclose (f) != 0;
2383 if ac_fn_c_try_run
"$LINENO"; then :
2384 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2388 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2389 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2393 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2394 as_fn_set_status
$ac_retval
2396 } # ac_fn_c_compute_int
2397 cat >config.log
<<_ACEOF
2398 This file contains any messages produced by compilers while
2399 running configure, to aid debugging if configure makes a mistake.
2401 It was created by $as_me, which was
2402 generated by GNU Autoconf 2.69. Invocation command line was
2414 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2415 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2416 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2417 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2418 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2420 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2421 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2423 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2424 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2425 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2426 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2427 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2428 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2429 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 $as_echo "PATH: $as_dir"
2454 # Keep a trace of the command line.
2455 # Strip out --no-create and --no-recursion so they do not pile up.
2456 # Strip out --silent because we don't want to record it for future runs.
2457 # Also quote any args containing shell meta-characters.
2458 # Make two passes to allow for proper duplicate-argument suppression.
2462 ac_must_keep_next
=false
2468 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2469 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2470 |
-silent |
--silent |
--silen |
--sile |
--sil)
2473 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2476 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2478 as_fn_append ac_configure_args1
" '$ac_arg'"
2479 if test $ac_must_keep_next = true
; then
2480 ac_must_keep_next
=false
# Got value, back to normal.
2483 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2484 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2485 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2486 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2487 case "$ac_configure_args0 " in
2488 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2491 -* ) ac_must_keep_next
=true
;;
2494 as_fn_append ac_configure_args
" '$ac_arg'"
2499 { ac_configure_args0
=; unset ac_configure_args0
;}
2500 { ac_configure_args1
=; unset ac_configure_args1
;}
2502 # When interrupted or exit'd, cleanup temporary files, and complete
2503 # config.log. We remove comments because anyway the quotes in there
2504 # would cause problems or look ugly.
2505 # WARNING: Use '\'' to represent an apostrophe within the trap.
2506 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2507 trap 'exit_status=$?
2508 # Save into config.log some information that might help in debugging.
2512 $as_echo "## ---------------- ##
2513 ## Cache variables. ##
2514 ## ---------------- ##"
2516 # The following way of writing the cache mishandles newlines in values,
2518 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2519 eval ac_val=\$$ac_var
2523 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2524 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2527 _ | IFS | as_nl) ;; #(
2528 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2529 *) { eval $ac_var=; unset $ac_var;} ;;
2534 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2535 *${as_nl}ac_space=\ *)
2537 "s/'\''/'\''\\\\'\'''\''/g;
2538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2548 $as_echo "## ----------------- ##
2549 ## Output variables. ##
2550 ## ----------------- ##"
2552 for ac_var in $ac_subst_vars
2554 eval ac_val=\$$ac_var
2556 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2558 $as_echo "$ac_var='\''$ac_val'\''"
2562 if test -n "$ac_subst_files"; then
2563 $as_echo "## ------------------- ##
2564 ## File substitutions. ##
2565 ## ------------------- ##"
2567 for ac_var
in $ac_subst_files
2569 eval ac_val
=\$
$ac_var
2571 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2573 $as_echo "$ac_var='\''$ac_val'\''"
2578 if test -s confdefs.h; then
2579 $as_echo "## ----------- ##
2586 test "$ac_signal" != 0 &&
2587 $as_echo "$as_me: caught signal $ac_signal"
2588 $as_echo "$as_me: exit $exit_status"
2590 rm -f core *.core core.conftest.* &&
2591 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2594 for ac_signal
in 1 2 13 15; do
2595 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2599 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2600 rm -f -r conftest
* confdefs.h
2602 $as_echo "/* confdefs.h */" > confdefs.h
2604 # Predefined preprocessor variables.
2606 cat >>confdefs.h
<<_ACEOF
2607 #define PACKAGE_NAME "$PACKAGE_NAME"
2610 cat >>confdefs.h
<<_ACEOF
2611 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2614 cat >>confdefs.h
<<_ACEOF
2615 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2618 cat >>confdefs.h
<<_ACEOF
2619 #define PACKAGE_STRING "$PACKAGE_STRING"
2622 cat >>confdefs.h
<<_ACEOF
2623 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2626 cat >>confdefs.h
<<_ACEOF
2627 #define PACKAGE_URL "$PACKAGE_URL"
2631 # Let the site file select an alternate cache file if it wants to.
2632 # Prefer an explicitly selected file to automatically selected ones.
2635 if test -n "$CONFIG_SITE"; then
2636 # We do not want a PATH search for config.site.
2637 case $CONFIG_SITE in #((
2638 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2639 */*) ac_site_file1
=$CONFIG_SITE;;
2640 *) ac_site_file1
=.
/$CONFIG_SITE;;
2642 elif test "x$prefix" != xNONE
; then
2643 ac_site_file1
=$prefix/share
/config.site
2644 ac_site_file2
=$prefix/etc
/config.site
2646 ac_site_file1
=$ac_default_prefix/share
/config.site
2647 ac_site_file2
=$ac_default_prefix/etc
/config.site
2649 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2651 test "x$ac_site_file" = xNONE
&& continue
2652 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2654 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2655 sed 's/^/| /' "$ac_site_file" >&5
2657 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2659 as_fn_error $?
"failed to load site script $ac_site_file
2660 See \`config.log' for more details" "$LINENO" 5; }
2664 if test -r "$cache_file"; then
2665 # Some versions of bash will fail to source /dev/null (special files
2666 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2667 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2669 $as_echo "$as_me: loading cache $cache_file" >&6;}
2671 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2672 *) .
"./$cache_file";;
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2677 $as_echo "$as_me: creating cache $cache_file" >&6;}
2681 gt_needs
="$gt_needs "
2682 # Check that the precious variables saved in the cache have kept the same
2684 ac_cache_corrupted
=false
2685 for ac_var
in $ac_precious_vars; do
2686 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2687 eval ac_new_set
=\
$ac_env_${ac_var}_set
2688 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2689 eval ac_new_val
=\
$ac_env_${ac_var}_value
2690 case $ac_old_set,$ac_new_set in
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2693 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2694 ac_cache_corrupted
=: ;;
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2697 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2698 ac_cache_corrupted
=: ;;
2701 if test "x$ac_old_val" != "x$ac_new_val"; then
2702 # differences in whitespace do not lead to failure.
2703 ac_old_val_w
=`echo x $ac_old_val`
2704 ac_new_val_w
=`echo x $ac_new_val`
2705 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2707 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2708 ac_cache_corrupted
=:
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2711 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2712 eval $ac_var=\
$ac_old_val
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2715 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2717 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2720 # Pass precious variables to config.status.
2721 if test "$ac_new_set" = set; then
2723 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2724 *) ac_arg
=$ac_var=$ac_new_val ;;
2726 case " $ac_configure_args " in
2727 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2728 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2732 if $ac_cache_corrupted; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2736 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2737 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2739 ## -------------------- ##
2740 ## Main body of script. ##
2741 ## -------------------- ##
2744 ac_cpp
='$CPP $CPPFLAGS'
2745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2752 for ac_dir
in config
"$srcdir"/config
; do
2753 if test -f "$ac_dir/install-sh"; then
2755 ac_install_sh
="$ac_aux_dir/install-sh -c"
2757 elif test -f "$ac_dir/install.sh"; then
2759 ac_install_sh
="$ac_aux_dir/install.sh -c"
2761 elif test -f "$ac_dir/shtool"; then
2763 ac_install_sh
="$ac_aux_dir/shtool install -c"
2767 if test -z "$ac_aux_dir"; then
2768 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2771 # These three variables are undocumented and unsupported,
2772 # and are intended to be withdrawn in a future Autoconf release.
2773 # They can cause serious problems if a builder's source tree is in a directory
2774 # whose full name contains unusual characters.
2775 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2776 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2777 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2780 ac_config_headers
="$ac_config_headers lib/config.h"
2786 E2FSPROGS_VERSION
=`grep E2FSPROGS_VERSION ${srcdir}/version.h \
2787 | awk '{print $3}' | tr \" " " | awk '{print $1}'`
2788 E2FSPROGS_DATE
=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
2789 | tr \" " " | awk '{print $1}'`
2790 E2FSPROGS_DAY
=$
(echo $E2FSPROGS_DATE |
awk -F- '{print $1}' |
sed -e '/^[1-9]$/s/^/0/')
2791 MONTH
=`echo $E2FSPROGS_DATE | awk -F- '{print $2}'`
2792 YEAR
=`echo $E2FSPROGS_DATE | awk -F- '{print $3}'`
2794 if expr $YEAR ">" 1900 > /dev
/null
; then
2795 E2FSPROGS_YEAR
=$YEAR
2796 elif expr $YEAR ">" 90 >/dev
/null
; then
2797 E2FSPROGS_YEAR
=19$YEAR
2799 E2FSPROGS_YEAR
=20$YEAR
2803 Jan
) MONTH_NUM
=01; E2FSPROGS_MONTH
="January" ;;
2804 Feb
) MONTH_NUM
=02; E2FSPROGS_MONTH
="February" ;;
2805 Mar
) MONTH_NUM
=03; E2FSPROGS_MONTH
="March" ;;
2806 Apr
) MONTH_NUM
=04; E2FSPROGS_MONTH
="April" ;;
2807 May
) MONTH_NUM
=05; E2FSPROGS_MONTH
="May" ;;
2808 Jun
) MONTH_NUM
=06; E2FSPROGS_MONTH
="June" ;;
2809 Jul
) MONTH_NUM
=07; E2FSPROGS_MONTH
="July" ;;
2810 Aug
) MONTH_NUM
=08; E2FSPROGS_MONTH
="August" ;;
2811 Sep
) MONTH_NUM
=09; E2FSPROGS_MONTH
="September" ;;
2812 Oct
) MONTH_NUM
=10; E2FSPROGS_MONTH
="October" ;;
2813 Nov
) MONTH_NUM
=11; E2FSPROGS_MONTH
="November" ;;
2814 Dec
) MONTH_NUM
=12; E2FSPROGS_MONTH
="December" ;;
2815 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
2816 $as_echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
2819 base_ver
=`echo $E2FSPROGS_VERSION | \
2820 sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
2822 date_spec
=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
2824 case $E2FSPROGS_VERSION in
2826 E2FSPROGS_PKGVER
="$base_ver~WIP.$date_spec"
2829 E2FSPROGS_PKGVER
="$base_ver"
2833 unset DATE MONTH YEAR base_ver pre_vers date_spec
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
2835 $as_echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
2837 $as_echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
2846 # Check whether --with-diet-libc was given.
2847 if test "${with_diet_libc+set}" = set; then :
2848 withval=$with_diet_libc; CC="diet cc
-nostdinc"
2854 LIBS="$LIBS -lcompat"
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: CC
=$CC" >&5
2857 $as_echo "CC
=$CC" >&6; }
2859 # Make sure we can run config.sub.
2860 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2861 as_fn_error $? "cannot run
$SHELL $ac_aux_dir/config.sub
" "$LINENO" 5
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system
type" >&5
2864 $as_echo_n "checking build system
type...
" >&6; }
2865 if ${ac_cv_build+:} false; then :
2866 $as_echo_n "(cached
) " >&6
2868 ac_build_alias=$build_alias
2869 test "x
$ac_build_alias" = x &&
2870 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2871 test "x
$ac_build_alias" = x &&
2872 as_fn_error $? "cannot guess build
type; you must specify one
" "$LINENO" 5
2873 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2874 as_fn_error $? "$SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" "$LINENO" 5
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_build" >&5
2878 $as_echo "$ac_cv_build" >&6; }
2879 case $ac_cv_build in
2881 *) as_fn_error $? "invalid value of canonical build
" "$LINENO" 5;;
2884 ac_save_IFS=$IFS; IFS='-'
2890 # Remember, the first character of IFS is used to create $*,
2891 # except with old shells:
2894 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
host system
type" >&5
2898 $as_echo_n "checking
host system
type...
" >&6; }
2899 if ${ac_cv_host+:} false; then :
2900 $as_echo_n "(cached
) " >&6
2902 if test "x
$host_alias" = x; then
2903 ac_cv_host=$ac_cv_build
2905 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2906 as_fn_error $? "$SHELL $ac_aux_dir/config.sub
$host_alias failed
" "$LINENO" 5
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_host" >&5
2911 $as_echo "$ac_cv_host" >&6; }
2914 *) as_fn_error $? "invalid value of canonical
host" "$LINENO" 5;;
2917 ac_save_IFS=$IFS; IFS='-'
2923 # Remember, the first character of IFS is used to create $*,
2924 # except with old shells:
2927 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2932 ac_cpp='$CPP $CPPFLAGS'
2933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2938 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2940 $as_echo_n "checking
for $ac_word...
" >&6; }
2941 if ${ac_cv_prog_CC+:} false; then :
2942 $as_echo_n "(cached
) " >&6
2944 if test -n "$CC"; then
2945 ac_cv_prog_CC="$CC" # Let the user override the test.
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2967 $as_echo "$CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2970 $as_echo "no
" >&6; }
2975 if test -z "$ac_cv_prog_CC"; then
2977 # Extract the first word of "gcc
", so it can be a program name with args.
2978 set dummy gcc; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2980 $as_echo_n "checking
for $ac_word...
" >&6; }
2981 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2982 $as_echo_n "(cached
) " >&6
2984 if test -n "$ac_ct_CC"; then
2985 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir=.
2992 for ac_exec_ext in '' $ac_executable_extensions; do
2993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2994 ac_cv_prog_ac_ct_CC="gcc
"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3005 if test -n "$ac_ct_CC"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
3007 $as_echo "$ac_ct_CC" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3010 $as_echo "no
" >&6; }
3013 if test "x
$ac_ct_CC" = x; then
3016 case $cross_compiling:$ac_tool_warned in
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3019 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3020 ac_tool_warned=yes ;;
3028 if test -z "$CC"; then
3029 if test -n "$ac_tool_prefix"; then
3030 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3031 set dummy ${ac_tool_prefix}cc; ac_word=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3033 $as_echo_n "checking
for $ac_word...
" >&6; }
3034 if ${ac_cv_prog_CC+:} false; then :
3035 $as_echo_n "(cached
) " >&6
3037 if test -n "$CC"; then
3038 ac_cv_prog_CC="$CC" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3058 if test -n "$CC"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
3060 $as_echo "$CC" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3063 $as_echo "no
" >&6; }
3069 if test -z "$CC"; then
3070 # Extract the first word of "cc
", so it can be a program name with args.
3071 set dummy cc; ac_word=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3073 $as_echo_n "checking
for $ac_word...
" >&6; }
3074 if ${ac_cv_prog_CC+:} false; then :
3075 $as_echo_n "(cached
) " >&6
3077 if test -n "$CC"; then
3078 ac_cv_prog_CC="$CC" # Let the user override the test.
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
3087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3089 ac_prog_rejected=yes
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3100 if test $ac_prog_rejected = yes; then
3101 # We found a bogon in the path, so make sure we never use it.
3102 set dummy $ac_cv_prog_CC
3104 if test $# != 0; then
3105 # We chose a different compiler from the bogus one.
3106 # However, it has the same basename, so the bogon will be chosen
3107 # first if we set CC to just the basename; use the full file name.
3109 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
3117 $as_echo "$CC" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3120 $as_echo "no
" >&6; }
3125 if test -z "$CC"; then
3126 if test -n "$ac_tool_prefix"; then
3127 for ac_prog in cl.exe
3129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3132 $as_echo_n "checking
for $ac_word...
" >&6; }
3133 if ${ac_cv_prog_CC+:} false; then :
3134 $as_echo_n "(cached
) " >&6
3136 if test -n "$CC"; then
3137 ac_cv_prog_CC="$CC" # Let the user override the test.
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir=.
3144 for ac_exec_ext in '' $ac_executable_extensions; do
3145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3157 if test -n "$CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
3159 $as_echo "$CC" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3162 $as_echo "no
" >&6; }
3166 test -n "$CC" && break
3169 if test -z "$CC"; then
3171 for ac_prog in cl.exe
3173 # Extract the first word of "$ac_prog", so it can be a program name with args.
3174 set dummy $ac_prog; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3176 $as_echo_n "checking
for $ac_word...
" >&6; }
3177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3178 $as_echo_n "(cached
) " >&6
3180 if test -n "$ac_ct_CC"; then
3181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_ac_ct_CC="$ac_prog"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3201 if test -n "$ac_ct_CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
3203 $as_echo "$ac_ct_CC" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3206 $as_echo "no
" >&6; }
3210 test -n "$ac_ct_CC" && break
3213 if test "x
$ac_ct_CC" = x; then
3216 case $cross_compiling:$ac_tool_warned in
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3219 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3220 ac_tool_warned=yes ;;
3229 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $? "no acceptable C compiler found in \$PATH
3232 See \`config.log' for more details
" "$LINENO" 5; }
3234 # Provide some information about the compiler.
3235 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
3238 for ac_option in --version -v -V -qversion; do
3239 { { ac_try="$ac_compiler $ac_option >&5"
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3248 if test -s conftest.err; then
3250 ... rest of stderr output deleted ...
3251 10q' conftest.err >conftest.er1
3252 cat conftest.er1 >&5
3254 rm -f conftest.er1 conftest.err
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3256 test $ac_status = 0; }
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3270 ac_clean_files_save=$ac_clean_files
3271 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
3272 # Try to create an executable without -o first, disregard a.out.
3273 # It will help us diagnose broken compilers, and finding out an intuition
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
3276 $as_echo_n "checking whether the C compiler works...
" >&6; }
3277 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3279 # The possible output files:
3280 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
3283 for ac_file in $ac_files
3286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3287 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3292 if { { ac_try="$ac_link_default"
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_link_default") 2>&5
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3302 test $ac_status = 0; }; then :
3303 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3304 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3305 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3306 # so that the user can short-circuit this test for compilers unknown to
3308 for ac_file in $ac_files ''
3310 test -f "$ac_file" || continue
3312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3315 # We found the default executable, but exeext='' is most
3319 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3321 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3323 # We set ac_cv_exeext here because the later test for it is not
3324 # safe: cross compilers may not add the suffix if given an `-o'
3325 # argument, so we may need to know it at that point already.
3326 # Even if this section looks crufty: it has the advantage of
3333 test "$ac_cv_exeext" = no && ac_cv_exeext=
3338 if test -z "$ac_file"; then :
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3340 $as_echo "no
" >&6; }
3341 $as_echo "$as_me: failed program was
:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error 77 "C compiler cannot create executables
3347 See \`config.log' for more details
" "$LINENO" 5; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3350 $as_echo "yes" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
3353 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
3355 $as_echo "$ac_file" >&6; }
3356 ac_exeext=$ac_cv_exeext
3358 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3359 ac_clean_files=$ac_clean_files_save
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3361 $as_echo_n "checking
for suffix of executables...
" >&6; }
3362 if { { ac_try="$ac_link"
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_link") 2>&5
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3372 test $ac_status = 0; }; then :
3373 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3374 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3375 # work properly (i.e., refer to `conftest.exe'), while it won't with
3377 for ac_file in conftest.exe conftest conftest.*; do
3378 test -f "$ac_file" || continue
3380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3381 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3390 See \`config.log' for more details
" "$LINENO" 5; }
3392 rm -f conftest conftest$ac_cv_exeext
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3394 $as_echo "$ac_cv_exeext" >&6; }
3396 rm -f conftest.$ac_ext
3397 EXEEXT=$ac_cv_exeext
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3405 FILE *f = fopen ("conftest.out
", "w
");
3406 return ferror (f) || fclose (f) != 0;
3412 ac_clean_files="$ac_clean_files conftest.out
"
3413 # Check that the compiler produces executables we can run. If not, either
3414 # the compiler is broken, or we cross compile.
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3416 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3417 if test "$cross_compiling" != yes; then
3418 { { ac_try="$ac_link"
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_link") 2>&5
3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3428 test $ac_status = 0; }
3429 if { ac_try='./conftest$ac_cv_exeext'
3430 { { case "(($ac_try" in
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_try") 2>&5
3438 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3439 test $ac_status = 0; }; }; then
3442 if test "$cross_compiling" = maybe; then
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "cannot run C compiled programs.
3448 If you meant to cross compile, use \`--host'.
3449 See \
`config.log' for more details" "$LINENO" 5; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3454 $as_echo "$cross_compiling" >&6; }
3456 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3457 ac_clean_files=$ac_clean_files_save
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3459 $as_echo_n "checking for suffix of object files... " >&6; }
3460 if ${ac_cv_objext+:} false; then :
3461 $as_echo_n "(cached) " >&6
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3474 rm -f conftest.o conftest.obj
3475 if { { ac_try="$ac_compile"
3477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3478 *) ac_try_echo
=$ac_try;;
3480 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_compile") 2>&5
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 for ac_file
in conftest.o conftest.obj conftest.
*; do
3487 test -f "$ac_file" ||
continue;
3489 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
3490 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.
$ac_ext >&5
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3501 See \`config.log' for more details" "$LINENO" 5; }
3503 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3506 $as_echo "$ac_cv_objext" >&6; }
3507 OBJEXT
=$ac_cv_objext
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3510 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3511 if ${ac_cv_c_compiler_gnu+:} false
; then :
3512 $as_echo_n "(cached) " >&6
3514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3528 if ac_fn_c_try_compile
"$LINENO"; then :
3533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3534 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3538 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3539 if test $ac_compiler_gnu = yes; then
3544 ac_test_CFLAGS
=${CFLAGS+set}
3545 ac_save_CFLAGS
=$CFLAGS
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3547 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3548 if ${ac_cv_prog_cc_g+:} false
; then :
3549 $as_echo_n "(cached) " >&6
3551 ac_save_c_werror_flag
=$ac_c_werror_flag
3552 ac_c_werror_flag
=yes
3555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3566 if ac_fn_c_try_compile
"$LINENO"; then :
3570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 if ac_fn_c_try_compile
"$LINENO"; then :
3584 ac_c_werror_flag
=$ac_save_c_werror_flag
3586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 if ac_fn_c_try_compile
"$LINENO"; then :
3600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3605 ac_c_werror_flag
=$ac_save_c_werror_flag
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3608 $as_echo "$ac_cv_prog_cc_g" >&6; }
3609 if test "$ac_test_CFLAGS" = set; then
3610 CFLAGS
=$ac_save_CFLAGS
3611 elif test $ac_cv_prog_cc_g = yes; then
3612 if test "$GCC" = yes; then
3618 if test "$GCC" = yes; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3625 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3626 if ${ac_cv_prog_cc_c89+:} false
; then :
3627 $as_echo_n "(cached) " >&6
3629 ac_cv_prog_cc_c89
=no
3631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3637 struct buf { int x; };
3638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3639 static char *e (p, i)
3645 static char *f (char * (*g) (char **, int), char **p, ...)
3650 s = g (p, va_arg (v,int));
3655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3656 function prototypes and stuff, but not '\xHH' hex character constants.
3657 These don't provoke an error unfortunately, instead are silently treated
3658 as 'x'. The following induces an error, until -std is added to get
3659 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3660 array size at least. It's necessary to write '\x00'==0 to get something
3661 that's true only with -std. */
3662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3664 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3665 inside strings and character constants. */
3667 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3669 int test (int i, double x);
3670 struct s1 {int (*f) (int a);};
3671 struct s2 {int (*f) (double a);};
3672 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3678 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3683 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3684 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3686 CC
="$ac_save_CC $ac_arg"
3687 if ac_fn_c_try_compile
"$LINENO"; then :
3688 ac_cv_prog_cc_c89
=$ac_arg
3690 rm -f core conftest.err conftest.
$ac_objext
3691 test "x$ac_cv_prog_cc_c89" != "xno" && break
3693 rm -f conftest.
$ac_ext
3698 case "x$ac_cv_prog_cc_c89" in
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3701 $as_echo "none needed" >&6; } ;;
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3704 $as_echo "unsupported" >&6; } ;;
3706 CC
="$CC $ac_cv_prog_cc_c89"
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3708 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3710 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3715 ac_cpp
='$CPP $CPPFLAGS'
3716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
3722 $as_echo_n "checking for dlopen in -ldl... " >&6; }
3723 if ${ac_cv_lib_dl_dlopen+:} false
; then :
3724 $as_echo_n "(cached) " >&6
3726 ac_check_lib_save_LIBS
=$LIBS
3728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3731 /* Override any GCC internal prototype to avoid an error.
3732 Use char because int might match the return type of a GCC
3733 builtin and then its argument prototype would still apply. */
3746 if ac_fn_c_try_link
"$LINENO"; then :
3747 ac_cv_lib_dl_dlopen
=yes
3749 ac_cv_lib_dl_dlopen
=no
3751 rm -f core conftest.err conftest.
$ac_objext \
3752 conftest
$ac_exeext conftest.
$ac_ext
3753 LIBS
=$ac_check_lib_save_LIBS
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
3756 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
3757 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
3763 # Check whether --with-cc was given.
3764 if test "${with_cc+set}" = set; then :
3765 withval
=$with_cc; as_fn_error $?
"--with-cc no longer supported; use CC= instead" "$LINENO" 5
3769 # Check whether --with-ccopts was given.
3770 if test "${with_ccopts+set}" = set; then :
3771 withval
=$with_ccopts; as_fn_error $?
"--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
3775 # Check whether --with-ldopts was given.
3776 if test "${with_ldopts+set}" = set; then :
3777 withval
=$with_ldopts; as_fn_error $?
"--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
3781 ac_cpp
='$CPP $CPPFLAGS'
3782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3785 if test -n "$ac_tool_prefix"; then
3786 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3787 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if ${ac_cv_prog_CC+:} false
; then :
3791 $as_echo_n "(cached) " >&6
3793 if test -n "$CC"; then
3794 ac_cv_prog_CC
="$CC" # Let the user override the test.
3796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3800 test -z "$as_dir" && as_dir
=.
3801 for ac_exec_ext
in '' $ac_executable_extensions; do
3802 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3803 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 if test -n "$CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3816 $as_echo "$CC" >&6; }
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3824 if test -z "$ac_cv_prog_CC"; then
3826 # Extract the first word of "gcc", so it can be a program name with args.
3827 set dummy gcc
; ac_word
=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3831 $as_echo_n "(cached) " >&6
3833 if test -n "$ac_ct_CC"; then
3834 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3840 test -z "$as_dir" && as_dir
=.
3841 for ac_exec_ext
in '' $ac_executable_extensions; do
3842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3843 ac_cv_prog_ac_ct_CC
="gcc"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3854 if test -n "$ac_ct_CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3856 $as_echo "$ac_ct_CC" >&6; }
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3862 if test "x$ac_ct_CC" = x
; then
3865 case $cross_compiling:$ac_tool_warned in
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3869 ac_tool_warned
=yes ;;
3877 if test -z "$CC"; then
3878 if test -n "$ac_tool_prefix"; then
3879 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3880 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 $as_echo_n "checking for $ac_word... " >&6; }
3883 if ${ac_cv_prog_CC+:} false
; then :
3884 $as_echo_n "(cached) " >&6
3886 if test -n "$CC"; then
3887 ac_cv_prog_CC
="$CC" # Let the user override the test.
3889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3893 test -z "$as_dir" && as_dir
=.
3894 for ac_exec_ext
in '' $ac_executable_extensions; do
3895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3896 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 if test -n "$CC"; then
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3909 $as_echo "$CC" >&6; }
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3918 if test -z "$CC"; then
3919 # Extract the first word of "cc", so it can be a program name with args.
3920 set dummy cc
; ac_word
=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false
; then :
3924 $as_echo_n "(cached) " >&6
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC
="$CC" # Let the user override the test.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3937 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3938 ac_prog_rejected
=yes
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 if test $ac_prog_rejected = yes; then
3950 # We found a bogon in the path, so make sure we never use it.
3951 set dummy
$ac_cv_prog_CC
3953 if test $# != 0; then
3954 # We chose a different compiler from the bogus one.
3955 # However, it has the same basename, so the bogon will be chosen
3956 # first if we set CC to just the basename; use the full file name.
3958 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3964 if test -n "$CC"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3966 $as_echo "$CC" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3974 if test -z "$CC"; then
3975 if test -n "$ac_tool_prefix"; then
3976 for ac_prog
in cl.exe
3978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3979 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if ${ac_cv_prog_CC+:} false
; then :
3983 $as_echo_n "(cached) " >&6
3985 if test -n "$CC"; then
3986 ac_cv_prog_CC
="$CC" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3995 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 if test -n "$CC"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4008 $as_echo "$CC" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4015 test -n "$CC" && break
4018 if test -z "$CC"; then
4020 for ac_prog
in cl.exe
4022 # Extract the first word of "$ac_prog", so it can be a program name with args.
4023 set dummy
$ac_prog; ac_word
=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$ac_ct_CC"; then
4030 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir
=.
4037 for ac_exec_ext
in '' $ac_executable_extensions; do
4038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4039 ac_cv_prog_ac_ct_CC
="$ac_prog"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4050 if test -n "$ac_ct_CC"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4052 $as_echo "$ac_ct_CC" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4059 test -n "$ac_ct_CC" && break
4062 if test "x$ac_ct_CC" = x
; then
4065 case $cross_compiling:$ac_tool_warned in
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4069 ac_tool_warned
=yes ;;
4078 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error $?
"no acceptable C compiler found in \$PATH
4081 See \`config.log' for more details" "$LINENO" 5; }
4083 # Provide some information about the compiler.
4084 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4087 for ac_option
in --version -v -V -qversion; do
4088 { { ac_try
="$ac_compiler $ac_option >&5"
4090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4097 if test -s conftest.err; then
4099 ... rest of stderr output deleted ...
4100 10q' conftest.err >conftest.er1
4101 cat conftest.er1 >&5
4103 rm -f conftest.er1 conftest.err
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4109 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4110 if ${ac_cv_c_compiler_gnu+:} false; then :
4111 $as_echo_n "(cached) " >&6
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4127 if ac_fn_c_try_compile "$LINENO"; then :
4132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4137 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4138 if test $ac_compiler_gnu = yes; then
4143 ac_test_CFLAGS=${CFLAGS+set}
4144 ac_save_CFLAGS=$CFLAGS
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4146 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4147 if ${ac_cv_prog_cc_g+:} false; then :
4148 $as_echo_n "(cached) " >&6
4150 ac_save_c_werror_flag=$ac_c_werror_flag
4151 ac_c_werror_flag=yes
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4165 if ac_fn_c_try_compile "$LINENO"; then :
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4180 if ac_fn_c_try_compile "$LINENO"; then :
4183 ac_c_werror_flag=$ac_save_c_werror_flag
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4196 if ac_fn_c_try_compile "$LINENO"; then :
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204 ac_c_werror_flag=$ac_save_c_werror_flag
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4207 $as_echo "$ac_cv_prog_cc_g" >&6; }
4208 if test "$ac_test_CFLAGS" = set; then
4209 CFLAGS=$ac_save_CFLAGS
4210 elif test $ac_cv_prog_cc_g = yes; then
4211 if test "$GCC" = yes; then
4217 if test "$GCC" = yes; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4224 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4225 if ${ac_cv_prog_cc_c89+:} false; then :
4226 $as_echo_n "(cached) " >&6
4228 ac_cv_prog_cc_c89=no
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4235 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4236 struct buf { int x; };
4237 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4238 static char *e (p, i)
4244 static char *f (char * (*g) (char **, int), char **p, ...)
4249 s = g (p, va_arg (v,int));
4254 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4255 function prototypes and stuff, but not '\xHH' hex character constants.
4256 These don't provoke an error unfortunately, instead are silently treated
4257 as 'x'. The following induces an error, until -std is added to get
4258 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4259 array size at least. It's necessary to write '\x00'==0 to get something
4260 that's true only with -std. */
4261 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4263 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4264 inside strings and character constants. */
4266 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4268 int test (int i, double x);
4269 struct s1 {int (*f) (int a);};
4270 struct s2 {int (*f) (double a);};
4271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4277 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4282 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4283 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4285 CC="$ac_save_CC $ac_arg"
4286 if ac_fn_c_try_compile "$LINENO"; then :
4287 ac_cv_prog_cc_c89=$ac_arg
4289 rm -f core conftest.err conftest.$ac_objext
4290 test "x$ac_cv_prog_cc_c89" != "xno" && break
4292 rm -f conftest.$ac_ext
4297 case "x$ac_cv_prog_cc_c89" in
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4300 $as_echo "none needed" >&6; } ;;
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4303 $as_echo "unsupported" >&6; } ;;
4305 CC="$CC $ac_cv_prog_cc_c89"
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4307 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4309 if test "x$ac_cv_prog_cc_c89" != xno; then :
4314 ac_cpp='$CPP $CPPFLAGS'
4315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4319 if test "$GCC" = yes; then
4320 RDYNAMIC="-rdynamic"
4324 ac_cpp='$CPP $CPPFLAGS'
4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4329 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4330 # On Suns, sometimes $CPP names a directory.
4331 if test -n "$CPP" && test -d "$CPP"; then
4334 if test -z "$CPP"; then
4335 if ${ac_cv_prog_CPP+:} false; then :
4336 $as_echo_n "(cached) " >&6
4338 # Double quotes because CPP needs to be expanded
4339 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4342 for ac_c_preproc_warn_flag in '' yes
4344 # Use a header file that comes with gcc, so configuring glibc
4345 # with a fresh cross-compiler works.
4346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4347 # <limits.h> exists even on freestanding compilers.
4348 # On the NeXT, cc -E runs the code through the compiler's parser,
4349 # not just through cpp. "Syntax error" is here to catch this case.
4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4353 # include <limits.h>
4355 # include <assert.h>
4359 if ac_fn_c_try_cpp "$LINENO"; then :
4362 # Broken: fails on valid input.
4365 rm -f conftest.err conftest.i conftest.$ac_ext
4367 # OK, works on sane cases. Now check whether nonexistent headers
4368 # can be detected and how.
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4371 #include <ac_nonexistent.h>
4373 if ac_fn_c_try_cpp "$LINENO"; then :
4374 # Broken: success on invalid input.
4377 # Passes both tests.
4381 rm -f conftest.err conftest.i conftest.$ac_ext
4384 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4385 rm -f conftest.i conftest.err conftest.
$ac_ext
4386 if $ac_preproc_ok; then :
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4399 $as_echo "$CPP" >&6; }
4401 for ac_c_preproc_warn_flag
in '' yes
4403 # Use a header file that comes with gcc, so configuring glibc
4404 # with a fresh cross-compiler works.
4405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4406 # <limits.h> exists even on freestanding compilers.
4407 # On the NeXT, cc -E runs the code through the compiler's parser,
4408 # not just through cpp. "Syntax error" is here to catch this case.
4409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4412 # include <limits.h>
4414 # include <assert.h>
4418 if ac_fn_c_try_cpp
"$LINENO"; then :
4421 # Broken: fails on valid input.
4424 rm -f conftest.err conftest.i conftest.
$ac_ext
4426 # OK, works on sane cases. Now check whether nonexistent headers
4427 # can be detected and how.
4428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4430 #include <ac_nonexistent.h>
4432 if ac_fn_c_try_cpp
"$LINENO"; then :
4433 # Broken: success on invalid input.
4436 # Passes both tests.
4440 rm -f conftest.err conftest.i conftest.
$ac_ext
4443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4444 rm -f conftest.i conftest.err conftest.
$ac_ext
4445 if $ac_preproc_ok; then :
4448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4450 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4451 See \`config.log' for more details" "$LINENO" 5; }
4455 ac_cpp
='$CPP $CPPFLAGS'
4456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
4461 $as_echo_n "checking for additional special compiler flags... " >&6; }
4462 if test "$GCC" = yes
4465 alpha
) addcflags
="-mieee" ;;
4468 if test "x$addcflags" != x
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
4471 $as_echo "$addcflags" >&6; }
4472 CFLAGS
="$addcflags $CFLAGS"
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
4475 $as_echo "(none)" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4479 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4480 if ${ac_cv_path_GREP+:} false
; then :
4481 $as_echo_n "(cached) " >&6
4483 if test -z "$GREP"; then
4484 ac_path_GREP_found
=false
4485 # Loop through the user's path and test for each of PROGNAME-LIST
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4487 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_prog
in grep ggrep
; do
4492 for ac_exec_ext
in '' $ac_executable_extensions; do
4493 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4494 as_fn_executable_p
"$ac_path_GREP" ||
continue
4495 # Check for GNU ac_path_GREP and select it if it is found.
4496 # Check for GNU $ac_path_GREP
4497 case `"$ac_path_GREP" --version 2>&1` in
4499 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4502 $as_echo_n 0123456789 >"conftest.in"
4505 cat "conftest.in" "conftest.in" >"conftest.tmp"
4506 mv "conftest.tmp" "conftest.in"
4507 cp "conftest.in" "conftest.nl"
4508 $as_echo 'GREP' >> "conftest.nl"
4509 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4510 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4511 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4512 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4513 # Best one so far, save it but keep looking for a better one
4514 ac_cv_path_GREP
="$ac_path_GREP"
4515 ac_path_GREP_max
=$ac_count
4517 # 10*(2^10) chars as input seems more than enough
4518 test $ac_count -gt 10 && break
4520 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4523 $ac_path_GREP_found && break 3
4528 if test -z "$ac_cv_path_GREP"; then
4529 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4532 ac_cv_path_GREP
=$GREP
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4537 $as_echo "$ac_cv_path_GREP" >&6; }
4538 GREP
="$ac_cv_path_GREP"
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4542 $as_echo_n "checking for egrep... " >&6; }
4543 if ${ac_cv_path_EGREP+:} false
; then :
4544 $as_echo_n "(cached) " >&6
4546 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4547 then ac_cv_path_EGREP
="$GREP -E"
4549 if test -z "$EGREP"; then
4550 ac_path_EGREP_found
=false
4551 # Loop through the user's path and test for each of PROGNAME-LIST
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4553 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_prog
in egrep; do
4558 for ac_exec_ext
in '' $ac_executable_extensions; do
4559 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4560 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4561 # Check for GNU ac_path_EGREP and select it if it is found.
4562 # Check for GNU $ac_path_EGREP
4563 case `"$ac_path_EGREP" --version 2>&1` in
4565 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4568 $as_echo_n 0123456789 >"conftest.in"
4571 cat "conftest.in" "conftest.in" >"conftest.tmp"
4572 mv "conftest.tmp" "conftest.in"
4573 cp "conftest.in" "conftest.nl"
4574 $as_echo 'EGREP' >> "conftest.nl"
4575 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4576 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4577 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4578 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4579 # Best one so far, save it but keep looking for a better one
4580 ac_cv_path_EGREP
="$ac_path_EGREP"
4581 ac_path_EGREP_max
=$ac_count
4583 # 10*(2^10) chars as input seems more than enough
4584 test $ac_count -gt 10 && break
4586 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4589 $ac_path_EGREP_found && break 3
4594 if test -z "$ac_cv_path_EGREP"; then
4595 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4598 ac_cv_path_EGREP
=$EGREP
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4604 $as_echo "$ac_cv_path_EGREP" >&6; }
4605 EGREP
="$ac_cv_path_EGREP"
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4609 $as_echo_n "checking for ANSI C header files... " >&6; }
4610 if ${ac_cv_header_stdc+:} false
; then :
4611 $as_echo_n "(cached) " >&6
4613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4628 if ac_fn_c_try_compile
"$LINENO"; then :
4629 ac_cv_header_stdc
=yes
4631 ac_cv_header_stdc
=no
4633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4635 if test $ac_cv_header_stdc = yes; then
4636 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4643 $EGREP "memchr" >/dev
/null
2>&1; then :
4646 ac_cv_header_stdc
=no
4652 if test $ac_cv_header_stdc = yes; then
4653 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4660 $EGREP "free" >/dev
/null
2>&1; then :
4663 ac_cv_header_stdc
=no
4669 if test $ac_cv_header_stdc = yes; then
4670 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4671 if test "$cross_compiling" = yes; then :
4674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4678 #if ((' ' & 0x0FF) == 0x020)
4679 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4680 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4682 # define ISLOWER(c) \
4683 (('a' <= (c) && (c) <= 'i') \
4684 || ('j' <= (c) && (c) <= 'r') \
4685 || ('s' <= (c) && (c) <= 'z'))
4686 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4689 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4694 for (i = 0; i < 256; i++)
4695 if (XOR (islower (i), ISLOWER (i))
4696 || toupper (i) != TOUPPER (i))
4701 if ac_fn_c_try_run
"$LINENO"; then :
4704 ac_cv_header_stdc
=no
4706 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4707 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4713 $as_echo "$ac_cv_header_stdc" >&6; }
4714 if test $ac_cv_header_stdc = yes; then
4716 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4720 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4721 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4722 inttypes.h stdint.h unistd.h
4724 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4725 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4727 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4728 cat >>confdefs.h
<<_ACEOF
4729 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4738 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4739 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4746 if test "$MINIX" = yes; then
4748 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4751 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4754 $as_echo "#define _MINIX 1" >>confdefs.h
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4760 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4761 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4762 $as_echo_n "(cached) " >&6
4764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4767 # define __EXTENSIONS__ 1
4768 $ac_includes_default
4777 if ac_fn_c_try_compile
"$LINENO"; then :
4778 ac_cv_safe_to_define___extensions__
=yes
4780 ac_cv_safe_to_define___extensions__
=no
4782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4785 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4786 test $ac_cv_safe_to_define___extensions__ = yes &&
4787 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4789 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4791 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4793 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4795 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4802 # Check whether --with-root-prefix was given.
4803 if test "${with_root_prefix+set}" = set; then :
4804 withval
=$with_root_prefix; root_prefix
=$withval
4808 # Check whether --enable-maintainer-mode was given.
4809 if test "${enable_maintainer_mode+set}" = set; then :
4810 enableval
=$enable_maintainer_mode; if test "$enableval" = "no"
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode" >&5
4814 $as_echo "Disabling maintainer mode" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling maintainer mode" >&5
4818 $as_echo "Enabling maintainer mode" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode by default" >&5
4824 $as_echo "Disabling maintainer mode by default" >&6; }
4829 # Check whether --enable-symlink-install was given.
4830 if test "${enable_symlink_install+set}" = set; then :
4831 enableval
=$enable_symlink_install; if test "$enableval" = "no"
4833 LINK_INSTALL_FLAGS
=-f
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
4835 $as_echo "Disabling symlinks for install" >&6; }
4837 LINK_INSTALL_FLAGS
=-sf
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for install" >&5
4839 $as_echo "Enabling symlinks for install" >&6; }
4843 LINK_INSTALL_FLAGS
=-f
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install by default" >&5
4845 $as_echo "Disabling symlinks for install by default" >&6; }
4850 relative_symlink_defined
=
4851 # Check whether --enable-relative-symlinks was given.
4852 if test "${enable_relative_symlinks+set}" = set; then :
4853 enableval
=$enable_relative_symlinks; if test "$enableval" = "no"
4856 relative_symlink_defined
=yes
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
4858 $as_echo "Disabling relative symlinks for install" >&6; }
4860 SYMLINK_RELATIVE
=--relative
4861 relative_symlink_defined
=yes
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
4863 $as_echo "Enabling relative symlinks for install" >&6; }
4867 # Check whether --enable-symlink-relative-symlinks was given.
4868 if test "${enable_symlink_relative_symlinks+set}" = set; then :
4869 enableval
=$enable_symlink_relative_symlinks; if test "$enableval" = "no"
4871 SYMLINK_RELATIVE
=yes
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
4873 $as_echo "Disabling relative symlinks for install" >&6; }
4875 SYMLINK_RELATIVE
=--relative
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
4877 $as_echo "Enabling relative symlinks for install" >&6; }
4881 if test -z "$relative_symlink_defined"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install by default" >&5
4885 $as_echo "Disabling relative symlinks for install by default" >&6; }
4891 # Check whether --enable-symlink-build was given.
4892 if test "${enable_symlink_build+set}" = set; then :
4893 enableval
=$enable_symlink_build; if test "$enableval" = "no"
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
4897 $as_echo "Disabling symlinks for build" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for build" >&5
4901 $as_echo "Enabling symlinks for build" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build by default" >&5
4907 $as_echo "Disabling symlinks for build by default" >&6; }
4912 # Check whether --enable-verbose-makecmds was given.
4913 if test "${enable_verbose_makecmds+set}" = set; then :
4914 enableval
=$enable_verbose_makecmds; if test "$enableval" = "no"
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
4917 $as_echo "Disabling verbose make commands" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling verbose make commands" >&5
4923 $as_echo "Enabling verbose make commands" >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
4931 $as_echo "Disabling verbose make commands" >&6; }
4941 E2_PKG_CONFIG_STATIC
=--static
4944 # Check whether --enable-elf-shlibs was given.
4945 if test "${enable_elf_shlibs+set}" = set; then :
4946 enableval
=$enable_elf_shlibs; if test "$enableval" = "no"
4949 MAKEFILE_ELF
=/dev
/null
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries" >&5
4951 $as_echo "Disabling ELF shared libraries" >&6; }
4953 E2_PKG_CONFIG_STATIC
=
4955 MAKEFILE_ELF
=$srcdir/lib
/Makefile.elf-lib
4958 MAKEFILE_ELF
=$srcdir/lib
/Makefile.solaris-lib
4964 LDFLAG_DYNAMIC
='-Wl,-rpath-link,$(top_builddir)/lib'
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ELF shared libraries" >&5
4966 $as_echo "Enabling ELF shared libraries" >&6; }
4970 MAKEFILE_ELF
=/dev
/null
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries by default" >&5
4973 $as_echo "Disabling ELF shared libraries by default" >&6; }
4979 # Check whether --enable-bsd-shlibs was given.
4980 if test "${enable_bsd_shlibs+set}" = set; then :
4981 enableval
=$enable_bsd_shlibs; if test "$enableval" = "no"
4984 MAKEFILE_BSDLIB
=/dev
/null
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries" >&5
4986 $as_echo "Disabling BSD shared libraries" >&6; }
4988 E2_PKG_CONFIG_STATIC
=
4990 MAKEFILE_BSDLIB
=$srcdir/lib
/Makefile.bsd-lib
4994 MAKEFILE_BSDLIB
=$srcdir/lib
/Makefile.darwin-lib
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling BSD shared libraries" >&5
4999 $as_echo "Enabling BSD shared libraries" >&6; }
5003 MAKEFILE_BSDLIB
=/dev
/null
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries by default" >&5
5006 $as_echo "Disabling BSD shared libraries by default" >&6; }
5012 # Check whether --enable-profile was given.
5013 if test "${enable_profile+set}" = set; then :
5014 enableval
=$enable_profile; if test "$enableval" = "no"
5017 MAKEFILE_PROFILE
=/dev
/null
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries" >&5
5019 $as_echo "Disabling profiling libraries" >&6; }
5022 MAKEFILE_PROFILE
=$srcdir/lib
/Makefile.profile
5023 PROFILED_LIB_EXT
=_p.a
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building profiling libraries" >&5
5025 $as_echo "Building profiling libraries" >&6; }
5030 MAKEFILE_PROFILE
=/dev
/null
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries by default" >&5
5032 $as_echo "Disabling profiling libraries by default" >&6; }
5038 # Check whether --enable-gcov was given.
5039 if test "${enable_gcov+set}" = set; then :
5040 enableval
=$enable_gcov; if test "$enableval" = "yes"
5042 CFLAGS
="-g -fprofile-arcs -ftest-coverage"
5043 LDFLAGS
="-fprofile-arcs -ftest-coverage"
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling gcov support" >&5
5045 $as_echo "Enabling gcov support" >&6; }
5050 CFLAGS_SHLIB
="${CFLAGS_SHLIB:-$CFLAGS}"
5051 CFLAGS_STLIB
="${CFLAGS_STLIB:-$CFLAGS}"
5052 LDFLAGS_SHLIB
=${LDFLAGS_SHLIB:-$LDFLAGS}
5053 LDFLAGS_STATIC
=${LDFLAGS_STATIC:-$LDFLAGS}
5054 # Check whether --enable-hardening was given.
5055 if test "${enable_hardening+set}" = set; then :
5056 enableval
=$enable_hardening; if test "$enableval" = "yes"
5058 HARDEN_CFLAGS
="-D_FORTIFY_SOURCE=2 -fstack-protector-strong"
5059 HARDEN_LDFLAGS
="-Wl,-z,relro -Wl,-z,now"
5060 CFLAGS
="$CFLAGS $HARDEN_CFLAGS -fPIE"
5061 CFLAGS_SHLIB
="$CFLAGS_SHLIB $HARDEN_CFLAGS"
5062 CFLAGS_STLIB
="$CFLAGS_STLIB $HARDEN_CFLAGS -fPIE"
5063 LDFLAGS
="$LDFLAGS $HARDEN_LDFLAGS -fPIE -pie"
5064 LDFLAGS_STATIC
="$LDFLAGS_STATIC $HARDEN_LDFLAGS"
5065 LDFLAGS_SHLIB
="$LDFLAGS_SHLIB $HARDEN_LDFLAGS"
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling hardening support" >&5
5067 $as_echo "Enabling hardening support" >&6; }
5077 # Check whether --enable-jbd-debug was given.
5078 if test "${enable_jbd_debug+set}" = set; then :
5079 enableval
=$enable_jbd_debug; if test "$enableval" = "no"
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging" >&5
5082 $as_echo "Disabling journal debugging" >&6; }
5085 $as_echo "#define CONFIG_JBD_DEBUG 1" >>confdefs.h
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling journal debugging" >&5
5088 $as_echo "Enabling journal debugging" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging by default" >&5
5093 $as_echo "Disabling journal debugging by default" >&6; }
5097 # Check whether --enable-blkid-debug was given.
5098 if test "${enable_blkid_debug+set}" = set; then :
5099 enableval
=$enable_blkid_debug; if test "$enableval" = "no"
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging" >&5
5102 $as_echo "Disabling blkid debugging" >&6; }
5105 $as_echo "#define CONFIG_BLKID_DEBUG 1" >>confdefs.h
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling blkid debugging" >&5
5108 $as_echo "Enabling blkid debugging" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging by default" >&5
5113 $as_echo "Disabling blkid debugging by default" >&6; }
5117 # Check whether --enable-testio-debug was given.
5118 if test "${enable_testio_debug+set}" = set; then :
5119 enableval
=$enable_testio_debug;
5120 if test "$enableval" = "no"
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling testio debugging" >&5
5123 $as_echo "Disabling testio debugging" >&6; }
5127 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging" >&5
5130 $as_echo "Enabling testio debugging" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging by default" >&5
5135 $as_echo "Enabling testio debugging by default" >&6; }
5136 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
5143 # Check whether --enable-developer-features was given.
5144 if test "${enable_developer_features+set}" = set; then :
5145 enableval
=$enable_developer_features;
5146 if test "$enableval" = "yes"
5149 $as_echo "#define CONFIG_DEVELOPER_FEATURES 1" >>confdefs.h
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ext4 developer features" >&5
5152 $as_echo "Enabling ext4 developer features" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ext4 developer features" >&5
5155 $as_echo "Disabling ext4 developer features" >&6; }
5156 DEV_FEATURES_CMT
="#"
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ext4 developer features by default" >&5
5161 $as_echo "Disabling ext4 developer features by default" >&6; }
5174 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5175 if test -n "$ac_tool_prefix"; then
5176 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5177 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5181 $as_echo_n "(cached) " >&6
5185 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5207 if test -n "$PKG_CONFIG"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5209 $as_echo "$PKG_CONFIG" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5217 if test -z "$ac_cv_path_PKG_CONFIG"; then
5218 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5219 # Extract the first word of "pkg-config", so it can be a program name with args.
5220 set dummy pkg-config
; ac_word
=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5224 $as_echo_n "(cached) " >&6
5226 case $ac_pt_PKG_CONFIG in
5228 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5250 if test -n "$ac_pt_PKG_CONFIG"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5252 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5258 if test "x$ac_pt_PKG_CONFIG" = x
; then
5261 case $cross_compiling:$ac_tool_warned in
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5265 ac_tool_warned
=yes ;;
5267 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5270 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5274 if test -n "$PKG_CONFIG"; then
5275 _pkg_min_version
=0.9.0
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5277 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5278 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5280 $as_echo "yes" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5292 DEPPROFILED_LIBUUID
=
5294 # Check whether --enable-libuuid was given.
5295 if test "${enable_libuuid+set}" = set; then :
5296 enableval
=$enable_libuuid; if test "$enableval" = "no"
5298 if test -z "$PKG_CONFIG"; then
5299 as_fn_error $?
"pkg-config not installed; please install it." "$LINENO" 5
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
5303 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
5304 if ${ac_cv_lib_uuid_uuid_generate+:} false
; then :
5305 $as_echo_n "(cached) " >&6
5307 ac_check_lib_save_LIBS
=$LIBS
5309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5312 /* Override any GCC internal prototype to avoid an error.
5313 Use char because int might match the return type of a GCC
5314 builtin and then its argument prototype would still apply. */
5318 char uuid_generate ();
5322 return uuid_generate ();
5327 if ac_fn_c_try_link
"$LINENO"; then :
5328 ac_cv_lib_uuid_uuid_generate
=yes
5330 ac_cv_lib_uuid_uuid_generate
=no
5332 rm -f core conftest.err conftest.
$ac_objext \
5333 conftest
$ac_exeext conftest.
$ac_ext
5334 LIBS
=$ac_check_lib_save_LIBS
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
5337 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
5338 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes
; then :
5339 LIBUUID
=`$PKG_CONFIG --libs uuid`;
5340 STATIC_LIBUUID
=`$PKG_CONFIG --static --libs uuid`
5342 as_fn_error $?
"external uuid library not found" "$LINENO" 5
5345 PROFILED_LIBUUID
=$LIBUUID
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private uuid library" >&5
5348 $as_echo "Disabling private uuid library" >&6; }
5350 LIBUUID
='$(LIB)/libuuid'$LIB_EXT
5352 STATIC_LIBUUID
='$(LIB)/libuuid'$STATIC_LIB_EXT
5353 DEPSTATIC_LIBUUID
=$STATIC_LIBUUID
5354 PROFILED_LIBUUID
='$(LIB)/libuuid'$PROFILED_LIB_EXT
5355 DEPPROFILED_LIBUUID
=$PROFILED_LIBUUID
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library" >&5
5357 $as_echo "Enabling private uuid library" >&6; }
5361 if test -n "$PKG_CONFIG"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
5363 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
5364 if ${ac_cv_lib_uuid_uuid_generate+:} false
; then :
5365 $as_echo_n "(cached) " >&6
5367 ac_check_lib_save_LIBS
=$LIBS
5369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5372 /* Override any GCC internal prototype to avoid an error.
5373 Use char because int might match the return type of a GCC
5374 builtin and then its argument prototype would still apply. */
5378 char uuid_generate ();
5382 return uuid_generate ();
5387 if ac_fn_c_try_link
"$LINENO"; then :
5388 ac_cv_lib_uuid_uuid_generate
=yes
5390 ac_cv_lib_uuid_uuid_generate
=no
5392 rm -f core conftest.err conftest.
$ac_objext \
5393 conftest
$ac_exeext conftest.
$ac_ext
5394 LIBS
=$ac_check_lib_save_LIBS
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
5397 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
5398 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes
; then :
5399 LIBUUID
=`$PKG_CONFIG --libs uuid`;
5400 STATIC_LIBUUID
=`$PKG_CONFIG --static --libs uuid`
5404 if test -n "$LIBUUID"; then
5405 PROFILED_LIBUUID
=$LIBUUID
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using system uuid by default" >&5
5408 $as_echo "Using system uuid by default" >&6; }
5410 LIBUUID
='$(LIB)/libuuid'$LIB_EXT
5412 STATIC_LIBUUID
='$(LIB)/libuuid'$STATIC_LIB_EXT
5413 DEPSTATIC_LIBUUID
=$STATIC_LIBUUID
5414 PROFILED_LIBUUID
='$(LIB)/libuuid'$PROFILED_LIB_EXT
5415 DEPPROFILED_LIBUUID
=$PROFILED_LIBUUID
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library by default" >&5
5417 $as_echo "Enabling private uuid library by default" >&6; }
5436 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5437 if test -n "$ac_tool_prefix"; then
5438 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5439 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5443 $as_echo_n "(cached) " >&6
5447 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir
=.
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5469 if test -n "$PKG_CONFIG"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5471 $as_echo "$PKG_CONFIG" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5479 if test -z "$ac_cv_path_PKG_CONFIG"; then
5480 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5481 # Extract the first word of "pkg-config", so it can be a program name with args.
5482 set dummy pkg-config
; ac_word
=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5486 $as_echo_n "(cached) " >&6
5488 case $ac_pt_PKG_CONFIG in
5490 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir
=.
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5512 if test -n "$ac_pt_PKG_CONFIG"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5514 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5520 if test "x$ac_pt_PKG_CONFIG" = x
; then
5523 case $cross_compiling:$ac_tool_warned in
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5527 ac_tool_warned
=yes ;;
5529 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5532 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5536 if test -n "$PKG_CONFIG"; then
5537 _pkg_min_version
=0.9.0
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5539 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5540 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5542 $as_echo "yes" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5554 DEPPROFILED_LIBBLKID
=
5557 # Check whether --enable-libblkid was given.
5558 if test "${enable_libblkid+set}" = set; then :
5559 enableval
=$enable_libblkid; if test "$enableval" = "no"
5561 if test -z "$PKG_CONFIG"; then
5562 as_fn_error $?
"pkg-config not installed; please install it." "$LINENO" 5
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
5566 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
5567 if ${ac_cv_lib_blkid_blkid_get_cache+:} false
; then :
5568 $as_echo_n "(cached) " >&6
5570 ac_check_lib_save_LIBS
=$LIBS
5571 LIBS
="-lblkid -luuid $LIBS"
5572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5575 /* Override any GCC internal prototype to avoid an error.
5576 Use char because int might match the return type of a GCC
5577 builtin and then its argument prototype would still apply. */
5581 char blkid_get_cache ();
5585 return blkid_get_cache ();
5590 if ac_fn_c_try_link
"$LINENO"; then :
5591 ac_cv_lib_blkid_blkid_get_cache
=yes
5593 ac_cv_lib_blkid_blkid_get_cache
=no
5595 rm -f core conftest.err conftest.
$ac_objext \
5596 conftest
$ac_exeext conftest.
$ac_ext
5597 LIBS
=$ac_check_lib_save_LIBS
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
5600 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
5601 if test "x$ac_cv_lib_blkid_blkid_get_cache" = xyes
; then :
5602 LIBBLKID
=`$PKG_CONFIG --libs blkid`;
5603 STATIC_LIBBLKID
=`$PKG_CONFIG --static --libs blkid`
5605 as_fn_error $?
"external blkid library not found" "$LINENO" 5
5609 PROFILED_LIBBLKID
=$LIBBLKID
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private blkid library" >&5
5611 $as_echo "Disabling private blkid library" >&6; }
5613 LIBBLKID
='$(LIB)/libblkid'$LIB_EXT
5614 DEPLIBBLKID
=$LIBBLKID
5615 STATIC_LIBBLKID
='$(LIB)/libblkid'$STATIC_LIB_EXT
5616 DEPSTATIC_LIBBLKID
=$STATIC_LIBBLKID
5617 PROFILED_LIBBLKID
='$(LIB)/libblkid'$PROFILED_LIB_EXT
5618 DEPPROFILED_LIBBLKID
=$PROFILED_LIBBLKID
5619 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library" >&5
5622 $as_echo "Enabling private blkid library" >&6; }
5626 if test -n "$PKG_CONFIG"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
5628 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
5629 if ${ac_cv_lib_blkid_blkid_get_cache+:} false
; then :
5630 $as_echo_n "(cached) " >&6
5632 ac_check_lib_save_LIBS
=$LIBS
5633 LIBS
="-lblkid $LIBS"
5634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5637 /* Override any GCC internal prototype to avoid an error.
5638 Use char because int might match the return type of a GCC
5639 builtin and then its argument prototype would still apply. */
5643 char blkid_get_cache ();
5647 return blkid_get_cache ();
5652 if ac_fn_c_try_link
"$LINENO"; then :
5653 ac_cv_lib_blkid_blkid_get_cache
=yes
5655 ac_cv_lib_blkid_blkid_get_cache
=no
5657 rm -f core conftest.err conftest.
$ac_objext \
5658 conftest
$ac_exeext conftest.
$ac_ext
5659 LIBS
=$ac_check_lib_save_LIBS
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
5662 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
5663 if test "x$ac_cv_lib_blkid_blkid_get_cache" = xyes
; then :
5664 LIBBLKID
=`$PKG_CONFIG --libs blkid`;
5665 STATIC_LIBBLKID
=`$PKG_CONFIG --static --libs blkid`
5669 if test -n "$LIBBLKID"; then
5671 PROFILED_LIBBLKID
=$LIBBLKID
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using system blkid library by default" >&5
5673 $as_echo "Using system blkid library by default" >&6; }
5675 LIBBLKID
='$(LIB)/libblkid'$LIB_EXT
5676 DEPLIBBLKID
=$LIBBLKID
5677 STATIC_LIBBLKID
='$(LIB)/libblkid'$STATIC_LIB_EXT
5678 DEPSTATIC_LIBBLKID
=$STATIC_LIBBLKID
5679 PROFILED_LIBBLKID
='$(LIB)/libblkid'$PROFILED_LIB_EXT
5680 DEPPROFILED_LIBBLKID
=$PROFILED_LIBBLKID
5681 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library by default" >&5
5684 $as_echo "Enabling private blkid library by default" >&6; }
5698 # Check whether --enable-subset was given.
5699 if test "${enable_subset+set}" = set; then :
5700 enableval
=$enable_subset; if test "$enableval" = "no"
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling subset-only build" >&5
5704 $as_echo "Disabling subset-only build" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling subset-only-build" >&5
5708 $as_echo "Enabling subset-only-build" >&6; }
5716 # Check whether --enable-backtrace was given.
5717 if test "${enable_backtrace+set}" = set; then :
5718 enableval
=$enable_backtrace; if test "$enableval" = "no"
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling use of backtrace" >&5
5721 $as_echo "Disabling use of backtrace" >&6; }
5722 $as_echo "#define DISABLE_BACKTRACE 1" >>confdefs.h
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace" >&5
5726 $as_echo "Enabling use of backtrace" >&6; }
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace by default" >&5
5731 $as_echo "Enabling use of backtrace by default" >&6; }
5735 # Check whether --enable-debugfs was given.
5736 if test "${enable_debugfs+set}" = set; then :
5737 enableval
=$enable_debugfs; if test "$enableval" = "no"
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling debugfs support" >&5
5740 $as_echo "Disabling debugfs support" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support" >&5
5745 $as_echo "Enabling debugfs support" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support by default" >&5
5750 $as_echo "Enabling debugfs support by default" >&6; }
5756 # Check whether --enable-imager was given.
5757 if test "${enable_imager+set}" = set; then :
5758 enableval
=$enable_imager; if test "$enableval" = "no"
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2image support" >&5
5761 $as_echo "Disabling e2image support" >&6; }
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support" >&5
5766 $as_echo "Enabling e2image support" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support by default" >&5
5771 $as_echo "Enabling e2image support by default" >&6; }
5777 # Check whether --enable-resizer was given.
5778 if test "${enable_resizer+set}" = set; then :
5779 enableval
=$enable_resizer; if test "$enableval" = "no"
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2resize support" >&5
5782 $as_echo "Disabling e2resize support" >&6; }
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support" >&5
5787 $as_echo "Enabling e2resize support" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support by default" >&5
5792 $as_echo "Enabling e2resize support by default" >&6; }
5798 # Check whether --enable-defrag was given.
5799 if test "${enable_defrag+set}" = set; then :
5800 enableval
=$enable_defrag; if test "$enableval" = "no"
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support" >&5
5803 $as_echo "Disabling e4defrag support" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support" >&5
5808 $as_echo "Enabling e4defrag support" >&6; }
5812 if test -z "$WITH_DIET_LIBC"
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support by default" >&5
5815 $as_echo "Enabling e4defrag support by default" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support by default" >&5
5819 $as_echo "Disabling e4defrag support by default" >&6; }
5826 # Check whether --enable-fsck was given.
5827 if test "${enable_fsck+set}" = set; then :
5828 enableval
=$enable_fsck; if test "$enableval" = "no"
5830 FSCK_PROG
='' FSCK_MAN
=''
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper" >&5
5832 $as_echo "Not building fsck wrapper" >&6; }
5834 FSCK_PROG
=fsck FSCK_MAN
=fsck
.8
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper" >&5
5836 $as_echo "Building fsck wrapper" >&6; }
5842 FSCK_PROG
='' FSCK_MAN
=''
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper by default" >&5
5844 $as_echo "Not building fsck wrapper by default" >&6; }
5847 FSCK_PROG
=fsck FSCK_MAN
=fsck
.8
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper by default" >&5
5849 $as_echo "Building fsck wrapper by default" >&6; }
5856 # Check whether --enable-e2initrd-helper was given.
5857 if test "${enable_e2initrd_helper+set}" = set; then :
5858 enableval
=$enable_e2initrd_helper; if test "$enableval" = "no"
5860 E2INITRD_PROG
='' E2INITRD_MAN
=''
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building e2initrd helper" >&5
5862 $as_echo "Not building e2initrd helper" >&6; }
5864 E2INITRD_PROG
=e2initrd_helper E2INITRD_MAN
=e2initrd_helper
.8
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper" >&5
5866 $as_echo "Building e2initrd helper" >&6; }
5870 E2INITRD_PROG
=e2initrd_helper E2INITRD_MAN
=e2initrd_helper
.8
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper by default" >&5
5872 $as_echo "Building e2initrd helper by default" >&6; }
5878 # Check whether --enable-tls was given.
5879 if test "${enable_tls+set}" = set; then :
5880 enableval
=$enable_tls; if test "$enableval" = "no"
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling thread local support" >&5
5884 $as_echo "Disabling thread local support" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling thread local support" >&5
5888 $as_echo "Enabling thread local support" >&6; }
5892 if test -n "$WITH_DIET_LIBC"
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Diet libc does not support thread local support" >&5
5896 $as_echo "Diet libc does not support thread local support" >&6; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Try using thread local support by default" >&5
5900 $as_echo "Try using thread local support by default" >&6; }
5905 if test "$try_tls" = "yes"
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
5909 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
5910 if ${ac_cv_tls+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5914 ax_tls_keywords
="__thread __declspec(thread) none"
5915 for ax_tls_keyword
in $ax_tls_keywords; do
5916 case $ax_tls_keyword in
5917 none
) ac_cv_tls
=none
; break ;;
5919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5924 static $ax_tls_keyword int bar;
5935 if ac_fn_c_try_compile
"$LINENO"; then :
5936 ac_cv_tls
=$ax_tls_keyword ; break
5941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5948 if test "$ac_cv_tls" != "none"; then
5950 cat >>confdefs.h
<<_ACEOF
5951 #define TLS $ac_cv_tls
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
5956 $as_echo "$ac_cv_tls" >&6; }
5960 # Check whether --with-pthread was given.
5961 if test "${with_pthread+set}" = set; then :
5962 withval
=$with_pthread; if test "$withval" = "no"
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling pthread support" >&5
5966 $as_echo "Disabling pthread support" >&6; }
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Testing for pthread support" >&5
5970 $as_echo "Testing for pthread support" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Try testing for pthread support by default" >&5
5976 $as_echo "Try testing for pthread support by default" >&6; }
5980 if test "$try_pthread" = "yes"
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5983 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5984 if ${ac_cv_path_SED+:} false
; then :
5985 $as_echo_n "(cached) " >&6
5987 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5988 for ac_i
in 1 2 3 4 5 6 7; do
5989 ac_script
="$ac_script$as_nl$ac_script"
5991 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5992 { ac_script
=; unset ac_script
;}
5993 if test -z "$SED"; then
5994 ac_path_SED_found
=false
5995 # Loop through the user's path and test for each of PROGNAME-LIST
5996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6000 test -z "$as_dir" && as_dir
=.
6001 for ac_prog
in sed gsed
; do
6002 for ac_exec_ext
in '' $ac_executable_extensions; do
6003 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6004 as_fn_executable_p
"$ac_path_SED" ||
continue
6005 # Check for GNU ac_path_SED and select it if it is found.
6006 # Check for GNU $ac_path_SED
6007 case `"$ac_path_SED" --version 2>&1` in
6009 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6012 $as_echo_n 0123456789 >"conftest.in"
6015 cat "conftest.in" "conftest.in" >"conftest.tmp"
6016 mv "conftest.tmp" "conftest.in"
6017 cp "conftest.in" "conftest.nl"
6018 $as_echo '' >> "conftest.nl"
6019 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6020 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6021 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6022 if test $ac_count -gt ${ac_path_SED_max-0}; then
6023 # Best one so far, save it but keep looking for a better one
6024 ac_cv_path_SED
="$ac_path_SED"
6025 ac_path_SED_max
=$ac_count
6027 # 10*(2^10) chars as input seems more than enough
6028 test $ac_count -gt 10 && break
6030 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6033 $ac_path_SED_found && break 3
6038 if test -z "$ac_cv_path_SED"; then
6039 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6047 $as_echo "$ac_cv_path_SED" >&6; }
6048 SED
="$ac_cv_path_SED"
6056 ac_cpp
='$CPP $CPPFLAGS'
6057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6063 # We used to check for pthread.h first, but this fails if pthread.h
6064 # requires special compiler flags (e.g. on Tru64 or Sequent).
6065 # It gets checked for in the link test anyway.
6067 # First of all, check if the user has set any of the PTHREAD_LIBS,
6068 # etcetera environment variables, and if threads linking works using
6070 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
6071 ax_pthread_save_CC
="$CC"
6072 ax_pthread_save_CFLAGS
="$CFLAGS"
6073 ax_pthread_save_LIBS
="$LIBS"
6074 if test "x$PTHREAD_CC" != "x"; then :
6077 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
6078 LIBS
="$PTHREAD_LIBS $LIBS"
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
6080 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
6081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6082 /* end confdefs.h. */
6084 /* Override any GCC internal prototype to avoid an error.
6085 Use char because int might match the return type of a GCC
6086 builtin and then its argument prototype would still apply. */
6090 char pthread_join ();
6094 return pthread_join ();
6099 if ac_fn_c_try_link
"$LINENO"; then :
6102 rm -f core conftest.err conftest.
$ac_objext \
6103 conftest
$ac_exeext conftest.
$ac_ext
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
6105 $as_echo "$ax_pthread_ok" >&6; }
6106 if test "x$ax_pthread_ok" = "xno"; then
6110 CC
="$ax_pthread_save_CC"
6111 CFLAGS
="$ax_pthread_save_CFLAGS"
6112 LIBS
="$ax_pthread_save_LIBS"
6115 # We must check for the threads library under a number of different
6116 # names; the ordering is very important because some systems
6117 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
6118 # libraries is broken (non-POSIX).
6120 # Create a list of thread flags to try. Items starting with a "-" are
6121 # C compiler flags, and other items are library names, except for "none"
6122 # which indicates that we try without any flags at all, and "pthread-config"
6123 # which is a program returning the flags for the Pth emulation library.
6125 ax_pthread_flags
="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
6127 # The ordering *is* (sometimes) important. Some notes on the
6128 # individual items follow:
6130 # pthreads: AIX (must check this before -lpthread)
6131 # none: in case threads are in libc; should be tried before -Kthread and
6132 # other compiler flags to prevent continual compiler warnings
6133 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
6134 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
6135 # (Note: HP C rejects this with "bad form for `-t' option")
6136 # -pthreads: Solaris/gcc (Note: HP C also rejects)
6137 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
6138 # doesn't hurt to check since this sometimes defines pthreads and
6139 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
6140 # is present but should not be used directly; and before -mthreads,
6141 # because the compiler interprets this as "-mt" + "-hreads")
6142 # -mthreads: Mingw32/gcc, Lynx/gcc
6143 # pthread: Linux, etcetera
6144 # --thread-safe: KAI C++
6145 # pthread-config: use pthread-config program (for GNU Pth library)
6151 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
6152 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
6154 ax_pthread_flags
="-kthread lthread $ax_pthread_flags"
6159 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
6160 # multi-threading and also sets -lpthread."
6162 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
6167 # IBM z/OS requires a feature-test macro to be defined in order to
6168 # enable POSIX threads at all, so give the user a hint if this is
6169 # not set. (We don't define these ourselves, as they can affect
6170 # other portions of the system API in unpredictable ways.)
6172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6175 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
6176 AX_PTHREAD_ZOS_MISSING
6180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6181 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
6183 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
6191 # On Solaris (at least, for some versions), libc contains stubbed
6192 # (non-functional) versions of the pthreads routines, so link-based
6193 # tests will erroneously succeed. (N.B.: The stubs are missing
6194 # pthread_cleanup_push, or rather a function called by this macro,
6195 # so we could check for that, but who knows whether they'll stub
6196 # that too in a future libc.) So we'll check first for the
6197 # standard Solaris way of linking pthreads (-mt -lpthread).
6199 ax_pthread_flags
="-mt,pthread pthread $ax_pthread_flags"
6203 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
6205 if test "x$GCC" = "xyes"; then :
6206 ax_pthread_flags
="-pthread -pthreads $ax_pthread_flags"
6209 # The presence of a feature test macro requesting re-entrant function
6210 # definitions is, on some systems, a strong hint that pthreads support is
6214 darwin
* | hpux
* | linux
* | osf
* | solaris
*)
6215 ax_pthread_check_macro
="_REENTRANT"
6219 ax_pthread_check_macro
="_THREAD_SAFE"
6223 ax_pthread_check_macro
="--"
6226 if test "x$ax_pthread_check_macro" = "x--"; then :
6227 ax_pthread_check_cond
=0
6229 ax_pthread_check_cond
="!defined($ax_pthread_check_macro)"
6232 # Are we compiling with Clang?
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
6235 $as_echo_n "checking whether $CC is Clang... " >&6; }
6236 if ${ax_cv_PTHREAD_CLANG+:} false
; then :
6237 $as_echo_n "(cached) " >&6
6239 ax_cv_PTHREAD_CLANG
=no
6240 # Note that Autoconf sets GCC=yes for Clang as well as GCC
6241 if test "x$GCC" = "xyes"; then
6242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
6245 # if defined(__clang__) && defined(__llvm__)
6246 AX_PTHREAD_CC_IS_CLANG
6250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6251 $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev
/null
2>&1; then :
6252 ax_cv_PTHREAD_CLANG
=yes
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
6260 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
6261 ax_pthread_clang
="$ax_cv_PTHREAD_CLANG"
6263 ax_pthread_clang_warning
=no
6265 # Clang needs special handling, because older versions handle the -pthread
6266 # option in a rather... idiosyncratic way
6268 if test "x$ax_pthread_clang" = "xyes"; then
6270 # Clang takes -pthread; it has never supported any other flag
6272 # (Note 1: This will need to be revisited if a system that Clang
6273 # supports has POSIX threads in a separate library. This tends not
6274 # to be the way of modern systems, but it's conceivable.)
6276 # (Note 2: On some systems, notably Darwin, -pthread is not needed
6277 # to get POSIX threads support; the API is always present and
6278 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
6279 # -pthread does define _REENTRANT, and while the Darwin headers
6280 # ignore this macro, third-party headers might not.)
6282 PTHREAD_CFLAGS
="-pthread"
6287 # However, older versions of Clang make a point of warning the user
6288 # that, in an invocation where only linking and no compilation is
6289 # taking place, the -pthread option has no effect ("argument unused
6290 # during compilation"). They expect -pthread to be passed in only
6291 # when source code is being compiled.
6293 # Problem is, this is at odds with the way Automake and most other
6294 # C build frameworks function, which is that the same flags used in
6295 # compilation (CFLAGS) are also used in linking. Many systems
6296 # supported by AX_PTHREAD require exactly this for POSIX threads
6297 # support, and in fact it is often not straightforward to specify a
6298 # flag that is used only in the compilation phase and not in
6299 # linking. Such a scenario is extremely rare in practice.
6301 # Even though use of the -pthread flag in linking would only print
6302 # a warning, this can be a nuisance for well-run software projects
6303 # that build with -Werror. So if the active version of Clang has
6304 # this misfeature, we search for an option to squash it.
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
6307 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
6308 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false
; then :
6309 $as_echo_n "(cached) " >&6
6311 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG
=unknown
6312 # Create an alternate version of $ac_link that compiles and
6313 # links in two steps (.c -> .o, .o -> exe) instead of one
6314 # (.c -> exe), because the warning occurs only in the second
6316 ax_pthread_save_ac_link
="$ac_link"
6317 ax_pthread_sed
='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
6318 ax_pthread_link_step
=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
6319 ax_pthread_2step_ac_link
="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
6320 ax_pthread_save_CFLAGS
="$CFLAGS"
6321 for ax_pthread_try
in '' -Qunused-arguments -Wno-unused-command-line-argument unknown
; do
6322 if test "x$ax_pthread_try" = "xunknown"; then :
6325 CFLAGS
="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
6326 ac_link
="$ax_pthread_save_ac_link"
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 int main(void){return 0;}
6331 if ac_fn_c_try_link
"$LINENO"; then :
6332 ac_link
="$ax_pthread_2step_ac_link"
6333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 int main(void){return 0;}
6337 if ac_fn_c_try_link
"$LINENO"; then :
6340 rm -f core conftest.err conftest.
$ac_objext \
6341 conftest
$ac_exeext conftest.
$ac_ext
6344 rm -f core conftest.err conftest.
$ac_objext \
6345 conftest
$ac_exeext conftest.
$ac_ext
6347 ac_link
="$ax_pthread_save_ac_link"
6348 CFLAGS
="$ax_pthread_save_CFLAGS"
6349 if test "x$ax_pthread_try" = "x"; then :
6352 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG
="$ax_pthread_try"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
6356 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
6358 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
6360 *) PTHREAD_CFLAGS
="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
6363 fi # $ax_pthread_clang = yes
6365 if test "x$ax_pthread_ok" = "xno"; then
6366 for ax_pthread_try_flag
in $ax_pthread_flags; do
6368 case $ax_pthread_try_flag in
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
6371 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
6376 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
6377 PTHREAD_CFLAGS
="-mt"
6378 PTHREAD_LIBS
="-lpthread"
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
6383 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
6384 PTHREAD_CFLAGS
="$ax_pthread_try_flag"
6388 # Extract the first word of "pthread-config", so it can be a program name with args.
6389 set dummy pthread-config
; ac_word
=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
6393 $as_echo_n "(cached) " >&6
6395 if test -n "$ax_pthread_config"; then
6396 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
6398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6402 test -z "$as_dir" && as_dir
=.
6403 for ac_exec_ext
in '' $ac_executable_extensions; do
6404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6405 ac_cv_prog_ax_pthread_config
="yes"
6406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6413 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
6416 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
6417 if test -n "$ax_pthread_config"; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
6419 $as_echo "$ax_pthread_config" >&6; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6422 $as_echo "no" >&6; }
6426 if test "x$ax_pthread_config" = "xno"; then :
6429 PTHREAD_CFLAGS
="`pthread-config --cflags`"
6430 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
6435 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
6436 PTHREAD_LIBS
="-l$ax_pthread_try_flag"
6440 ax_pthread_save_CFLAGS
="$CFLAGS"
6441 ax_pthread_save_LIBS
="$LIBS"
6442 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
6443 LIBS
="$PTHREAD_LIBS $LIBS"
6445 # Check for various functions. We must include pthread.h,
6446 # since some functions may be macros. (On the Sequent, we
6447 # need a special flag -Kthread to make this header compile.)
6448 # We check for pthread_join because it is in -lpthread on IRIX
6449 # while pthread_create is in libc. We check for pthread_attr_init
6450 # due to DEC craziness with -lpthreads. We check for
6451 # pthread_cleanup_push because it is one of the few pthread
6452 # functions on Solaris that doesn't have a non-functional libc stub.
6453 # We try pthread_create on general principles.
6455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #include <pthread.h>
6458 # if $ax_pthread_check_cond
6459 # error "$ax_pthread_check_macro must be defined"
6461 static void routine(void *a) { a = 0; }
6462 static void *start_routine(void *a) { return a; }
6466 pthread_t th; pthread_attr_t attr;
6467 pthread_create(&th, 0, start_routine, 0);
6468 pthread_join(th, 0);
6469 pthread_attr_init(&attr);
6470 pthread_cleanup_push(routine, 0);
6471 pthread_cleanup_pop(0) /* ; */
6476 if ac_fn_c_try_link
"$LINENO"; then :
6479 rm -f core conftest.err conftest.
$ac_objext \
6480 conftest
$ac_exeext conftest.
$ac_ext
6482 CFLAGS
="$ax_pthread_save_CFLAGS"
6483 LIBS
="$ax_pthread_save_LIBS"
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
6486 $as_echo "$ax_pthread_ok" >&6; }
6487 if test "x$ax_pthread_ok" = "xyes"; then :
6496 # Various other checks:
6497 if test "x$ax_pthread_ok" = "xyes"; then
6498 ax_pthread_save_CFLAGS
="$CFLAGS"
6499 ax_pthread_save_LIBS
="$LIBS"
6500 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
6501 LIBS
="$PTHREAD_LIBS $LIBS"
6503 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
6505 $as_echo_n "checking for joinable pthread attribute... " >&6; }
6506 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
6507 $as_echo_n "(cached) " >&6
6509 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
6510 for ax_pthread_attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
6511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #include <pthread.h>
6517 int attr = $ax_pthread_attr; return attr /* ; */
6522 if ac_fn_c_try_link
"$LINENO"; then :
6523 ax_cv_PTHREAD_JOINABLE_ATTR
=$ax_pthread_attr; break
6525 rm -f core conftest.err conftest.
$ac_objext \
6526 conftest
$ac_exeext conftest.
$ac_ext
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
6531 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
6532 if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
6533 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
6534 test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
6536 cat >>confdefs.h
<<_ACEOF
6537 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
6540 ax_pthread_joinable_attr_defined
=yes
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
6545 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
6546 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
6547 $as_echo_n "(cached) " >&6
6549 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
6552 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_POSIX_PTHREAD_SEMANTICS"
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
6558 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
6559 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
6560 test "x$ax_pthread_special_flags_added" != "xyes"; then :
6561 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
6562 ax_pthread_special_flags_added
=yes
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
6566 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
6567 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
6568 $as_echo_n "(cached) " >&6
6570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <pthread.h>
6576 int i = PTHREAD_PRIO_INHERIT;
6581 if ac_fn_c_try_link
"$LINENO"; then :
6582 ax_cv_PTHREAD_PRIO_INHERIT
=yes
6584 ax_cv_PTHREAD_PRIO_INHERIT
=no
6586 rm -f core conftest.err conftest.
$ac_objext \
6587 conftest
$ac_exeext conftest.
$ac_ext
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
6591 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
6592 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
6593 test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
6595 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
6597 ax_pthread_prio_inherit_defined
=yes
6601 CFLAGS
="$ax_pthread_save_CFLAGS"
6602 LIBS
="$ax_pthread_save_LIBS"
6604 # More AIX lossage: compile with *_r variant
6605 if test "x$GCC" != "xyes"; then
6609 x
*/c89|x
*/c89_128|x
*/c99|x
*/c99_128|x
*/cc|x
*/cc128|x
*/xlc|x
*/xlc_v6|x
*/xlc128|x
*/xlc128_v6
) :
6610 #handle absolute path differently from PATH based program lookup
6613 if as_fn_executable_p
${CC}_r
; then :
6614 PTHREAD_CC
="${CC}_r"
6617 for ac_prog
in ${CC}_r
6619 # Extract the first word of "$ac_prog", so it can be a program name with args.
6620 set dummy
$ac_prog; ac_word
=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
6624 $as_echo_n "(cached) " >&6
6626 if test -n "$PTHREAD_CC"; then
6627 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
6629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6633 test -z "$as_dir" && as_dir
=.
6634 for ac_exec_ext
in '' $ac_executable_extensions; do
6635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_PTHREAD_CC
="$ac_prog"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
6647 if test -n "$PTHREAD_CC"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
6649 $as_echo "$PTHREAD_CC" >&6; }
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6656 test -n "$PTHREAD_CC" && break
6658 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
6669 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
6675 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
6676 if test "x$ax_pthread_ok" = "xyes"; then
6678 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
6686 ac_cpp
='$CPP $CPPFLAGS'
6687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6693 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
6697 # Check whether --enable-uuidd was given.
6698 if test "${enable_uuidd+set}" = set; then :
6699 enableval
=$enable_uuidd; if test "$enableval" = "no"
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building uuidd" >&5
6702 $as_echo "Not building uuidd" >&6; }
6705 $as_echo "#define USE_UUIDD 1" >>confdefs.h
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd" >&5
6709 $as_echo "Building uuidd" >&6; }
6713 $as_echo "#define USE_UUIDD 1" >>confdefs.h
6715 if test -z "$UUID_CMT"
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd by default" >&5
6719 $as_echo "Building uuidd by default" >&6; }
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling uuidd by default" >&5
6723 $as_echo "Disabling uuidd by default" >&6; }
6730 # Check whether --enable-mmp was given.
6731 if test "${enable_mmp+set}" = set; then :
6732 enableval
=$enable_mmp; if test "$enableval" = "no"
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling mmp support" >&5
6735 $as_echo "Disabling mmp support" >&6; }
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support" >&5
6738 $as_echo "Enabling mmp support" >&6; }
6739 $as_echo "#define CONFIG_MMP 1" >>confdefs.h
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support by default" >&5
6745 $as_echo "Enabling mmp support by default" >&6; }
6746 $as_echo "#define CONFIG_MMP 1" >>confdefs.h
6752 # Check whether --enable-tdb was given.
6753 if test "${enable_tdb+set}" = set; then :
6754 enableval
=$enable_tdb; if test "$enableval" = "no"
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling tdb support" >&5
6757 $as_echo "Disabling tdb support" >&6; }
6759 TDB_MAN_COMMENT
='.\"'
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling tdb support" >&5
6762 $as_echo "Enabling tdb support" >&6; }
6763 $as_echo "#define CONFIG_TDB 1" >>confdefs.h
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support by default" >&5
6771 $as_echo "Enabling mmp support by default" >&6; }
6772 $as_echo "#define CONFIG_TDB 1" >>confdefs.h
6782 # Check whether --enable-bmap-stats was given.
6783 if test "${enable_bmap_stats+set}" = set; then :
6784 enableval
=$enable_bmap_stats; if test "$enableval" = "no"
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling bitmap statistics support" >&5
6787 $as_echo "Disabling bitmap statistics support" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support" >&5
6790 $as_echo "Enabling bitmap statistics support" >&6; }
6791 $as_echo "#define ENABLE_BMAP_STATS 1" >>confdefs.h
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support by default" >&5
6797 $as_echo "Enabling bitmap statistics support by default" >&6; }
6798 $as_echo "#define ENABLE_BMAP_STATS 1" >>confdefs.h
6804 # Check whether --enable-bmap-stats-ops was given.
6805 if test "${enable_bmap_stats_ops+set}" = set; then :
6806 enableval
=$enable_bmap_stats_ops; if test "$enableval" = "no"
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics" >&5
6809 $as_echo "Disabling additional bitmap statistics" >&6; }
6811 if test "x${enable_bmap_stats}" = "xno"; then :
6812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6814 as_fn_error $?
"Error --enable-bmap-stats-ops requires bmap-stats
6815 See \`config.log' for more details" "$LINENO" 5; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling additional bitmap statistics" >&5
6819 $as_echo "Enabling additional bitmap statistics" >&6; }
6820 $as_echo "#define ENABLE_BMAP_STATS_OPS 1" >>confdefs.h
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics by default" >&5
6826 $as_echo "Disabling additional bitmap statistics by default" >&6; }
6830 MAKEFILE_LIBRARY
=$srcdir/lib
/Makefile.library
6832 GETTEXT_PACKAGE
=e2fsprogs
6834 VERSION
="$E2FSPROGS_VERSION"
6837 cat >>confdefs.h
<<_ACEOF
6838 #define PACKAGE "$PACKAGE"
6842 cat >>confdefs.h
<<_ACEOF
6843 #define VERSION "$VERSION"
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6851 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6853 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6854 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6855 $as_echo_n "(cached) " >&6
6857 cat >conftest.
make <<\_ACEOF
6860 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6862 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6863 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6865 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6867 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6871 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6873 $as_echo "yes" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
6878 SET_MAKE
="MAKE=${MAKE-make}"
6881 # Find a good install program. We prefer a C program (faster),
6882 # so one script is as good as another. But avoid the broken or
6883 # incompatible versions:
6884 # SysV /etc/install, /usr/sbin/install
6885 # SunOS /usr/etc/install
6886 # IRIX /sbin/install
6888 # AmigaOS /C/install, which installs bootblocks on floppy discs
6889 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6890 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6891 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6892 # OS/2's system install, which has a completely different semantic
6893 # ./install, which can be erroneously created by make from ./install.sh.
6894 # Reject install programs that cannot install multiple files.
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
6896 $as_echo_n "checking for a BSD-compatible install... " >&6; }
6897 if test -z "$INSTALL"; then
6898 if ${ac_cv_path_install+:} false
; then :
6899 $as_echo_n "(cached) " >&6
6901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir
=.
6906 # Account for people who put trailing slashes in PATH elements.
6907 case $as_dir/ in #((
6908 .
/ | .
// |
/[cC
]/* | \
6909 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6910 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
6913 # OSF1 and SCO ODT 3.0 have their own names for install.
6914 # Don't use installbsd from OSF since it installs stuff as root
6916 for ac_prog
in ginstall scoinst
install; do
6917 for ac_exec_ext
in '' $ac_executable_extensions; do
6918 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
6919 if test $ac_prog = install &&
6920 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6921 # AIX install. It has an incompatible calling convention.
6923 elif test $ac_prog = install &&
6924 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6925 # program-specific install script used by HP pwplus--don't use.
6928 rm -rf conftest.one conftest.two conftest.dir
6929 echo one
> conftest.one
6930 echo two
> conftest.two
6932 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
6933 test -s conftest.one
&& test -s conftest.two
&&
6934 test -s conftest.dir
/conftest.one
&&
6935 test -s conftest.dir
/conftest.two
6937 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6950 rm -rf conftest.one conftest.two conftest.dir
6953 if test "${ac_cv_path_install+set}" = set; then
6954 INSTALL
=$ac_cv_path_install
6956 # As a last resort, use the slow shell script. Don't cache a
6957 # value for INSTALL within a source directory, because that will
6958 # break other packages using the cache if that directory is
6959 # removed, or if the value is a relative name.
6960 INSTALL
=$ac_install_sh
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
6964 $as_echo "$INSTALL" >&6; }
6966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6967 # It thinks the first close brace ends the variable substitution.
6968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6972 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6975 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6976 if test -z "$MKDIR_P"; then
6977 if ${ac_cv_path_mkdir+:} false
; then :
6978 $as_echo_n "(cached) " >&6
6980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6981 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
6984 test -z "$as_dir" && as_dir
=.
6985 for ac_prog
in mkdir gmkdir
; do
6986 for ac_exec_ext
in '' $ac_executable_extensions; do
6987 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
6988 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6989 'mkdir (GNU coreutils) '* | \
6990 'mkdir (coreutils) '* | \
6991 'mkdir (fileutils) '4.1*)
6992 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
7002 test -d .
/--version && rmdir .
/--version
7003 if test "${ac_cv_path_mkdir+set}" = set; then
7004 MKDIR_P
="$ac_cv_path_mkdir -p"
7006 # As a last resort, use the slow shell script. Don't cache a
7007 # value for MKDIR_P within a source directory, because that will
7008 # break other packages using the cache if that directory is
7009 # removed, or if the value is a relative name.
7010 MKDIR_P
="$ac_install_sh -d"
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
7014 $as_echo "$MKDIR_P" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7018 $as_echo_n "checking whether NLS is requested... " >&6; }
7019 # Check whether --enable-nls was given.
7020 if test "${enable_nls+set}" = set; then :
7021 enableval
=$enable_nls; USE_NLS
=$enableval
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7027 $as_echo "$USE_NLS" >&6; }
7032 GETTEXT_MACRO_VERSION
=0.20
7037 # Prepare PATH_SEPARATOR.
7038 # The user is always right.
7039 if test "${PATH_SEPARATOR+set}" != set; then
7040 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7041 # contains only /bin. Note that ksh looks also at the FPATH variable,
7042 # so we have to set that as well for the test.
7044 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7045 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7046 || PATH_SEPARATOR
=';'
7050 # Find out how to test for executable files. Don't use a zero-byte file,
7051 # as systems may use methods other than mode bits to determine executability.
7052 cat >conf$$.
file <<_ASEOF
7056 chmod +x conf$$.
file
7057 if test -x conf$$.
file >/dev
/null
2>&1; then
7058 ac_executable_p
="test -x"
7060 ac_executable_p
="test -f"
7064 # Extract the first word of "msgfmt", so it can be a program name with args.
7065 set dummy msgfmt
; ac_word
=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_path_MSGFMT+:} false
; then :
7069 $as_echo_n "(cached) " >&6
7073 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7076 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7077 for ac_dir
in $PATH; do
7079 test -z "$ac_dir" && ac_dir
=.
7080 for ac_exec_ext
in '' $ac_executable_extensions; do
7081 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7082 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7083 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
7084 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7085 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7092 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7096 MSGFMT
="$ac_cv_path_MSGFMT"
7097 if test "$MSGFMT" != ":"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7099 $as_echo "$MSGFMT" >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 $as_echo "no" >&6; }
7105 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7106 set dummy gmsgfmt
; ac_word
=$2
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7108 $as_echo_n "checking for $ac_word... " >&6; }
7109 if ${ac_cv_path_GMSGFMT+:} false
; then :
7110 $as_echo_n "(cached) " >&6
7114 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir
=.
7122 for ac_exec_ext
in '' $ac_executable_extensions; do
7123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7124 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7136 GMSGFMT
=$ac_cv_path_GMSGFMT
7137 if test -n "$GMSGFMT"; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7139 $as_echo "$GMSGFMT" >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 $as_echo "no" >&6; }
7147 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7148 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
7149 *) GMSGFMT_015
=$GMSGFMT ;;
7154 # Prepare PATH_SEPARATOR.
7155 # The user is always right.
7156 if test "${PATH_SEPARATOR+set}" != set; then
7157 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7158 # contains only /bin. Note that ksh looks also at the FPATH variable,
7159 # so we have to set that as well for the test.
7161 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7162 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7163 || PATH_SEPARATOR
=';'
7167 # Find out how to test for executable files. Don't use a zero-byte file,
7168 # as systems may use methods other than mode bits to determine executability.
7169 cat >conf$$.
file <<_ASEOF
7173 chmod +x conf$$.
file
7174 if test -x conf$$.
file >/dev
/null
2>&1; then
7175 ac_executable_p
="test -x"
7177 ac_executable_p
="test -f"
7181 # Extract the first word of "xgettext", so it can be a program name with args.
7182 set dummy xgettext
; ac_word
=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if ${ac_cv_path_XGETTEXT+:} false
; then :
7186 $as_echo_n "(cached) " >&6
7190 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7193 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7194 for ac_dir
in $PATH; do
7196 test -z "$ac_dir" && ac_dir
=.
7197 for ac_exec_ext
in '' $ac_executable_extensions; do
7198 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7199 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7200 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
7201 (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
7202 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7209 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7213 XGETTEXT
="$ac_cv_path_XGETTEXT"
7214 if test "$XGETTEXT" != ":"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7216 $as_echo "$XGETTEXT" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7224 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7225 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
7226 *) XGETTEXT_015
=$XGETTEXT ;;
7231 # Prepare PATH_SEPARATOR.
7232 # The user is always right.
7233 if test "${PATH_SEPARATOR+set}" != set; then
7234 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7235 # contains only /bin. Note that ksh looks also at the FPATH variable,
7236 # so we have to set that as well for the test.
7238 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7239 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7240 || PATH_SEPARATOR
=';'
7244 # Find out how to test for executable files. Don't use a zero-byte file,
7245 # as systems may use methods other than mode bits to determine executability.
7246 cat >conf$$.
file <<_ASEOF
7250 chmod +x conf$$.
file
7251 if test -x conf$$.
file >/dev
/null
2>&1; then
7252 ac_executable_p
="test -x"
7254 ac_executable_p
="test -f"
7258 # Extract the first word of "msgmerge", so it can be a program name with args.
7259 set dummy msgmerge
; ac_word
=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if ${ac_cv_path_MSGMERGE+:} false
; then :
7263 $as_echo_n "(cached) " >&6
7267 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7270 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7271 for ac_dir
in $PATH; do
7273 test -z "$ac_dir" && ac_dir
=.
7274 for ac_exec_ext
in '' $ac_executable_extensions; do
7275 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7276 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7277 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
7278 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7285 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7289 MSGMERGE
="$ac_cv_path_MSGMERGE"
7290 if test "$MSGMERGE" != ":"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7292 $as_echo "$MSGMERGE" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7299 if LC_ALL
=C
$MSGMERGE --help |
grep ' --for-msgfmt ' >/dev
/null
; then
7300 MSGMERGE_FOR_MSGFMT_OPTION
='--for-msgfmt'
7302 if LC_ALL
=C
$MSGMERGE --help |
grep ' --no-fuzzy-matching ' >/dev
/null
; then
7303 MSGMERGE_FOR_MSGFMT_OPTION
='--no-fuzzy-matching --no-location --quiet'
7305 MSGMERGE_FOR_MSGFMT_OPTION
='--no-location --quiet'
7310 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
7313 ac_config_commands
="$ac_config_commands po-directories"
7317 if test "X$prefix" = "XNONE"; then
7318 acl_final_prefix
="$ac_default_prefix"
7320 acl_final_prefix
="$prefix"
7322 if test "X$exec_prefix" = "XNONE"; then
7323 acl_final_exec_prefix
='${prefix}'
7325 acl_final_exec_prefix
="$exec_prefix"
7327 acl_save_prefix
="$prefix"
7328 prefix
="$acl_final_prefix"
7329 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7330 prefix
="$acl_save_prefix"
7334 # Check whether --with-gnu-ld was given.
7335 if test "${with_gnu_ld+set}" = set; then :
7336 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7341 # Prepare PATH_SEPARATOR.
7342 # The user is always right.
7343 if test "${PATH_SEPARATOR+set}" != set; then
7344 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7345 # contains only /bin. Note that ksh looks also at the FPATH variable,
7346 # so we have to set that as well for the test.
7348 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7349 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7350 || PATH_SEPARATOR
=';'
7354 if test -n "$LD"; then
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
7356 $as_echo_n "checking for ld... " >&6; }
7357 elif test "$GCC" = yes; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7359 $as_echo_n "checking for ld used by $CC... " >&6; }
7360 elif test "$with_gnu_ld" = yes; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7362 $as_echo_n "checking for GNU ld... " >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7365 $as_echo_n "checking for non-GNU ld... " >&6; }
7367 if test -n "$LD"; then
7368 # Let the user override the test with a path.
7371 if ${acl_cv_path_LD+:} false
; then :
7372 $as_echo_n "(cached) " >&6
7375 acl_cv_path_LD
= # Final result of this test
7376 ac_prog
=ld
# Program to search in $PATH
7377 if test "$GCC" = yes; then
7378 # Check if gcc -print-prog-name=ld gives a path.
7381 # gcc leaves a trailing carriage return which upsets mingw
7382 acl_output
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7384 acl_output
=`($CC -print-prog-name=ld) 2>&5` ;;
7387 # Accept absolute paths.
7389 re_direlt
='/[^/][^/]*/\.\./'
7390 # Canonicalize the pathname of ld
7391 acl_output
=`echo "$acl_output" | sed 's%\\\\%/%g'`
7392 while echo "$acl_output" |
grep "$re_direlt" > /dev
/null
2>&1; do
7393 acl_output
=`echo $acl_output | sed "s%$re_direlt%/%"`
7395 # Got the pathname. No search in PATH is needed.
7396 acl_cv_path_LD
="$acl_output"
7400 # If it fails, then pretend we aren't using GCC.
7403 # If it is relative, then search for the first ld in PATH.
7408 if test -n "$ac_prog"; then
7409 # Search for $ac_prog in $PATH.
7410 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7411 for ac_dir
in $PATH; do
7413 test -z "$ac_dir" && ac_dir
=.
7414 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7415 acl_cv_path_LD
="$ac_dir/$ac_prog"
7416 # Check to see if the program is GNU ld. I'd rather use --version,
7417 # but apparently some variants of GNU ld only accept -v.
7418 # Break only if it was the GNU/non-GNU ld that we prefer.
7419 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
7420 *GNU
* |
*'with BFD'*)
7421 test "$with_gnu_ld" != no
&& break
7424 test "$with_gnu_ld" != yes && break
7433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7434 /* end confdefs.h. */
7435 #if defined __powerpc64__ || defined _ARCH_PPC64
7442 if ac_fn_c_try_compile
"$LINENO"; then :
7443 # The compiler produces 64-bit code. Add option '-b64' so that the
7444 # linker groks 64-bit object files.
7445 case "$acl_cv_path_LD " in
7447 *) acl_cv_path_LD
="$acl_cv_path_LD -b64" ;;
7451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7455 /* end confdefs.h. */
7456 #if defined __sparcv9 || defined __arch64__
7463 if ac_fn_c_try_compile
"$LINENO"; then :
7466 # The compiler produces 32-bit code. Add option '-m elf32_sparc'
7467 # so that the linker groks 32-bit object files.
7468 case "$acl_cv_path_LD " in
7469 *" -m elf32_sparc "*) ;;
7470 *) acl_cv_path_LD
="$acl_cv_path_LD -m elf32_sparc" ;;
7474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7480 LD
="$acl_cv_path_LD"
7482 if test -n "$LD"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7484 $as_echo "$LD" >&6; }
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7488 as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7491 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7492 if ${acl_cv_prog_gnu_ld+:} false
; then :
7493 $as_echo_n "(cached) " >&6
7495 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7496 case `$LD -v 2>&1 </dev/null` in
7497 *GNU
* |
*'with BFD'*)
7498 acl_cv_prog_gnu_ld
=yes
7501 acl_cv_prog_gnu_ld
=no
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7506 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7507 with_gnu_ld
=$acl_cv_prog_gnu_ld
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7513 $as_echo_n "checking for shared library run path origin... " >&6; }
7514 if ${acl_cv_rpath+:} false
; then :
7515 $as_echo_n "(cached) " >&6
7518 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7519 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7526 $as_echo "$acl_cv_rpath" >&6; }
7528 acl_libext
="$acl_cv_libext"
7529 acl_shlibext
="$acl_cv_shlibext"
7530 acl_libname_spec
="$acl_cv_libname_spec"
7531 acl_library_names_spec
="$acl_cv_library_names_spec"
7532 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7533 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7534 acl_hardcode_direct
="$acl_cv_hardcode_direct"
7535 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7536 # Check whether --enable-rpath was given.
7537 if test "${enable_rpath+set}" = set; then :
7538 enableval
=$enable_rpath; :
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
7547 $as_echo_n "checking 32-bit host C ABI... " >&6; }
7548 if ${gl_cv_host_cpu_c_abi_32bit+:} false
; then :
7549 $as_echo_n "(cached) " >&6
7551 if test -n "$gl_cv_host_cpu_c_abi"; then
7552 case "$gl_cv_host_cpu_c_abi" in
7553 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv
*-ilp32* | s390 | sparc
)
7554 gl_cv_host_cpu_c_abi_32bit
=yes ;;
7555 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv
*-lp64* | s390x | sparc64
)
7556 gl_cv_host_cpu_c_abi_32bit
=no
;;
7558 gl_cv_host_cpu_c_abi_32bit
=unknown
;;
7563 # CPUs that only support a 32-bit ABI.
7572 | microblaze | microblazeel \
7573 | nds32 | nds32le | nds32be \
7574 | nios2 | nios2eb | nios2el \
7577 | sh | sh1234 | sh1234elb \
7580 gl_cv_host_cpu_c_abi_32bit
=yes
7583 # CPUs that only support a 64-bit ABI.
7584 alpha | alphaev
[4-8] | alphaev56 | alphapca5
[67] | alphaev6
[78] \
7586 gl_cv_host_cpu_c_abi_32bit
=no
7590 gl_cv_host_cpu_c_abi_32bit
=yes
7594 # On x86_64 systems, the C compiler may be generating code in one of
7596 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
7597 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
7598 # with native Windows (mingw, MSVC).
7599 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
7600 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
7601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7603 #if (defined __x86_64__ || defined __amd64__ \
7604 || defined _M_X64 || defined _M_AMD64) \
7605 && !(defined __ILP32__ || defined _ILP32)
7612 if ac_fn_c_try_compile
"$LINENO"; then :
7613 gl_cv_host_cpu_c_abi_32bit
=no
7615 gl_cv_host_cpu_c_abi_32bit
=yes
7617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7621 # Assume arm with EABI.
7622 # On arm64 systems, the C compiler may be generating code in one of
7624 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
7625 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
7626 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
7627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7629 #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
7636 if ac_fn_c_try_compile
"$LINENO"; then :
7637 gl_cv_host_cpu_c_abi_32bit
=no
7639 gl_cv_host_cpu_c_abi_32bit
=yes
7641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7644 hppa1.0 | hppa1.1 | hppa2.0
* | hppa64
)
7645 # On hppa, the C compiler may be generating 32-bit code or 64-bit
7646 # code. In the latter case, it defines _LP64 and __LP64__.
7647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7656 if ac_fn_c_try_compile
"$LINENO"; then :
7657 gl_cv_host_cpu_c_abi_32bit
=no
7659 gl_cv_host_cpu_c_abi_32bit
=yes
7661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7665 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
7666 # 32-bit code. In the latter case, it defines _ILP32.
7667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h. */
7676 if ac_fn_c_try_compile
"$LINENO"; then :
7677 gl_cv_host_cpu_c_abi_32bit
=yes
7679 gl_cv_host_cpu_c_abi_32bit
=no
7681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7685 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
7687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7688 /* end confdefs.h. */
7689 #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
7696 if ac_fn_c_try_compile
"$LINENO"; then :
7697 gl_cv_host_cpu_c_abi_32bit
=no
7699 gl_cv_host_cpu_c_abi_32bit
=yes
7701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7705 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
7706 # No need to distinguish them here; the caller may distinguish
7707 # them based on the OS.
7708 # On powerpc64 systems, the C compiler may still be generating
7709 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
7710 # be generating 64-bit code.
7711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7713 #if defined __powerpc64__ || defined _ARCH_PPC64
7720 if ac_fn_c_try_compile
"$LINENO"; then :
7721 gl_cv_host_cpu_c_abi_32bit
=no
7723 gl_cv_host_cpu_c_abi_32bit
=yes
7725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7729 gl_cv_host_cpu_c_abi_32bit
=yes
7733 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
7734 # Size of 'long' and 'void *':
7735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7737 #if defined __LP64__
7744 if ac_fn_c_try_compile
"$LINENO"; then :
7745 gl_cv_host_cpu_c_abi_32bit
=no
7747 gl_cv_host_cpu_c_abi_32bit
=yes
7749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7753 # On s390x, the C compiler may be generating 64-bit (= s390x) code
7754 # or 31-bit (= s390) code.
7755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 #if defined __LP64__ || defined __s390x__
7764 if ac_fn_c_try_compile
"$LINENO"; then :
7765 gl_cv_host_cpu_c_abi_32bit
=no
7767 gl_cv_host_cpu_c_abi_32bit
=yes
7769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7773 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
7774 # C compiler still generates 32-bit code.
7775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7776 /* end confdefs.h. */
7777 #if defined __sparcv9 || defined __arch64__
7784 if ac_fn_c_try_compile
"$LINENO"; then :
7785 gl_cv_host_cpu_c_abi_32bit
=no
7787 gl_cv_host_cpu_c_abi_32bit
=yes
7789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7793 gl_cv_host_cpu_c_abi_32bit
=unknown
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
7800 $as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; }
7802 HOST_CPU_C_ABI_32BIT
="$gl_cv_host_cpu_c_abi_32bit"
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
7809 $as_echo_n "checking for ELF binary format... " >&6; }
7810 if ${gl_cv_elf+:} false
; then :
7811 $as_echo_n "(cached) " >&6
7813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7816 Extensible Linking Format
7820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7821 $EGREP "Extensible Linking Format" >/dev
/null
2>&1; then :
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
7831 $as_echo "$gl_cv_elf" >&6; }
7832 if test $gl_cv_elf; then
7833 # Extract the ELF class of a file (5th byte) in decimal.
7834 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
7835 if od -A x
< /dev
/null
>/dev
/null
2>/dev
/null
; then
7839 od -A n
-t d1
-j 4 -N 1
7845 dd bs
=1 count
=1 skip
=4 2>/dev
/null |
hexdump -e '1/1 "%3d "'
7849 case $HOST_CPU_C_ABI_32BIT in
7852 acl_is_expected_elfclass
()
7854 test "`func_elfclass | sed -e 's/[ ]//g'`" = 1
7859 acl_is_expected_elfclass
()
7861 test "`func_elfclass | sed -e 's/[ ]//g'`" = 2
7866 acl_is_expected_elfclass
()
7873 acl_is_expected_elfclass
()
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
7880 $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; }
7881 if ${acl_cv_libdirstems+:} false
; then :
7882 $as_echo_n "(cached) " >&6
7889 if test $HOST_CPU_C_ABI_32BIT = no
; then
7890 acl_libdirstem2
=lib
/64
7892 sparc
*) acl_libdirstem3
=lib
/sparcv9
;;
7893 i
*86 | x86_64
) acl_libdirstem3
=lib
/amd64
;;
7898 searchpath
=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
7899 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7900 if test $HOST_CPU_C_ABI_32BIT != no
; then
7901 # 32-bit or unknown ABI.
7902 if test -d /usr
/lib32
; then
7903 acl_libdirstem2
=lib32
7906 if test $HOST_CPU_C_ABI_32BIT != yes; then
7907 # 64-bit or unknown ABI.
7908 if test -d /usr
/lib64
; then
7909 acl_libdirstem3
=lib64
7912 if test -n "$searchpath"; then
7913 acl_save_IFS
="${IFS= }"; IFS
=":"
7914 for searchdir
in $searchpath; do
7915 if test -d "$searchdir"; then
7916 case "$searchdir" in
7917 */lib32
/ |
*/lib32
) acl_libdirstem2
=lib32
;;
7918 */lib64
/ |
*/lib64
) acl_libdirstem3
=lib64
;;
7920 # Better ignore directories of this form. They are misleading.
7922 *) searchdir
=`cd "$searchdir" && pwd`
7923 case "$searchdir" in
7924 */lib32
) acl_libdirstem2
=lib32
;;
7925 */lib64
) acl_libdirstem3
=lib64
;;
7931 if test $HOST_CPU_C_ABI_32BIT = yes; then
7935 if test $HOST_CPU_C_ABI_32BIT = no
; then
7942 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
7943 test -n "$acl_libdirstem3" || acl_libdirstem3
="$acl_libdirstem"
7944 acl_cv_libdirstems
="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
7948 $as_echo "$acl_cv_libdirstems" >&6; }
7949 acl_libdirstem
=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
7950 acl_libdirstem2
=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
7951 acl_libdirstem3
=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
7965 acl_save_prefix
="$prefix"
7966 prefix
="$acl_final_prefix"
7967 acl_save_exec_prefix
="$exec_prefix"
7968 exec_prefix
="$acl_final_exec_prefix"
7970 eval additional_includedir
=\"$includedir\"
7971 eval additional_libdir
=\"$libdir\"
7972 eval additional_libdir2
=\"$exec_prefix/$acl_libdirstem2\"
7973 eval additional_libdir3
=\"$exec_prefix/$acl_libdirstem3\"
7975 exec_prefix
="$acl_save_exec_prefix"
7976 prefix
="$acl_save_prefix"
7979 # Check whether --with-libiconv-prefix was given.
7980 if test "${with_libiconv_prefix+set}" = set; then :
7981 withval
=$with_libiconv_prefix;
7982 if test "X$withval" = "Xno"; then
7985 if test "X$withval" = "X"; then
7987 acl_save_prefix
="$prefix"
7988 prefix
="$acl_final_prefix"
7989 acl_save_exec_prefix
="$exec_prefix"
7990 exec_prefix
="$acl_final_exec_prefix"
7992 eval additional_includedir
=\"$includedir\"
7993 eval additional_libdir
=\"$libdir\"
7994 eval additional_libdir2
=\"$exec_prefix/$acl_libdirstem2\"
7995 eval additional_libdir3
=\"$exec_prefix/$acl_libdirstem3\"
7997 exec_prefix
="$acl_save_exec_prefix"
7998 prefix
="$acl_save_prefix"
8001 additional_includedir
="$withval/include"
8002 additional_libdir
="$withval/$acl_libdirstem"
8003 additional_libdir2
="$withval/$acl_libdirstem2"
8004 additional_libdir3
="$withval/$acl_libdirstem3"
8010 if test "X$additional_libdir2" = "X$additional_libdir"; then
8013 if test "X$additional_libdir3" = "X$additional_libdir"; then
8023 names_already_handled
=
8024 names_next_round
='iconv '
8025 while test -n "$names_next_round"; do
8026 names_this_round
="$names_next_round"
8028 for name
in $names_this_round; do
8030 for n
in $names_already_handled; do
8031 if test "$n" = "$name"; then
8036 if test -z "$already_handled"; then
8037 names_already_handled
="$names_already_handled $name"
8038 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8039 eval value
=\"\
$HAVE_LIB$uppername\"
8040 if test -n "$value"; then
8041 if test "$value" = yes; then
8042 eval value
=\"\
$LIB$uppername\"
8043 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8044 eval value
=\"\
$LTLIB$uppername\"
8045 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8054 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8055 if test -n "$acl_shlibext"; then
8056 shrext
=".$acl_shlibext" # typically: shrext=.so
8060 if test $use_additional = yes; then
8061 for additional_libdir_variable
in additional_libdir additional_libdir2 additional_libdir3
; do
8062 if test "X$found_dir" = "X"; then
8063 eval dir
=\$
$additional_libdir_variable
8064 if test -n "$dir"; then
8065 if test -n "$acl_shlibext"; then
8066 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass
< "$dir/$libname$shrext"; then
8068 found_so
="$dir/$libname$shrext"
8070 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8071 ver
=`(cd "$dir" && \
8072 for f in "$libname$shrext".*; do echo "$f"; done \
8073 | sed -e "s,^$libname$shrext\\\\.,," \
8074 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8075 | sed 1q ) 2>/dev/null`
8076 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass
< "$dir/$libname$shrext.$ver"; then
8078 found_so
="$dir/$libname$shrext.$ver"
8081 eval library_names
=\"$acl_library_names_spec\"
8082 for f
in $library_names; do
8083 if test -f "$dir/$f" && acl_is_expected_elfclass
< "$dir/$f"; then
8092 if test "X$found_dir" = "X"; then
8093 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass
; then
8095 found_a
="$dir/$libname.$acl_libext"
8098 if test "X$found_dir" != "X"; then
8099 if test -f "$dir/$libname.la"; then
8100 found_la
="$dir/$libname.la"
8107 if test "X$found_dir" = "X"; then
8108 for x
in $LDFLAGS $LTLIBICONV; do
8110 acl_save_prefix
="$prefix"
8111 prefix
="$acl_final_prefix"
8112 acl_save_exec_prefix
="$exec_prefix"
8113 exec_prefix
="$acl_final_exec_prefix"
8115 exec_prefix
="$acl_save_exec_prefix"
8116 prefix
="$acl_save_prefix"
8120 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8121 if test -n "$acl_shlibext"; then
8122 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass
< "$dir/$libname$shrext"; then
8124 found_so
="$dir/$libname$shrext"
8126 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8127 ver
=`(cd "$dir" && \
8128 for f in "$libname$shrext".*; do echo "$f"; done \
8129 | sed -e "s,^$libname$shrext\\\\.,," \
8130 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8131 | sed 1q ) 2>/dev/null`
8132 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass
< "$dir/$libname$shrext.$ver"; then
8134 found_so
="$dir/$libname$shrext.$ver"
8137 eval library_names
=\"$acl_library_names_spec\"
8138 for f
in $library_names; do
8139 if test -f "$dir/$f" && acl_is_expected_elfclass
< "$dir/$f"; then
8148 if test "X$found_dir" = "X"; then
8149 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass
; then
8151 found_a
="$dir/$libname.$acl_libext"
8154 if test "X$found_dir" != "X"; then
8155 if test -f "$dir/$libname.la"; then
8156 found_la
="$dir/$libname.la"
8161 if test "X$found_dir" != "X"; then
8166 if test "X$found_dir" != "X"; then
8167 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8168 if test "X$found_so" != "X"; then
8169 if test "$enable_rpath" = no \
8170 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8171 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2" \
8172 ||
test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
8173 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8176 for x
in $ltrpathdirs; do
8177 if test "X$x" = "X$found_dir"; then
8182 if test -z "$haveit"; then
8183 ltrpathdirs
="$ltrpathdirs $found_dir"
8185 if test "$acl_hardcode_direct" = yes; then
8186 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8188 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8189 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8191 for x
in $rpathdirs; do
8192 if test "X$x" = "X$found_dir"; then
8197 if test -z "$haveit"; then
8198 rpathdirs
="$rpathdirs $found_dir"
8202 for x
in $LDFLAGS $LIBICONV; do
8204 acl_save_prefix
="$prefix"
8205 prefix
="$acl_final_prefix"
8206 acl_save_exec_prefix
="$exec_prefix"
8207 exec_prefix
="$acl_final_exec_prefix"
8209 exec_prefix
="$acl_save_exec_prefix"
8210 prefix
="$acl_save_prefix"
8212 if test "X$x" = "X-L$found_dir"; then
8217 if test -z "$haveit"; then
8218 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8220 if test "$acl_hardcode_minus_L" != no
; then
8221 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8223 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8229 if test "X$found_a" != "X"; then
8230 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8232 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8235 additional_includedir
=
8236 case "$found_dir" in
8237 */$acl_libdirstem |
*/$acl_libdirstem/)
8238 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8239 if test "$name" = 'iconv'; then
8240 LIBICONV_PREFIX
="$basedir"
8242 additional_includedir
="$basedir/include"
8244 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8245 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8246 if test "$name" = 'iconv'; then
8247 LIBICONV_PREFIX
="$basedir"
8249 additional_includedir
="$basedir/include"
8251 */$acl_libdirstem3 |
*/$acl_libdirstem3/)
8252 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
8253 if test "$name" = 'iconv'; then
8254 LIBICONV_PREFIX
="$basedir"
8256 additional_includedir
="$basedir/include"
8259 if test "X$additional_includedir" != "X"; then
8260 if test "X$additional_includedir" != "X/usr/include"; then
8262 if test "X$additional_includedir" = "X/usr/local/include"; then
8263 if test -n "$GCC"; then
8265 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8269 if test -z "$haveit"; then
8270 for x
in $CPPFLAGS $INCICONV; do
8272 acl_save_prefix
="$prefix"
8273 prefix
="$acl_final_prefix"
8274 acl_save_exec_prefix
="$exec_prefix"
8275 exec_prefix
="$acl_final_exec_prefix"
8277 exec_prefix
="$acl_save_exec_prefix"
8278 prefix
="$acl_save_prefix"
8280 if test "X$x" = "X-I$additional_includedir"; then
8285 if test -z "$haveit"; then
8286 if test -d "$additional_includedir"; then
8287 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8293 if test -n "$found_la"; then
8294 save_libdir
="$libdir"
8296 */* |
*\\*) .
"$found_la" ;;
8297 *) .
"./$found_la" ;;
8299 libdir
="$save_libdir"
8300 for dep
in $dependency_libs; do
8303 dependency_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8304 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
8305 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
8306 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
8308 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
8309 ||
test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
8310 ||
test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
8311 if test -n "$GCC"; then
8313 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8317 if test -z "$haveit"; then
8319 for x
in $LDFLAGS $LIBICONV; do
8321 acl_save_prefix
="$prefix"
8322 prefix
="$acl_final_prefix"
8323 acl_save_exec_prefix
="$exec_prefix"
8324 exec_prefix
="$acl_final_exec_prefix"
8326 exec_prefix
="$acl_save_exec_prefix"
8327 prefix
="$acl_save_prefix"
8329 if test "X$x" = "X-L$dependency_libdir"; then
8334 if test -z "$haveit"; then
8335 if test -d "$dependency_libdir"; then
8336 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
8340 for x
in $LDFLAGS $LTLIBICONV; do
8342 acl_save_prefix
="$prefix"
8343 prefix
="$acl_final_prefix"
8344 acl_save_exec_prefix
="$exec_prefix"
8345 exec_prefix
="$acl_final_exec_prefix"
8347 exec_prefix
="$acl_save_exec_prefix"
8348 prefix
="$acl_save_prefix"
8350 if test "X$x" = "X-L$dependency_libdir"; then
8355 if test -z "$haveit"; then
8356 if test -d "$dependency_libdir"; then
8357 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
8364 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8365 if test "$enable_rpath" != no
; then
8367 for x
in $rpathdirs; do
8368 if test "X$x" = "X$dir"; then
8373 if test -z "$haveit"; then
8374 rpathdirs
="$rpathdirs $dir"
8377 for x
in $ltrpathdirs; do
8378 if test "X$x" = "X$dir"; then
8383 if test -z "$haveit"; then
8384 ltrpathdirs
="$ltrpathdirs $dir"
8389 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8392 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8395 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8396 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8402 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8403 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8409 if test "X$rpathdirs" != "X"; then
8410 if test -n "$acl_hardcode_libdir_separator"; then
8412 for found_dir
in $rpathdirs; do
8413 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8415 acl_save_libdir
="$libdir"
8417 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8418 libdir
="$acl_save_libdir"
8419 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8421 for found_dir
in $rpathdirs; do
8422 acl_save_libdir
="$libdir"
8424 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8425 libdir
="$acl_save_libdir"
8426 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8430 if test "X$ltrpathdirs" != "X"; then
8431 for found_dir
in $ltrpathdirs; do
8432 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
8465 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
8466 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
8467 $as_echo_n "(cached) " >&6
8469 gt_save_LIBS
="$LIBS"
8470 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
8471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 #include <CoreFoundation/CFPreferences.h>
8477 CFPreferencesCopyAppValue(NULL, NULL)
8482 if ac_fn_c_try_link
"$LINENO"; then :
8483 gt_cv_func_CFPreferencesCopyAppValue
=yes
8485 gt_cv_func_CFPreferencesCopyAppValue
=no
8487 rm -f core conftest.err conftest.
$ac_objext \
8488 conftest
$ac_exeext conftest.
$ac_ext
8489 LIBS
="$gt_save_LIBS"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
8492 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
8493 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
8495 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
8499 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
8500 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false
; then :
8501 $as_echo_n "(cached) " >&6
8503 gt_save_LIBS
="$LIBS"
8504 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
8505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 #include <CoreFoundation/CFLocale.h>
8511 CFLocaleCopyPreferredLanguages();
8516 if ac_fn_c_try_link
"$LINENO"; then :
8517 gt_cv_func_CFLocaleCopyPreferredLanguages
=yes
8519 gt_cv_func_CFLocaleCopyPreferredLanguages
=no
8521 rm -f core conftest.err conftest.
$ac_objext \
8522 conftest
$ac_exeext conftest.
$ac_ext
8523 LIBS
="$gt_save_LIBS"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
8526 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
8527 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
8529 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
8533 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
8534 ||
test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
8535 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
8547 case " $gt_needs " in
8548 *" need-formatstring-macros "*) gt_api_version
=3 ;;
8549 *" need-ngettext "*) gt_api_version
=2 ;;
8550 *) gt_api_version
=1 ;;
8552 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
8553 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
8555 if test "$USE_NLS" = "yes"; then
8556 gt_use_preinstalled_gnugettext
=no
8559 if test $gt_api_version -ge 3; then
8560 gt_revision_test_code
='
8561 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8562 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
8564 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
8567 gt_revision_test_code
=
8569 if test $gt_api_version -ge 2; then
8570 gt_expression_test_code
=' + * ngettext ("", "", 0)'
8572 gt_expression_test_code
=
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
8576 $as_echo_n "checking for GNU gettext in libc... " >&6; }
8577 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
8578 $as_echo_n "(cached) " >&6
8580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8583 #include <libintl.h>
8584 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8585 extern int _nl_msg_cat_cntr;
8586 extern int *_nl_domain_bindings;
8587 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
8589 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8591 $gt_revision_test_code
8597 bindtextdomain ("", "");
8598 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8604 if ac_fn_c_try_link
"$LINENO"; then :
8605 eval "$gt_func_gnugettext_libc=yes"
8607 eval "$gt_func_gnugettext_libc=no"
8609 rm -f core conftest.err conftest.
$ac_objext \
8610 conftest
$ac_exeext conftest.
$ac_ext
8612 eval ac_res
=\$
$gt_func_gnugettext_libc
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8614 $as_echo "$ac_res" >&6; }
8616 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
8622 am_save_CPPFLAGS
="$CPPFLAGS"
8624 for element
in $INCICONV; do
8626 for x
in $CPPFLAGS; do
8628 acl_save_prefix
="$prefix"
8629 prefix
="$acl_final_prefix"
8630 acl_save_exec_prefix
="$exec_prefix"
8631 exec_prefix
="$acl_final_exec_prefix"
8633 exec_prefix
="$acl_save_exec_prefix"
8634 prefix
="$acl_save_prefix"
8636 if test "X$x" = "X$element"; then
8641 if test -z "$haveit"; then
8642 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
8648 $as_echo_n "checking for iconv... " >&6; }
8649 if ${am_cv_func_iconv+:} false
; then :
8650 $as_echo_n "(cached) " >&6
8653 am_cv_func_iconv
="no, consider installing GNU libiconv"
8655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8664 iconv_t cd = iconv_open("","");
8665 iconv(cd,NULL,NULL,NULL,NULL);
8671 if ac_fn_c_try_link
"$LINENO"; then :
8672 am_cv_func_iconv
=yes
8674 rm -f core conftest.err conftest.
$ac_objext \
8675 conftest
$ac_exeext conftest.
$ac_ext
8676 if test "$am_cv_func_iconv" != yes; then
8677 am_save_LIBS
="$LIBS"
8678 LIBS
="$LIBS $LIBICONV"
8679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8688 iconv_t cd = iconv_open("","");
8689 iconv(cd,NULL,NULL,NULL,NULL);
8695 if ac_fn_c_try_link
"$LINENO"; then :
8697 am_cv_func_iconv
=yes
8699 rm -f core conftest.err conftest.
$ac_objext \
8700 conftest
$ac_exeext conftest.
$ac_ext
8701 LIBS
="$am_save_LIBS"
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8706 $as_echo "$am_cv_func_iconv" >&6; }
8707 if test "$am_cv_func_iconv" = yes; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8709 $as_echo_n "checking for working iconv... " >&6; }
8710 if ${am_cv_func_iconv_works+:} false
; then :
8711 $as_echo_n "(cached) " >&6
8714 am_save_LIBS
="$LIBS"
8715 if test $am_cv_lib_iconv = yes; then
8716 LIBS
="$LIBS $LIBICONV"
8718 am_cv_func_iconv_works
=no
8719 for ac_iconv_const
in '' 'const'; do
8720 if test "$cross_compiling" = yes; then :
8722 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
8723 *) am_cv_func_iconv_works
="guessing yes" ;;
8726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8733 # define ICONV_CONST $ac_iconv_const
8740 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
8743 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8744 if (cd_utf8_to_88591 != (iconv_t)(-1))
8746 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8748 ICONV_CONST char *inptr = input;
8749 size_t inbytesleft = strlen (input);
8751 size_t outbytesleft = sizeof (buf);
8752 size_t res = iconv (cd_utf8_to_88591,
8753 &inptr, &inbytesleft,
8754 &outptr, &outbytesleft);
8757 iconv_close (cd_utf8_to_88591);
8760 /* Test against Solaris 10 bug: Failures are not distinguishable from
8761 successful returns. */
8763 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8764 if (cd_ascii_to_88591 != (iconv_t)(-1))
8766 static ICONV_CONST char input[] = "\263";
8768 ICONV_CONST char *inptr = input;
8769 size_t inbytesleft = strlen (input);
8771 size_t outbytesleft = sizeof (buf);
8772 size_t res = iconv (cd_ascii_to_88591,
8773 &inptr, &inbytesleft,
8774 &outptr, &outbytesleft);
8777 iconv_close (cd_ascii_to_88591);
8780 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
8782 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8783 if (cd_88591_to_utf8 != (iconv_t)(-1))
8785 static ICONV_CONST char input[] = "\304";
8786 static char buf[2] = { (char)0xDE, (char)0xAD };
8787 ICONV_CONST char *inptr = input;
8788 size_t inbytesleft = 1;
8790 size_t outbytesleft = 1;
8791 size_t res = iconv (cd_88591_to_utf8,
8792 &inptr, &inbytesleft,
8793 &outptr, &outbytesleft);
8794 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8796 iconv_close (cd_88591_to_utf8);
8799 #if 0 /* This bug could be worked around by the caller. */
8800 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8802 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8803 if (cd_88591_to_utf8 != (iconv_t)(-1))
8805 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8807 ICONV_CONST char *inptr = input;
8808 size_t inbytesleft = strlen (input);
8810 size_t outbytesleft = sizeof (buf);
8811 size_t res = iconv (cd_88591_to_utf8,
8812 &inptr, &inbytesleft,
8813 &outptr, &outbytesleft);
8816 iconv_close (cd_88591_to_utf8);
8820 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8823 /* Try standardized names. */
8824 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
8825 /* Try IRIX, OSF/1 names. */
8826 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
8827 /* Try AIX names. */
8828 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
8829 /* Try HP-UX names. */
8830 iconv_t cd4 = iconv_open ("utf8", "eucJP");
8831 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
8832 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
8834 if (cd1 != (iconv_t)(-1))
8836 if (cd2 != (iconv_t)(-1))
8838 if (cd3 != (iconv_t)(-1))
8840 if (cd4 != (iconv_t)(-1))
8849 if ac_fn_c_try_run
"$LINENO"; then :
8850 am_cv_func_iconv_works
=yes
8852 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8853 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8856 test "$am_cv_func_iconv_works" = no ||
break
8858 LIBS
="$am_save_LIBS"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8862 $as_echo "$am_cv_func_iconv_works" >&6; }
8863 case "$am_cv_func_iconv_works" in
8864 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8865 *) am_func_iconv
=yes ;;
8868 am_func_iconv
=no am_cv_lib_iconv
=no
8870 if test "$am_func_iconv" = yes; then
8872 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8875 if test "$am_cv_lib_iconv" = yes; then
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8877 $as_echo_n "checking how to link with libiconv... " >&6; }
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8879 $as_echo "$LIBICONV" >&6; }
8881 CPPFLAGS
="$am_save_CPPFLAGS"
8897 acl_save_prefix
="$prefix"
8898 prefix
="$acl_final_prefix"
8899 acl_save_exec_prefix
="$exec_prefix"
8900 exec_prefix
="$acl_final_exec_prefix"
8902 eval additional_includedir
=\"$includedir\"
8903 eval additional_libdir
=\"$libdir\"
8904 eval additional_libdir2
=\"$exec_prefix/$acl_libdirstem2\"
8905 eval additional_libdir3
=\"$exec_prefix/$acl_libdirstem3\"
8907 exec_prefix
="$acl_save_exec_prefix"
8908 prefix
="$acl_save_prefix"
8911 # Check whether --with-libintl-prefix was given.
8912 if test "${with_libintl_prefix+set}" = set; then :
8913 withval
=$with_libintl_prefix;
8914 if test "X$withval" = "Xno"; then
8917 if test "X$withval" = "X"; then
8919 acl_save_prefix
="$prefix"
8920 prefix
="$acl_final_prefix"
8921 acl_save_exec_prefix
="$exec_prefix"
8922 exec_prefix
="$acl_final_exec_prefix"
8924 eval additional_includedir
=\"$includedir\"
8925 eval additional_libdir
=\"$libdir\"
8926 eval additional_libdir2
=\"$exec_prefix/$acl_libdirstem2\"
8927 eval additional_libdir3
=\"$exec_prefix/$acl_libdirstem3\"
8929 exec_prefix
="$acl_save_exec_prefix"
8930 prefix
="$acl_save_prefix"
8933 additional_includedir
="$withval/include"
8934 additional_libdir
="$withval/$acl_libdirstem"
8935 additional_libdir2
="$withval/$acl_libdirstem2"
8936 additional_libdir3
="$withval/$acl_libdirstem3"
8942 if test "X$additional_libdir2" = "X$additional_libdir"; then
8945 if test "X$additional_libdir3" = "X$additional_libdir"; then
8955 names_already_handled
=
8956 names_next_round
='intl '
8957 while test -n "$names_next_round"; do
8958 names_this_round
="$names_next_round"
8960 for name
in $names_this_round; do
8962 for n
in $names_already_handled; do
8963 if test "$n" = "$name"; then
8968 if test -z "$already_handled"; then
8969 names_already_handled
="$names_already_handled $name"
8970 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8971 eval value
=\"\
$HAVE_LIB$uppername\"
8972 if test -n "$value"; then
8973 if test "$value" = yes; then
8974 eval value
=\"\
$LIB$uppername\"
8975 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8976 eval value
=\"\
$LTLIB$uppername\"
8977 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8986 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8987 if test -n "$acl_shlibext"; then
8988 shrext
=".$acl_shlibext" # typically: shrext=.so
8992 if test $use_additional = yes; then
8993 for additional_libdir_variable
in additional_libdir additional_libdir2 additional_libdir3
; do
8994 if test "X$found_dir" = "X"; then
8995 eval dir
=\$
$additional_libdir_variable
8996 if test -n "$dir"; then
8997 if test -n "$acl_shlibext"; then
8998 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass
< "$dir/$libname$shrext"; then
9000 found_so
="$dir/$libname$shrext"
9002 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9003 ver
=`(cd "$dir" && \
9004 for f in "$libname$shrext".*; do echo "$f"; done \
9005 | sed -e "s,^$libname$shrext\\\\.,," \
9006 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9007 | sed 1q ) 2>/dev/null`
9008 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass
< "$dir/$libname$shrext.$ver"; then
9010 found_so
="$dir/$libname$shrext.$ver"
9013 eval library_names
=\"$acl_library_names_spec\"
9014 for f
in $library_names; do
9015 if test -f "$dir/$f" && acl_is_expected_elfclass
< "$dir/$f"; then
9024 if test "X$found_dir" = "X"; then
9025 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass
; then
9027 found_a
="$dir/$libname.$acl_libext"
9030 if test "X$found_dir" != "X"; then
9031 if test -f "$dir/$libname.la"; then
9032 found_la
="$dir/$libname.la"
9039 if test "X$found_dir" = "X"; then
9040 for x
in $LDFLAGS $LTLIBINTL; do
9042 acl_save_prefix
="$prefix"
9043 prefix
="$acl_final_prefix"
9044 acl_save_exec_prefix
="$exec_prefix"
9045 exec_prefix
="$acl_final_exec_prefix"
9047 exec_prefix
="$acl_save_exec_prefix"
9048 prefix
="$acl_save_prefix"
9052 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9053 if test -n "$acl_shlibext"; then
9054 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass
< "$dir/$libname$shrext"; then
9056 found_so
="$dir/$libname$shrext"
9058 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9059 ver
=`(cd "$dir" && \
9060 for f in "$libname$shrext".*; do echo "$f"; done \
9061 | sed -e "s,^$libname$shrext\\\\.,," \
9062 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9063 | sed 1q ) 2>/dev/null`
9064 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass
< "$dir/$libname$shrext.$ver"; then
9066 found_so
="$dir/$libname$shrext.$ver"
9069 eval library_names
=\"$acl_library_names_spec\"
9070 for f
in $library_names; do
9071 if test -f "$dir/$f" && acl_is_expected_elfclass
< "$dir/$f"; then
9080 if test "X$found_dir" = "X"; then
9081 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass
; then
9083 found_a
="$dir/$libname.$acl_libext"
9086 if test "X$found_dir" != "X"; then
9087 if test -f "$dir/$libname.la"; then
9088 found_la
="$dir/$libname.la"
9093 if test "X$found_dir" != "X"; then
9098 if test "X$found_dir" != "X"; then
9099 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
9100 if test "X$found_so" != "X"; then
9101 if test "$enable_rpath" = no \
9102 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
9103 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2" \
9104 ||
test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
9105 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9108 for x
in $ltrpathdirs; do
9109 if test "X$x" = "X$found_dir"; then
9114 if test -z "$haveit"; then
9115 ltrpathdirs
="$ltrpathdirs $found_dir"
9117 if test "$acl_hardcode_direct" = yes; then
9118 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9120 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
9121 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9123 for x
in $rpathdirs; do
9124 if test "X$x" = "X$found_dir"; then
9129 if test -z "$haveit"; then
9130 rpathdirs
="$rpathdirs $found_dir"
9134 for x
in $LDFLAGS $LIBINTL; do
9136 acl_save_prefix
="$prefix"
9137 prefix
="$acl_final_prefix"
9138 acl_save_exec_prefix
="$exec_prefix"
9139 exec_prefix
="$acl_final_exec_prefix"
9141 exec_prefix
="$acl_save_exec_prefix"
9142 prefix
="$acl_save_prefix"
9144 if test "X$x" = "X-L$found_dir"; then
9149 if test -z "$haveit"; then
9150 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
9152 if test "$acl_hardcode_minus_L" != no
; then
9153 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9155 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9161 if test "X$found_a" != "X"; then
9162 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
9164 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
9167 additional_includedir
=
9168 case "$found_dir" in
9169 */$acl_libdirstem |
*/$acl_libdirstem/)
9170 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
9171 if test "$name" = 'intl'; then
9172 LIBINTL_PREFIX
="$basedir"
9174 additional_includedir
="$basedir/include"
9176 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
9177 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
9178 if test "$name" = 'intl'; then
9179 LIBINTL_PREFIX
="$basedir"
9181 additional_includedir
="$basedir/include"
9183 */$acl_libdirstem3 |
*/$acl_libdirstem3/)
9184 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
9185 if test "$name" = 'intl'; then
9186 LIBINTL_PREFIX
="$basedir"
9188 additional_includedir
="$basedir/include"
9191 if test "X$additional_includedir" != "X"; then
9192 if test "X$additional_includedir" != "X/usr/include"; then
9194 if test "X$additional_includedir" = "X/usr/local/include"; then
9195 if test -n "$GCC"; then
9197 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9201 if test -z "$haveit"; then
9202 for x
in $CPPFLAGS $INCINTL; do
9204 acl_save_prefix
="$prefix"
9205 prefix
="$acl_final_prefix"
9206 acl_save_exec_prefix
="$exec_prefix"
9207 exec_prefix
="$acl_final_exec_prefix"
9209 exec_prefix
="$acl_save_exec_prefix"
9210 prefix
="$acl_save_prefix"
9212 if test "X$x" = "X-I$additional_includedir"; then
9217 if test -z "$haveit"; then
9218 if test -d "$additional_includedir"; then
9219 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
9225 if test -n "$found_la"; then
9226 save_libdir
="$libdir"
9228 */* |
*\\*) .
"$found_la" ;;
9229 *) .
"./$found_la" ;;
9231 libdir
="$save_libdir"
9232 for dep
in $dependency_libs; do
9235 dependency_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9236 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
9237 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
9238 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
9240 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
9241 ||
test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
9242 ||
test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
9243 if test -n "$GCC"; then
9245 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9249 if test -z "$haveit"; then
9251 for x
in $LDFLAGS $LIBINTL; do
9253 acl_save_prefix
="$prefix"
9254 prefix
="$acl_final_prefix"
9255 acl_save_exec_prefix
="$exec_prefix"
9256 exec_prefix
="$acl_final_exec_prefix"
9258 exec_prefix
="$acl_save_exec_prefix"
9259 prefix
="$acl_save_prefix"
9261 if test "X$x" = "X-L$dependency_libdir"; then
9266 if test -z "$haveit"; then
9267 if test -d "$dependency_libdir"; then
9268 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir"
9272 for x
in $LDFLAGS $LTLIBINTL; do
9274 acl_save_prefix
="$prefix"
9275 prefix
="$acl_final_prefix"
9276 acl_save_exec_prefix
="$exec_prefix"
9277 exec_prefix
="$acl_final_exec_prefix"
9279 exec_prefix
="$acl_save_exec_prefix"
9280 prefix
="$acl_save_prefix"
9282 if test "X$x" = "X-L$dependency_libdir"; then
9287 if test -z "$haveit"; then
9288 if test -d "$dependency_libdir"; then
9289 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir"
9296 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9297 if test "$enable_rpath" != no
; then
9299 for x
in $rpathdirs; do
9300 if test "X$x" = "X$dir"; then
9305 if test -z "$haveit"; then
9306 rpathdirs
="$rpathdirs $dir"
9309 for x
in $ltrpathdirs; do
9310 if test "X$x" = "X$dir"; then
9315 if test -z "$haveit"; then
9316 ltrpathdirs
="$ltrpathdirs $dir"
9321 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9324 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9327 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
9328 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9334 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9335 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9341 if test "X$rpathdirs" != "X"; then
9342 if test -n "$acl_hardcode_libdir_separator"; then
9344 for found_dir
in $rpathdirs; do
9345 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9347 acl_save_libdir
="$libdir"
9349 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
9350 libdir
="$acl_save_libdir"
9351 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9353 for found_dir
in $rpathdirs; do
9354 acl_save_libdir
="$libdir"
9356 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
9357 libdir
="$acl_save_libdir"
9358 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9362 if test "X$ltrpathdirs" != "X"; then
9363 for found_dir
in $ltrpathdirs; do
9364 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
9373 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
9374 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
9375 $as_echo_n "(cached) " >&6
9377 gt_save_CPPFLAGS
="$CPPFLAGS"
9378 CPPFLAGS
="$CPPFLAGS $INCINTL"
9379 gt_save_LIBS
="$LIBS"
9380 LIBS
="$LIBS $LIBINTL"
9381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 #include <libintl.h>
9385 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
9386 extern int _nl_msg_cat_cntr;
9391 const char *_nl_expand_alias (const char *);
9392 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
9394 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
9396 $gt_revision_test_code
9402 bindtextdomain ("", "");
9403 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
9409 if ac_fn_c_try_link
"$LINENO"; then :
9410 eval "$gt_func_gnugettext_libintl=yes"
9412 eval "$gt_func_gnugettext_libintl=no"
9414 rm -f core conftest.err conftest.
$ac_objext \
9415 conftest
$ac_exeext conftest.
$ac_ext
9416 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
9417 LIBS
="$LIBS $LIBICONV"
9418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9421 #include <libintl.h>
9422 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
9423 extern int _nl_msg_cat_cntr;
9428 const char *_nl_expand_alias (const char *);
9429 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
9431 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
9433 $gt_revision_test_code
9439 bindtextdomain ("", "");
9440 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
9446 if ac_fn_c_try_link
"$LINENO"; then :
9447 LIBINTL
="$LIBINTL $LIBICONV"
9448 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
9449 eval "$gt_func_gnugettext_libintl=yes"
9452 rm -f core conftest.err conftest.
$ac_objext \
9453 conftest
$ac_exeext conftest.
$ac_ext
9455 CPPFLAGS
="$gt_save_CPPFLAGS"
9456 LIBS
="$gt_save_LIBS"
9458 eval ac_res
=\$
$gt_func_gnugettext_libintl
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9460 $as_echo "$ac_res" >&6; }
9463 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
9464 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
9465 && test "$PACKAGE" != gettext-runtime \
9466 && test "$PACKAGE" != gettext-tools
; }; then
9467 gt_use_preinstalled_gnugettext
=yes
9476 if test -n "$INTL_MACOSX_LIBS"; then
9477 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9478 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9479 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
9480 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
9484 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9485 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9487 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
9495 $as_echo_n "checking whether to use NLS... " >&6; }
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
9497 $as_echo "$USE_NLS" >&6; }
9498 if test "$USE_NLS" = "yes"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
9500 $as_echo_n "checking where the gettext function comes from... " >&6; }
9501 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9502 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9503 gt_source
="external libintl"
9508 gt_source
="included intl directory"
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
9511 $as_echo "$gt_source" >&6; }
9514 if test "$USE_NLS" = "yes"; then
9516 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9517 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
9519 $as_echo_n "checking how to link with libintl... " >&6; }
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
9521 $as_echo "$LIBINTL" >&6; }
9523 for element
in $INCINTL; do
9525 for x
in $CPPFLAGS; do
9527 acl_save_prefix
="$prefix"
9528 prefix
="$acl_final_prefix"
9529 acl_save_exec_prefix
="$exec_prefix"
9530 exec_prefix
="$acl_final_exec_prefix"
9532 exec_prefix
="$acl_save_exec_prefix"
9533 prefix
="$acl_save_prefix"
9535 if test "X$x" = "X$element"; then
9540 if test -z "$haveit"; then
9541 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9548 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
9551 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9569 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
9571 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9572 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
9573 $as_echo_n "(cached) " >&6
9575 cat >conftest.
make <<\_ACEOF
9578 @
echo '@@@%%%=$(MAKE)=@@@%%%'
9580 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9581 case `${MAKE-make} -f conftest.make 2>/dev/null` in
9583 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
9585 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
9589 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9591 $as_echo "yes" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9596 SET_MAKE
="MAKE=${MAKE-make}"
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
9600 $as_echo_n "checking for GNU make... " >&6; }
9601 if ${_cv_gnu_make_command+:} false
; then :
9602 $as_echo_n "(cached) " >&6
9604 _cv_gnu_make_command
='' ;
9605 if test -n "$FORCE_NATIVE_MAKE" ; then
9608 MAKES
="make gmake gnumake"
9610 for a
in "$MAKE" $MAKES ; do
9611 if test -z "$a" ; then continue ; fi ;
9612 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
) ; then
9613 _cv_gnu_make_command
=$a ;
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
9620 $as_echo "$_cv_gnu_make_command" >&6; } ;
9621 if test "x$_cv_gnu_make_command" != "x" ; then
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
9628 $as_echo "\"Not found\"" >&6; };
9633 # Extract the first word of "ln", so it can be a program name with args.
9634 set dummy
ln; ac_word
=$2
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9636 $as_echo_n "checking for $ac_word... " >&6; }
9637 if ${ac_cv_path_LN+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9642 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
9645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9649 test -z "$as_dir" && as_dir
=.
9650 for ac_exec_ext
in '' $ac_executable_extensions; do
9651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9652 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
9653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9660 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
9665 if test -n "$LN"; then
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
9667 $as_echo "$LN" >&6; }
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9670 $as_echo "no" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9678 $as_echo_n "checking whether ln -s works... " >&6; }
9680 if test "$LN_S" = "ln -s"; then
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9682 $as_echo "yes" >&6; }
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9685 $as_echo "no, using $LN_S" >&6; }
9688 # Extract the first word of "mv", so it can be a program name with args.
9689 set dummy
mv; ac_word
=$2
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9691 $as_echo_n "checking for $ac_word... " >&6; }
9692 if ${ac_cv_path_MV+:} false
; then :
9693 $as_echo_n "(cached) " >&6
9697 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
9700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9704 test -z "$as_dir" && as_dir
=.
9705 for ac_exec_ext
in '' $ac_executable_extensions; do
9706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9707 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
9708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9715 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
9720 if test -n "$MV"; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
9722 $as_echo "$MV" >&6; }
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9725 $as_echo "no" >&6; }
9729 # Extract the first word of "cp", so it can be a program name with args.
9730 set dummy
cp; ac_word
=$2
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9732 $as_echo_n "checking for $ac_word... " >&6; }
9733 if ${ac_cv_path_CP+:} false
; then :
9734 $as_echo_n "(cached) " >&6
9738 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
9741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9745 test -z "$as_dir" && as_dir
=.
9746 for ac_exec_ext
in '' $ac_executable_extensions; do
9747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9748 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
9749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9756 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
9761 if test -n "$CP"; then
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
9763 $as_echo "$CP" >&6; }
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9766 $as_echo "no" >&6; }
9770 # Extract the first word of "rm", so it can be a program name with args.
9771 set dummy
rm; ac_word
=$2
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9773 $as_echo_n "checking for $ac_word... " >&6; }
9774 if ${ac_cv_path_RM+:} false
; then :
9775 $as_echo_n "(cached) " >&6
9779 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
9782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9786 test -z "$as_dir" && as_dir
=.
9787 for ac_exec_ext
in '' $ac_executable_extensions; do
9788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9789 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
9790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9797 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
9802 if test -n "$RM"; then
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
9804 $as_echo "$RM" >&6; }
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9807 $as_echo "no" >&6; }
9811 # Extract the first word of "chmod", so it can be a program name with args.
9812 set dummy
chmod; ac_word
=$2
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9814 $as_echo_n "checking for $ac_word... " >&6; }
9815 if ${ac_cv_path_CHMOD+:} false
; then :
9816 $as_echo_n "(cached) " >&6
9820 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
9823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9827 test -z "$as_dir" && as_dir
=.
9828 for ac_exec_ext
in '' $ac_executable_extensions; do
9829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9830 ac_cv_path_CHMOD
="$as_dir/$ac_word$ac_exec_ext"
9831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9838 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
=":"
9842 CHMOD
=$ac_cv_path_CHMOD
9843 if test -n "$CHMOD"; then
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
9845 $as_echo "$CHMOD" >&6; }
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9848 $as_echo "no" >&6; }
9852 for ac_prog
in gawk mawk nawk
awk
9854 # Extract the first word of "$ac_prog", so it can be a program name with args.
9855 set dummy
$ac_prog; ac_word
=$2
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9857 $as_echo_n "checking for $ac_word... " >&6; }
9858 if ${ac_cv_prog_AWK+:} false
; then :
9859 $as_echo_n "(cached) " >&6
9861 if test -n "$AWK"; then
9862 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
9864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir
=.
9869 for ac_exec_ext
in '' $ac_executable_extensions; do
9870 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9871 ac_cv_prog_AWK
="$ac_prog"
9872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9882 if test -n "$AWK"; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9884 $as_echo "$AWK" >&6; }
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9887 $as_echo "no" >&6; }
9891 test -n "$AWK" && break
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
9895 $as_echo_n "checking for egrep... " >&6; }
9896 if ${ac_cv_path_EGREP+:} false
; then :
9897 $as_echo_n "(cached) " >&6
9899 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
9900 then ac_cv_path_EGREP
="$GREP -E"
9902 if test -z "$EGREP"; then
9903 ac_path_EGREP_found
=false
9904 # Loop through the user's path and test for each of PROGNAME-LIST
9905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9906 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
9909 test -z "$as_dir" && as_dir
=.
9910 for ac_prog
in egrep; do
9911 for ac_exec_ext
in '' $ac_executable_extensions; do
9912 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
9913 as_fn_executable_p
"$ac_path_EGREP" ||
continue
9914 # Check for GNU ac_path_EGREP and select it if it is found.
9915 # Check for GNU $ac_path_EGREP
9916 case `"$ac_path_EGREP" --version 2>&1` in
9918 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
9921 $as_echo_n 0123456789 >"conftest.in"
9924 cat "conftest.in" "conftest.in" >"conftest.tmp"
9925 mv "conftest.tmp" "conftest.in"
9926 cp "conftest.in" "conftest.nl"
9927 $as_echo 'EGREP' >> "conftest.nl"
9928 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
9929 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
9930 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
9931 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9932 # Best one so far, save it but keep looking for a better one
9933 ac_cv_path_EGREP
="$ac_path_EGREP"
9934 ac_path_EGREP_max
=$ac_count
9936 # 10*(2^10) chars as input seems more than enough
9937 test $ac_count -gt 10 && break
9939 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
9942 $ac_path_EGREP_found && break 3
9947 if test -z "$ac_cv_path_EGREP"; then
9948 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9951 ac_cv_path_EGREP
=$EGREP
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
9957 $as_echo "$ac_cv_path_EGREP" >&6; }
9958 EGREP
="$ac_cv_path_EGREP"
9961 # Extract the first word of "sed", so it can be a program name with args.
9962 set dummy
sed; ac_word
=$2
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9964 $as_echo_n "checking for $ac_word... " >&6; }
9965 if ${ac_cv_path_SED+:} false
; then :
9966 $as_echo_n "(cached) " >&6
9970 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
9973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9977 test -z "$as_dir" && as_dir
=.
9978 for ac_exec_ext
in '' $ac_executable_extensions; do
9979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9980 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
9981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9988 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
9993 if test -n "$SED"; then
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
9995 $as_echo "$SED" >&6; }
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9998 $as_echo "no" >&6; }
10002 # Extract the first word of "perl", so it can be a program name with args.
10003 set dummy perl
; ac_word
=$2
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10005 $as_echo_n "checking for $ac_word... " >&6; }
10006 if ${ac_cv_path_PERL+:} false
; then :
10007 $as_echo_n "(cached) " >&6
10011 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
10014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10015 for as_dir
in $PATH
10018 test -z "$as_dir" && as_dir
=.
10019 for ac_exec_ext
in '' $ac_executable_extensions; do
10020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10021 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
10022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10029 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl"
10033 PERL
=$ac_cv_path_PERL
10034 if test -n "$PERL"; then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
10036 $as_echo "$PERL" >&6; }
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10039 $as_echo "no" >&6; }
10043 # Extract the first word of "ldconfig", so it can be a program name with args.
10044 set dummy ldconfig
; ac_word
=$2
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10046 $as_echo_n "checking for $ac_word... " >&6; }
10047 if ${ac_cv_path_LDCONFIG+:} false
; then :
10048 $as_echo_n "(cached) " >&6
10052 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
10055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10056 for as_dir
in $PATH
10059 test -z "$as_dir" && as_dir
=.
10060 for ac_exec_ext
in '' $ac_executable_extensions; do
10061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10062 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10070 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
=":"
10074 LDCONFIG
=$ac_cv_path_LDCONFIG
10075 if test -n "$LDCONFIG"; then
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
10077 $as_echo "$LDCONFIG" >&6; }
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10080 $as_echo "no" >&6; }
10084 if test -n "$ac_tool_prefix"; then
10085 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10086 set dummy
${ac_tool_prefix}ar; ac_word
=$2
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10088 $as_echo_n "checking for $ac_word... " >&6; }
10089 if ${ac_cv_prog_AR+:} false
; then :
10090 $as_echo_n "(cached) " >&6
10092 if test -n "$AR"; then
10093 ac_cv_prog_AR
="$AR" # Let the user override the test.
10095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10096 for as_dir
in $PATH
10099 test -z "$as_dir" && as_dir
=.
10100 for ac_exec_ext
in '' $ac_executable_extensions; do
10101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10102 ac_cv_prog_AR
="${ac_tool_prefix}ar"
10103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10113 if test -n "$AR"; then
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10115 $as_echo "$AR" >&6; }
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10118 $as_echo "no" >&6; }
10123 if test -z "$ac_cv_prog_AR"; then
10125 # Extract the first word of "ar", so it can be a program name with args.
10126 set dummy
ar; ac_word
=$2
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10128 $as_echo_n "checking for $ac_word... " >&6; }
10129 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
10130 $as_echo_n "(cached) " >&6
10132 if test -n "$ac_ct_AR"; then
10133 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
10135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10136 for as_dir
in $PATH
10139 test -z "$as_dir" && as_dir
=.
10140 for ac_exec_ext
in '' $ac_executable_extensions; do
10141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10142 ac_cv_prog_ac_ct_AR
="ar"
10143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10152 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
10153 if test -n "$ac_ct_AR"; then
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10155 $as_echo "$ac_ct_AR" >&6; }
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10158 $as_echo "no" >&6; }
10161 if test "x$ac_ct_AR" = x
; then
10164 case $cross_compiling:$ac_tool_warned in
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10168 ac_tool_warned
=yes ;;
10173 AR
="$ac_cv_prog_AR"
10176 if test -n "$ac_tool_prefix"; then
10177 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10178 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10180 $as_echo_n "checking for $ac_word... " >&6; }
10181 if ${ac_cv_prog_RANLIB+:} false
; then :
10182 $as_echo_n "(cached) " >&6
10184 if test -n "$RANLIB"; then
10185 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
10187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10188 for as_dir
in $PATH
10191 test -z "$as_dir" && as_dir
=.
10192 for ac_exec_ext
in '' $ac_executable_extensions; do
10193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10194 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
10195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 RANLIB
=$ac_cv_prog_RANLIB
10205 if test -n "$RANLIB"; then
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10207 $as_echo "$RANLIB" >&6; }
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10210 $as_echo "no" >&6; }
10215 if test -z "$ac_cv_prog_RANLIB"; then
10216 ac_ct_RANLIB
=$RANLIB
10217 # Extract the first word of "ranlib", so it can be a program name with args.
10218 set dummy ranlib
; ac_word
=$2
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10220 $as_echo_n "checking for $ac_word... " >&6; }
10221 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
10222 $as_echo_n "(cached) " >&6
10224 if test -n "$ac_ct_RANLIB"; then
10225 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
10227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10228 for as_dir
in $PATH
10231 test -z "$as_dir" && as_dir
=.
10232 for ac_exec_ext
in '' $ac_executable_extensions; do
10233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10234 ac_cv_prog_ac_ct_RANLIB
="ranlib"
10235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10244 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
10245 if test -n "$ac_ct_RANLIB"; then
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10247 $as_echo "$ac_ct_RANLIB" >&6; }
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10250 $as_echo "no" >&6; }
10253 if test "x$ac_ct_RANLIB" = x
; then
10256 case $cross_compiling:$ac_tool_warned in
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10260 ac_tool_warned
=yes ;;
10262 RANLIB
=$ac_ct_RANLIB
10265 RANLIB
="$ac_cv_prog_RANLIB"
10268 if test -n "$ac_tool_prefix"; then
10269 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10270 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10272 $as_echo_n "checking for $ac_word... " >&6; }
10273 if ${ac_cv_prog_STRIP+:} false
; then :
10274 $as_echo_n "(cached) " >&6
10276 if test -n "$STRIP"; then
10277 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
10279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10280 for as_dir
in $PATH
10283 test -z "$as_dir" && as_dir
=.
10284 for ac_exec_ext
in '' $ac_executable_extensions; do
10285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10286 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
10287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10296 STRIP
=$ac_cv_prog_STRIP
10297 if test -n "$STRIP"; then
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10299 $as_echo "$STRIP" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10302 $as_echo "no" >&6; }
10307 if test -z "$ac_cv_prog_STRIP"; then
10309 # Extract the first word of "strip", so it can be a program name with args.
10310 set dummy strip
; ac_word
=$2
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10312 $as_echo_n "checking for $ac_word... " >&6; }
10313 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
10314 $as_echo_n "(cached) " >&6
10316 if test -n "$ac_ct_STRIP"; then
10317 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
10319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10320 for as_dir
in $PATH
10323 test -z "$as_dir" && as_dir
=.
10324 for ac_exec_ext
in '' $ac_executable_extensions; do
10325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10326 ac_cv_prog_ac_ct_STRIP
="strip"
10327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10336 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
10337 if test -n "$ac_ct_STRIP"; then
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10339 $as_echo "$ac_ct_STRIP" >&6; }
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10342 $as_echo "no" >&6; }
10345 if test "x$ac_ct_STRIP" = x
; then
10348 case $cross_compiling:$ac_tool_warned in
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10352 ac_tool_warned
=yes ;;
10357 STRIP
="$ac_cv_prog_STRIP"
10360 # Extract the first word of "makeinfo", so it can be a program name with args.
10361 set dummy makeinfo
; ac_word
=$2
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10363 $as_echo_n "checking for $ac_word... " >&6; }
10364 if ${ac_cv_prog_MAKEINFO+:} false
; then :
10365 $as_echo_n "(cached) " >&6
10367 if test -n "$MAKEINFO"; then
10368 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
10370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10371 for as_dir
in $PATH
10374 test -z "$as_dir" && as_dir
=.
10375 for ac_exec_ext
in '' $ac_executable_extensions; do
10376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10377 ac_cv_prog_MAKEINFO
="makeinfo"
10378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10387 MAKEINFO
=$ac_cv_prog_MAKEINFO
10388 if test -n "$MAKEINFO"; then
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
10390 $as_echo "$MAKEINFO" >&6; }
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10393 $as_echo "no" >&6; }
10397 if test "_$MAKEINFO" = "_"; then
10398 MAKEINFO
="echo Makeinfo is missing. Info documentation will not be built."
10400 case "$MAKEINFO" in
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10403 *** Makeinfo is missing. Info documentation will not be built." >&5
10404 $as_echo "$as_me: WARNING:
10405 *** Makeinfo is missing. Info documentation will not be built." >&2;}
10413 # See if we need a separate native compiler.
10414 if test $cross_compiling = no
; then
10418 for ac_prog
in gcc cc
10420 # Extract the first word of "$ac_prog", so it can be a program name with args.
10421 set dummy
$ac_prog; ac_word
=$2
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10423 $as_echo_n "checking for $ac_word... " >&6; }
10424 if ${ac_cv_prog_BUILD_CC+:} false
; then :
10425 $as_echo_n "(cached) " >&6
10427 if test -n "$BUILD_CC"; then
10428 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
10430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10431 for as_dir
in $PATH
10434 test -z "$as_dir" && as_dir
=.
10435 for ac_exec_ext
in '' $ac_executable_extensions; do
10436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10437 ac_cv_prog_BUILD_CC
="$ac_prog"
10438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10447 BUILD_CC
=$ac_cv_prog_BUILD_CC
10448 if test -n "$BUILD_CC"; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
10450 $as_echo "$BUILD_CC" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10453 $as_echo "no" >&6; }
10457 test -n "$BUILD_CC" && break
10461 for ac_header
in dirent.h errno.h execinfo.h getopt.h malloc.h mntent.h paths.h pthread.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
/fsmap.h linux
/major.h linux
/loop.h linux
/types.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
/sysmacros.h sys
/time.h sys
/types.h sys
/un.h sys
/wait.h sys
/xattr.h
10463 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10464 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10465 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10466 cat >>confdefs.h
<<_ACEOF
10467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a dd(1) program that supports iflag=fullblock" >&5
10475 $as_echo_n "checking for a dd(1) program that supports iflag=fullblock... " >&6; }
10477 for i
in dd gdd
; do
10478 if "$i" if=/dev
/null of
=/dev
/null count
=1 bs
=10k
2>/dev
/null iflag
=fullblock oflag
=append
; then
10483 if test -n "$DD" ; then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DD" >&5
10485 $as_echo "$DD" >&6; }
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found, using dd" >&5
10488 $as_echo "not found, using dd" >&6; }
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No GNU-compatible dd(1) program found, expect some self-test failures." >&5
10491 $as_echo "$as_me: WARNING: No GNU-compatible dd(1) program found, expect some self-test failures." >&2;}
10495 for ac_header
in net
/if.h
10497 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
10498 #if HAVE_SYS_TYPES_H
10499 #include <sys/types.h>
10501 #if HAVE_SYS_SOCKET
10502 #include <sys/socket.h>
10506 if test "x$ac_cv_header_net_if_h" = xyes
; then :
10507 cat >>confdefs.h
<<_ACEOF
10508 #define HAVE_NET_IF_H 1
10515 for ac_func
in vprintf
10517 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
10518 if test "x$ac_cv_func_vprintf" = xyes
; then :
10519 cat >>confdefs.h
<<_ACEOF
10520 #define HAVE_VPRINTF 1
10523 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
10524 if test "x$ac_cv_func__doprnt" = xyes
; then :
10526 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10534 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#include <dirent.h>
10536 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
10538 $as_echo "#define HAVE_RECLEN_DIRENT 1" >>confdefs.h
10542 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
10543 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
10545 cat >>confdefs.h
<<_ACEOF
10546 #define HAVE_STRUCT_STAT_ST_ATIM 1
10552 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
10554 if test "x$ac_cv_type_ssize_t" = xyes
; then :
10556 $as_echo "#define HAVE_TYPE_SSIZE_T 1" >>confdefs.h
10560 ac_fn_c_check_decl
"$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
10562 if test "x$ac_cv_have_decl_llseek" = xyes
; then :
10564 $as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
10568 ac_fn_c_check_decl
"$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE
10569 #define _LARGEFILE64_SOURCE
10570 #include <unistd.h>
10572 if test "x$ac_cv_have_decl_lseek64" = xyes
; then :
10574 $as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
10578 # The cast to long int works around a bug in the HP C Compiler
10579 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10580 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10581 # This bug is HP SR number 8606223364.
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
10583 $as_echo_n "checking size of short... " >&6; }
10584 if ${ac_cv_sizeof_short+:} false
; then :
10585 $as_echo_n "(cached) " >&6
10587 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
10590 if test "$ac_cv_type_short" = yes; then
10591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10593 as_fn_error
77 "cannot compute sizeof (short)
10594 See \`config.log' for more details" "$LINENO" 5; }
10596 ac_cv_sizeof_short
=0
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
10602 $as_echo "$ac_cv_sizeof_short" >&6; }
10606 cat >>confdefs.h
<<_ACEOF
10607 #define SIZEOF_SHORT $ac_cv_sizeof_short
10611 # The cast to long int works around a bug in the HP C Compiler
10612 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10613 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10614 # This bug is HP SR number 8606223364.
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
10616 $as_echo_n "checking size of int... " >&6; }
10617 if ${ac_cv_sizeof_int+:} false
; then :
10618 $as_echo_n "(cached) " >&6
10620 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
10623 if test "$ac_cv_type_int" = yes; then
10624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10626 as_fn_error
77 "cannot compute sizeof (int)
10627 See \`config.log' for more details" "$LINENO" 5; }
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
10635 $as_echo "$ac_cv_sizeof_int" >&6; }
10639 cat >>confdefs.h
<<_ACEOF
10640 #define SIZEOF_INT $ac_cv_sizeof_int
10644 # The cast to long int works around a bug in the HP C Compiler
10645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10646 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10647 # This bug is HP SR number 8606223364.
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
10649 $as_echo_n "checking size of long... " >&6; }
10650 if ${ac_cv_sizeof_long+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
10656 if test "$ac_cv_type_long" = yes; then
10657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10659 as_fn_error
77 "cannot compute sizeof (long)
10660 See \`config.log' for more details" "$LINENO" 5; }
10662 ac_cv_sizeof_long
=0
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
10668 $as_echo "$ac_cv_sizeof_long" >&6; }
10672 cat >>confdefs.h
<<_ACEOF
10673 #define SIZEOF_LONG $ac_cv_sizeof_long
10677 # The cast to long int works around a bug in the HP C Compiler
10678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10680 # This bug is HP SR number 8606223364.
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
10682 $as_echo_n "checking size of long long... " >&6; }
10683 if ${ac_cv_sizeof_long_long+:} false
; then :
10684 $as_echo_n "(cached) " >&6
10686 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
10689 if test "$ac_cv_type_long_long" = yes; then
10690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10692 as_fn_error
77 "cannot compute sizeof (long long)
10693 See \`config.log' for more details" "$LINENO" 5; }
10695 ac_cv_sizeof_long_long
=0
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
10701 $as_echo "$ac_cv_sizeof_long_long" >&6; }
10705 cat >>confdefs.h
<<_ACEOF
10706 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10710 # The cast to long int works around a bug in the HP C Compiler
10711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10713 # This bug is HP SR number 8606223364.
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
10715 $as_echo_n "checking size of off_t... " >&6; }
10716 if ${ac_cv_sizeof_off_t+:} false
; then :
10717 $as_echo_n "(cached) " >&6
10719 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
10722 if test "$ac_cv_type_off_t" = yes; then
10723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10725 as_fn_error
77 "cannot compute sizeof (off_t)
10726 See \`config.log' for more details" "$LINENO" 5; }
10728 ac_cv_sizeof_off_t
=0
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
10734 $as_echo "$ac_cv_sizeof_off_t" >&6; }
10738 cat >>confdefs.h
<<_ACEOF
10739 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
10743 # The cast to long int works around a bug in the HP C Compiler
10744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10746 # This bug is HP SR number 8606223364.
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
10748 $as_echo_n "checking size of time_t... " >&6; }
10749 if ${ac_cv_sizeof_time_t+:} false
; then :
10750 $as_echo_n "(cached) " >&6
10752 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
10755 if test "$ac_cv_type_time_t" = yes; then
10756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10758 as_fn_error
77 "cannot compute sizeof (time_t)
10759 See \`config.log' for more details" "$LINENO" 5; }
10761 ac_cv_sizeof_time_t
=0
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
10767 $as_echo "$ac_cv_sizeof_time_t" >&6; }
10771 cat >>confdefs.h
<<_ACEOF
10772 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
10776 SIZEOF_SHORT
=$ac_cv_sizeof_short
10777 SIZEOF_INT
=$ac_cv_sizeof_int
10778 SIZEOF_LONG
=$ac_cv_sizeof_long
10779 SIZEOF_LONG_LONG
=$ac_cv_sizeof_long_long
10780 SIZEOF_OFF_T
=$ac_cv_sizeof_off_t
10781 SIZEOF_TIME_T
=$ac_cv_sizeof_time_t
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
10789 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
10790 if ${ac_cv_c_bigendian+:} false
; then :
10791 $as_echo_n "(cached) " >&6
10793 ac_cv_c_bigendian
=unknown
10794 # See if we're dealing with a universal compiler.
10795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10797 #ifndef __APPLE_CC__
10798 not a universal capable compiler
10803 if ac_fn_c_try_compile
"$LINENO"; then :
10805 # Check for potential -arch flags. It is not universal unless
10806 # there are at least two -arch flags with different values.
10809 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
10810 if test -n "$ac_prev"; then
10812 i?
86 | x86_64 | ppc | ppc64
)
10813 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
10816 ac_cv_c_bigendian
=universal
10822 elif test "x$ac_word" = "x-arch"; then
10827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10828 if test $ac_cv_c_bigendian = unknown
; then
10829 # See if sys/param.h defines the BYTE_ORDER macro.
10830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10832 #include <sys/types.h>
10833 #include <sys/param.h>
10838 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
10839 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
10841 bogus endian macros
10848 if ac_fn_c_try_compile
"$LINENO"; then :
10849 # It does; now see whether it defined to BIG_ENDIAN or not.
10850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10852 #include <sys/types.h>
10853 #include <sys/param.h>
10858 #if BYTE_ORDER != BIG_ENDIAN
10866 if ac_fn_c_try_compile
"$LINENO"; then :
10867 ac_cv_c_bigendian
=yes
10869 ac_cv_c_bigendian
=no
10871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10875 if test $ac_cv_c_bigendian = unknown
; then
10876 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
10877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10879 #include <limits.h>
10884 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
10885 bogus endian macros
10892 if ac_fn_c_try_compile
"$LINENO"; then :
10893 # It does; now see whether it defined to _BIG_ENDIAN or not.
10894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896 #include <limits.h>
10901 #ifndef _BIG_ENDIAN
10909 if ac_fn_c_try_compile
"$LINENO"; then :
10910 ac_cv_c_bigendian
=yes
10912 ac_cv_c_bigendian
=no
10914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10918 if test $ac_cv_c_bigendian = unknown
; then
10919 # Compile a test program.
10920 if test "$cross_compiling" = yes; then :
10921 # Try to guess by grepping values from an object file.
10922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10924 short int ascii_mm[] =
10925 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
10926 short int ascii_ii[] =
10927 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
10928 int use_ascii (int i) {
10929 return ascii_mm[i] + ascii_ii[i];
10931 short int ebcdic_ii[] =
10932 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
10933 short int ebcdic_mm[] =
10934 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
10935 int use_ebcdic (int i) {
10936 return ebcdic_mm[i] + ebcdic_ii[i];
10943 return use_ascii (foo) == use_ebcdic (foo);
10948 if ac_fn_c_try_compile
"$LINENO"; then :
10949 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
10950 ac_cv_c_bigendian
=yes
10952 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
10953 if test "$ac_cv_c_bigendian" = unknown
; then
10954 ac_cv_c_bigendian
=no
10956 # finding both strings is unlikely to happen, but who knows?
10957 ac_cv_c_bigendian
=unknown
10961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 $ac_includes_default
10970 /* Are we little or big endian? From Harbison&Steele. */
10974 char c[sizeof (long int)];
10977 return u.c[sizeof (long int) - 1] == 1;
10983 if ac_fn_c_try_run
"$LINENO"; then :
10984 ac_cv_c_bigendian
=no
10986 ac_cv_c_bigendian
=yes
10988 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10989 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
10995 $as_echo "$ac_cv_c_bigendian" >&6; }
10996 case $ac_cv_c_bigendian in #(
10998 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11004 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11008 as_fn_error $?
"unknown endianness
11009 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11012 if test $cross_compiling = no
; then
11013 BUILD_CC
="$BUILD_CC" CPP
="$CPP" /bin
/sh
$ac_aux_dir/parse-types.sh
11015 CROSS_COMPILE
="1" BUILD_CC
="$BUILD_CC" CPP
="$CPP" /bin
/sh
$ac_aux_dir/parse-types.sh
11017 ASM_TYPES_HEADER
=.
/asm_types.h
11019 echo "/* These defines are needed for the public ext2fs.h header file */" \
11021 if grep HAVE_SYS_TYPES_H confdefs.h
> tmp_config.$$
; then
11022 uniq tmp_config.$$
>> public_config.h
11024 echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
11026 if grep WORDS_BIGENDIAN confdefs.h
> tmp_config.$$
; then
11027 uniq tmp_config.$$
>> public_config.h
11029 echo "#undef WORDS_BIGENDIAN" >> public_config.h
11031 rm -f tmp_config.$$
11032 PUBLIC_CONFIG_HEADER
=.
/public_config.h
11034 for ac_header
in inttypes.h
11036 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
11037 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
11038 cat >>confdefs.h
<<_ACEOF
11039 #define HAVE_INTTYPES_H 1
11046 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
11047 if test "x$ac_cv_type_intptr_t" = xyes
; then :
11049 cat >>confdefs.h
<<_ACEOF
11050 #define HAVE_INTPTR_T 1
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat has a st_flags field" >&5
11057 $as_echo_n "checking whether struct stat has a st_flags field... " >&6; }
11058 if ${e2fsprogs_cv_struct_st_flags+:} false
; then :
11059 $as_echo_n "(cached) " >&6
11061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11063 #include <sys/stat.h>
11067 struct stat stat; stat.st_flags = 0;
11072 if ac_fn_c_try_compile
"$LINENO"; then :
11073 e2fsprogs_cv_struct_st_flags
=yes
11075 e2fsprogs_cv_struct_st_flags
=no
11077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags" >&5
11081 $as_echo "$e2fsprogs_cv_struct_st_flags" >&6; }
11082 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether st_flags field is useful" >&5
11084 $as_echo_n "checking whether st_flags field is useful... " >&6; }
11085 if ${e2fsprogs_cv_struct_st_flags_immut+:} false
; then :
11086 $as_echo_n "(cached) " >&6
11088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11090 #include <sys/stat.h>
11094 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
11099 if ac_fn_c_try_compile
"$LINENO"; then :
11100 e2fsprogs_cv_struct_st_flags_immut
=yes
11102 e2fsprogs_cv_struct_st_flags_immut
=no
11104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
11108 $as_echo "$e2fsprogs_cv_struct_st_flags_immut" >&6; }
11109 if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
11111 $as_echo "#define HAVE_STAT_FLAGS 1" >>confdefs.h
11115 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
11116 #include <sys/socket.h>
11118 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
11120 cat >>confdefs.h
<<_ACEOF
11121 #define HAVE_SA_LEN 1
11126 if test -n "$BLKID_CMT"; then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_probe_get_topology in -lblkid" >&5
11128 $as_echo_n "checking for blkid_probe_get_topology in -lblkid... " >&6; }
11129 if ${ac_cv_lib_blkid_blkid_probe_get_topology+:} false
; then :
11130 $as_echo_n "(cached) " >&6
11132 ac_check_lib_save_LIBS
=$LIBS
11133 LIBS
="-lblkid $LIBS"
11134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11137 /* Override any GCC internal prototype to avoid an error.
11138 Use char because int might match the return type of a GCC
11139 builtin and then its argument prototype would still apply. */
11143 char blkid_probe_get_topology ();
11147 return blkid_probe_get_topology ();
11152 if ac_fn_c_try_link
"$LINENO"; then :
11153 ac_cv_lib_blkid_blkid_probe_get_topology
=yes
11155 ac_cv_lib_blkid_blkid_probe_get_topology
=no
11157 rm -f core conftest.err conftest.
$ac_objext \
11158 conftest
$ac_exeext conftest.
$ac_ext
11159 LIBS
=$ac_check_lib_save_LIBS
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_probe_get_topology" >&5
11162 $as_echo "$ac_cv_lib_blkid_blkid_probe_get_topology" >&6; }
11163 if test "x$ac_cv_lib_blkid_blkid_probe_get_topology" = xyes
; then :
11165 $as_echo "#define HAVE_BLKID_PROBE_GET_TOPOLOGY 1" >>confdefs.h
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_topology_get_dax in -lblkid" >&5
11170 $as_echo_n "checking for blkid_topology_get_dax in -lblkid... " >&6; }
11171 if ${ac_cv_lib_blkid_blkid_topology_get_dax+:} false
; then :
11172 $as_echo_n "(cached) " >&6
11174 ac_check_lib_save_LIBS
=$LIBS
11175 LIBS
="-lblkid $LIBS"
11176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11185 char blkid_topology_get_dax ();
11189 return blkid_topology_get_dax ();
11194 if ac_fn_c_try_link
"$LINENO"; then :
11195 ac_cv_lib_blkid_blkid_topology_get_dax
=yes
11197 ac_cv_lib_blkid_blkid_topology_get_dax
=no
11199 rm -f core conftest.err conftest.
$ac_objext \
11200 conftest
$ac_exeext conftest.
$ac_ext
11201 LIBS
=$ac_check_lib_save_LIBS
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_topology_get_dax" >&5
11204 $as_echo "$ac_cv_lib_blkid_blkid_topology_get_dax" >&6; }
11205 if test "x$ac_cv_lib_blkid_blkid_topology_get_dax" = xyes
; then :
11207 $as_echo "#define HAVE_BLKID_TOPOLOGY_GET_DAX 1" >>confdefs.h
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_probe_enable_partitions in -lblkid" >&5
11212 $as_echo_n "checking for blkid_probe_enable_partitions in -lblkid... " >&6; }
11213 if ${ac_cv_lib_blkid_blkid_probe_enable_partitions+:} false
; then :
11214 $as_echo_n "(cached) " >&6
11216 ac_check_lib_save_LIBS
=$LIBS
11217 LIBS
="-lblkid $LIBS"
11218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11227 char blkid_probe_enable_partitions ();
11231 return blkid_probe_enable_partitions ();
11236 if ac_fn_c_try_link
"$LINENO"; then :
11237 ac_cv_lib_blkid_blkid_probe_enable_partitions
=yes
11239 ac_cv_lib_blkid_blkid_probe_enable_partitions
=no
11241 rm -f core conftest.err conftest.
$ac_objext \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 LIBS
=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_probe_enable_partitions" >&5
11246 $as_echo "$ac_cv_lib_blkid_blkid_probe_enable_partitions" >&6; }
11247 if test "x$ac_cv_lib_blkid_blkid_probe_enable_partitions" = xyes
; then :
11249 $as_echo "#define HAVE_BLKID_PROBE_ENABLE_PARTITIONS 1" >>confdefs.h
11254 if test -n "$DLOPEN_LIB" ; then
11255 ac_cv_func_dlopen
=yes
11257 for ac_func
in __secure_getenv add_key backtrace chflags dlopen fadvise64 fallocate fallocate64 fchown fcntl fdatasync fstat64 fsync ftruncate64 futimes getcwd getdtablesize gethostname 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
11259 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11260 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11261 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11262 cat >>confdefs.h
<<_ACEOF
11263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
11271 $as_echo_n "checking for socket in -lsocket... " >&6; }
11272 if ${ac_cv_lib_socket_socket+:} false
; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_lib_save_LIBS
=$LIBS
11276 LIBS
="-lsocket $LIBS"
11277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11295 if ac_fn_c_try_link
"$LINENO"; then :
11296 ac_cv_lib_socket_socket
=yes
11298 ac_cv_lib_socket_socket
=no
11300 rm -f core conftest.err conftest.
$ac_objext \
11301 conftest
$ac_exeext conftest.
$ac_ext
11302 LIBS
=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
11305 $as_echo "$ac_cv_lib_socket_socket" >&6; }
11306 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
11307 SOCKET_LIB
=-lsocket
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
11312 $as_echo_n "checking for magic_file in -lmagic... " >&6; }
11313 if ${ac_cv_lib_magic_magic_file+:} false
; then :
11314 $as_echo_n "(cached) " >&6
11316 ac_check_lib_save_LIBS
=$LIBS
11317 LIBS
="-lmagic $LIBS"
11318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11321 /* Override any GCC internal prototype to avoid an error.
11322 Use char because int might match the return type of a GCC
11323 builtin and then its argument prototype would still apply. */
11327 char magic_file ();
11331 return magic_file ();
11336 if ac_fn_c_try_link
"$LINENO"; then :
11337 ac_cv_lib_magic_magic_file
=yes
11339 ac_cv_lib_magic_magic_file
=no
11341 rm -f core conftest.err conftest.
$ac_objext \
11342 conftest
$ac_exeext conftest.
$ac_ext
11343 LIBS
=$ac_check_lib_save_LIBS
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
11346 $as_echo "$ac_cv_lib_magic_magic_file" >&6; }
11347 if test "x$ac_cv_lib_magic_magic_file" = xyes
; then :
11349 for ac_header
in magic.h
11351 ac_fn_c_check_header_mongrel
"$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
11352 if test "x$ac_cv_header_magic_h" = xyes
; then :
11353 cat >>confdefs.h
<<_ACEOF
11354 #define HAVE_MAGIC_H 1
11363 if test "$ac_cv_func_dlopen" = yes ; then
11364 MAGIC_LIB
=$DLOPEN_LIB
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
11368 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
11369 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
11370 $as_echo_n "(cached) " >&6
11372 ac_check_lib_save_LIBS
=$LIBS
11374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11377 /* Override any GCC internal prototype to avoid an error.
11378 Use char because int might match the return type of a GCC
11379 builtin and then its argument prototype would still apply. */
11383 char clock_gettime ();
11387 return clock_gettime ();
11392 if ac_fn_c_try_link
"$LINENO"; then :
11393 ac_cv_lib_rt_clock_gettime
=yes
11395 ac_cv_lib_rt_clock_gettime
=no
11397 rm -f core conftest.err conftest.
$ac_objext \
11398 conftest
$ac_exeext conftest.
$ac_ext
11399 LIBS
=$ac_check_lib_save_LIBS
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
11402 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
11403 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
11404 CLOCK_GETTIME_LIB
=-lrt
11410 # Check whether --enable-fuse2fs was given.
11411 if test "${enable_fuse2fs+set}" = set; then :
11412 enableval
=$enable_fuse2fs; if test "$enableval" = "no"
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling fuse2fs" >&5
11416 $as_echo "Disabling fuse2fs" >&6; }
11418 for ac_header
in pthread.h fuse.h
11420 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11421 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
11422 #define FUSE_USE_VERSION 29
11424 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11425 cat >>confdefs.h
<<_ACEOF
11426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11432 as_fn_error $?
"Cannot find fuse2fs headers.
11433 See \`config.log' for more details" "$LINENO" 5; }
11439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11441 #define FUSE_USE_VERSION 29
11443 #include <linux/fs.h>
11444 #include <linux/falloc.h>
11445 #include <linux/xattr.h>
11456 if ac_fn_c_try_cpp
"$LINENO"; then :
11459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11461 as_fn_error $?
"Cannot find fuse2fs Linux headers.
11462 See \`config.log' for more details" "$LINENO" 5; }
11464 rm -f conftest.err conftest.i conftest.
$ac_ext
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
11467 $as_echo_n "checking for fuse_main in -losxfuse... " >&6; }
11468 if ${ac_cv_lib_osxfuse_fuse_main+:} false
; then :
11469 $as_echo_n "(cached) " >&6
11471 ac_check_lib_save_LIBS
=$LIBS
11472 LIBS
="-losxfuse $LIBS"
11473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11476 /* Override any GCC internal prototype to avoid an error.
11477 Use char because int might match the return type of a GCC
11478 builtin and then its argument prototype would still apply. */
11486 return fuse_main ();
11491 if ac_fn_c_try_link
"$LINENO"; then :
11492 ac_cv_lib_osxfuse_fuse_main
=yes
11494 ac_cv_lib_osxfuse_fuse_main
=no
11496 rm -f core conftest.err conftest.
$ac_objext \
11497 conftest
$ac_exeext conftest.
$ac_ext
11498 LIBS
=$ac_check_lib_save_LIBS
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
11501 $as_echo "$ac_cv_lib_osxfuse_fuse_main" >&6; }
11502 if test "x$ac_cv_lib_osxfuse_fuse_main" = xyes
; then :
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
11506 $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
11507 if ${ac_cv_lib_fuse_fuse_main+:} false
; then :
11508 $as_echo_n "(cached) " >&6
11510 ac_check_lib_save_LIBS
=$LIBS
11511 LIBS
="-lfuse $LIBS"
11512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11515 /* Override any GCC internal prototype to avoid an error.
11516 Use char because int might match the return type of a GCC
11517 builtin and then its argument prototype would still apply. */
11525 return fuse_main ();
11530 if ac_fn_c_try_link
"$LINENO"; then :
11531 ac_cv_lib_fuse_fuse_main
=yes
11533 ac_cv_lib_fuse_fuse_main
=no
11535 rm -f core conftest.err conftest.
$ac_objext \
11536 conftest
$ac_exeext conftest.
$ac_ext
11537 LIBS
=$ac_check_lib_save_LIBS
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
11540 $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
11541 if test "x$ac_cv_lib_fuse_fuse_main" = xyes
; then :
11544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11546 as_fn_error $?
"Cannot find fuse library.
11547 See \`config.log' for more details" "$LINENO" 5; }
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs" >&5
11553 $as_echo "Enabling fuse2fs" >&6; }
11557 for ac_header
in pthread.h fuse.h
11559 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11560 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
11561 #define FUSE_USE_VERSION 29
11563 # include <linux/fs.h>
11564 # include <linux/falloc.h>
11565 # include <linux/xattr.h>
11568 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11569 cat >>confdefs.h
<<_ACEOF
11570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11579 if test -z "$FUSE_CMT"
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
11582 $as_echo_n "checking for fuse_main in -losxfuse... " >&6; }
11583 if ${ac_cv_lib_osxfuse_fuse_main+:} false
; then :
11584 $as_echo_n "(cached) " >&6
11586 ac_check_lib_save_LIBS
=$LIBS
11587 LIBS
="-losxfuse $LIBS"
11588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11601 return fuse_main ();
11606 if ac_fn_c_try_link
"$LINENO"; then :
11607 ac_cv_lib_osxfuse_fuse_main
=yes
11609 ac_cv_lib_osxfuse_fuse_main
=no
11611 rm -f core conftest.err conftest.
$ac_objext \
11612 conftest
$ac_exeext conftest.
$ac_ext
11613 LIBS
=$ac_check_lib_save_LIBS
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
11616 $as_echo "$ac_cv_lib_osxfuse_fuse_main" >&6; }
11617 if test "x$ac_cv_lib_osxfuse_fuse_main" = xyes
; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
11621 $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
11622 if ${ac_cv_lib_fuse_fuse_main+:} false
; then :
11623 $as_echo_n "(cached) " >&6
11625 ac_check_lib_save_LIBS
=$LIBS
11626 LIBS
="-lfuse $LIBS"
11627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11630 /* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11640 return fuse_main ();
11645 if ac_fn_c_try_link
"$LINENO"; then :
11646 ac_cv_lib_fuse_fuse_main
=yes
11648 ac_cv_lib_fuse_fuse_main
=no
11650 rm -f core conftest.err conftest.
$ac_objext \
11651 conftest
$ac_exeext conftest.
$ac_ext
11652 LIBS
=$ac_check_lib_save_LIBS
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
11655 $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
11656 if test "x$ac_cv_lib_fuse_fuse_main" = xyes
; then :
11665 if test -z "$FUSE_CMT"
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs by default." >&5
11668 $as_echo "Enabling fuse2fs by default." >&6; }
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optreset" >&5
11676 $as_echo_n "checking for optreset... " >&6; }
11677 if ${ac_cv_have_optreset+:} false
; then :
11678 $as_echo_n "(cached) " >&6
11680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11682 #include <unistd.h>
11685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11686 $EGREP "optreset" >/dev
/null
2>&1; then :
11687 ac_cv_have_optreset
=yes
11689 ac_cv_have_optreset
=no
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_optreset" >&5
11695 $as_echo "$ac_cv_have_optreset" >&6; }
11696 if test $ac_cv_have_optreset = yes; then
11698 $as_echo "#define HAVE_OPTRESET 1" >>confdefs.h
11703 echo GL_THREADS_API
: ${gl_threads_api}
11704 if test "${gl_threads_api}" != none
11706 ac_fn_c_check_func
"$LINENO" "sem_init" "ac_cv_func_sem_init"
11707 if test "x$ac_cv_func_sem_init" = xyes
; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
11711 $as_echo_n "checking for sem_init in -lpthread... " >&6; }
11712 if ${ac_cv_lib_pthread_sem_init+:} false
; then :
11713 $as_echo_n "(cached) " >&6
11715 ac_check_lib_save_LIBS
=$LIBS
11716 LIBS
="-lpthread $LIBS"
11717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11730 return sem_init ();
11735 if ac_fn_c_try_link
"$LINENO"; then :
11736 ac_cv_lib_pthread_sem_init
=yes
11738 ac_cv_lib_pthread_sem_init
=no
11740 rm -f core conftest.err conftest.
$ac_objext \
11741 conftest
$ac_exeext conftest.
$ac_ext
11742 LIBS
=$ac_check_lib_save_LIBS
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sem_init" >&5
11745 $as_echo "$ac_cv_lib_pthread_sem_init" >&6; }
11746 if test "x$ac_cv_lib_pthread_sem_init" = xyes
; then :
11747 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11749 SEM_INIT_LIB
=-lpthread
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
11752 $as_echo_n "checking for sem_init in -lrt... " >&6; }
11753 if ${ac_cv_lib_rt_sem_init+:} false
; then :
11754 $as_echo_n "(cached) " >&6
11756 ac_check_lib_save_LIBS
=$LIBS
11758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11771 return sem_init ();
11776 if ac_fn_c_try_link
"$LINENO"; then :
11777 ac_cv_lib_rt_sem_init
=yes
11779 ac_cv_lib_rt_sem_init
=no
11781 rm -f core conftest.err conftest.
$ac_objext \
11782 conftest
$ac_exeext conftest.
$ac_ext
11783 LIBS
=$ac_check_lib_save_LIBS
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
11786 $as_echo "$ac_cv_lib_rt_sem_init" >&6; }
11787 if test "x$ac_cv_lib_rt_sem_init" = xyes
; then :
11788 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lposix4" >&5
11793 $as_echo_n "checking for sem_init in -lposix4... " >&6; }
11794 if ${ac_cv_lib_posix4_sem_init+:} false
; then :
11795 $as_echo_n "(cached) " >&6
11797 ac_check_lib_save_LIBS
=$LIBS
11798 LIBS
="-lposix4 $LIBS"
11799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11812 return sem_init ();
11817 if ac_fn_c_try_link
"$LINENO"; then :
11818 ac_cv_lib_posix4_sem_init
=yes
11820 ac_cv_lib_posix4_sem_init
=no
11822 rm -f core conftest.err conftest.
$ac_objext \
11823 conftest
$ac_exeext conftest.
$ac_ext
11824 LIBS
=$ac_check_lib_save_LIBS
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sem_init" >&5
11827 $as_echo "$ac_cv_lib_posix4_sem_init" >&6; }
11828 if test "x$ac_cv_lib_posix4_sem_init" = xyes
; then :
11829 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11831 SEM_INIT_LIB
=-lposix4
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unified diff option" >&5
11842 $as_echo_n "checking for unified diff option... " >&6; }
11843 if diff -u $0 $0 > /dev
/null
2>&1 ; then
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNI_DIFF_OPTS" >&5
11849 $as_echo "$UNI_DIFF_OPTS" >&6; }
11854 $as_echo "#define HAVE_EXT2_IOCTLS 1" >>confdefs.h
11859 $as_echo_n "checking for mount 'nosuid' option... "
11860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11862 #include <sys/mount.h>
11866 void *temp = (void *)(MS_NOSUID); (void) temp;
11871 if ac_fn_c_try_compile
"$LINENO"; then :
11873 $as_echo "#define HAVE_MOUNT_NOSUID 1" >>confdefs.h
11875 ac_cv_mount_nosuid
=yes
11878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #include <sys/mount.h>
11884 void *temp = (void *)(MNT_NOSUID); (void) temp;
11889 if ac_fn_c_try_compile
"$LINENO"; then :
11891 $as_echo "#define HAVE_MOUNT_NOSUID 1" >>confdefs.h
11893 ac_cv_mount_nosuid
=yes
11896 ac_cv_mount_nosuid
=no
11900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11906 $as_echo_n "checking for mount 'nodev' option... "
11907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11909 #include <sys/mount.h>
11913 void *temp = (void *)(MS_NODEV); (void) temp;
11918 if ac_fn_c_try_compile
"$LINENO"; then :
11920 $as_echo "#define HAVE_MOUNT_NODEV 1" >>confdefs.h
11922 ac_cv_mount_nodev
=yes
11925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11927 #include <sys/mount.h>
11931 void *temp = (void *)(MNT_NODEV); (void) temp;
11936 if ac_fn_c_try_compile
"$LINENO"; then :
11938 $as_echo "#define HAVE_MOUNT_NODEV 1" >>confdefs.h
11940 ac_cv_mount_nodev
=yes
11943 ac_cv_mount_nodev
=no
11947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11952 # Check whether --enable-lto was given.
11953 if test "${enable_lto+set}" = set; then :
11954 enableval
=$enable_lto;
11959 if test "$enable_lto" = "yes" ||
test "$enable_lto" = "probe"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler supports LTO" >&5
11961 $as_echo_n "checking if C compiler supports LTO... " >&6; }
11962 OLD_CFLAGS
="$CFLAGS"
11963 OLD_LDFLAGS
="$LDFLAGS"
11964 LTO_FLAGS
="-g -flto -ffat-lto-objects"
11965 CFLAGS
="$CFLAGS $LTO_FLAGS"
11966 LDFLAGS
="$LDFLAGS $LTO_FLAGS"
11967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11978 if ac_fn_c_try_link
"$LINENO"; then :
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11980 $as_echo "yes" >&6; }
11981 lto_cflags
=$LTO_FLAGS
11982 lto_ldflags
=$LTO_FLAGS
11983 # Extract the first word of "gcc-ar", so it can be a program name with args.
11984 set dummy gcc-ar
; ac_word
=$2
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11986 $as_echo_n "checking for $ac_word... " >&6; }
11987 if ${ac_cv_path_gcc_ar+:} false
; then :
11988 $as_echo_n "(cached) " >&6
11992 ac_cv_path_gcc_ar
="$gcc_ar" # Let the user override the test with a path.
11995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11996 for as_dir
in $PATH
11999 test -z "$as_dir" && as_dir
=.
12000 for ac_exec_ext
in '' $ac_executable_extensions; do
12001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12002 ac_cv_path_gcc_ar
="$as_dir/$ac_word$ac_exec_ext"
12003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12013 gcc_ar
=$ac_cv_path_gcc_ar
12014 if test -n "$gcc_ar"; then
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_ar" >&5
12016 $as_echo "$gcc_ar" >&6; }
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12019 $as_echo "no" >&6; }
12023 # Extract the first word of "gcc-ranlib", so it can be a program name with args.
12024 set dummy gcc-ranlib
; ac_word
=$2
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12026 $as_echo_n "checking for $ac_word... " >&6; }
12027 if ${ac_cv_path_gcc_ranlib+:} false
; then :
12028 $as_echo_n "(cached) " >&6
12030 case $gcc_ranlib in
12032 ac_cv_path_gcc_ranlib
="$gcc_ranlib" # Let the user override the test with a path.
12035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12036 for as_dir
in $PATH
12039 test -z "$as_dir" && as_dir
=.
12040 for ac_exec_ext
in '' $ac_executable_extensions; do
12041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12042 ac_cv_path_gcc_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12053 gcc_ranlib
=$ac_cv_path_gcc_ranlib
12054 if test -n "$gcc_ranlib"; then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_ranlib" >&5
12056 $as_echo "$gcc_ranlib" >&6; }
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12059 $as_echo "no" >&6; }
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12067 rm -f core conftest.err conftest.
$ac_objext \
12068 conftest
$ac_exeext conftest.
$ac_ext
12069 if test -x "$gcc_ar" && test -x "$gcc_ranlib"; then
12072 RANLIB
="${gcc_ranlib}"
12074 CFLAGS
="${OLD_CFLAGS}"
12075 LDFLAGS
="${OLD_LDFLAGS}"
12080 if test "$enable_lto" = "yes" && test "$have_lto" != "yes"; then
12081 as_fn_error $?
"LTO not supported by compiler." "$LINENO" 5
12083 # Check whether --enable-ubsan was given.
12084 if test "${enable_ubsan+set}" = set; then :
12085 enableval
=$enable_ubsan;
12090 if test "$enable_ubsan" = "yes" ||
test "$enable_ubsan" = "probe"; then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler supports UBSAN" >&5
12092 $as_echo_n "checking if C compiler supports UBSAN... " >&6; }
12093 OLD_CFLAGS
="$CFLAGS"
12094 OLD_LDFLAGS
="$LDFLAGS"
12095 UBSAN_FLAGS
="-fsanitize=undefined"
12096 CFLAGS
="$CFLAGS $UBSAN_FLAGS"
12097 LDFLAGS
="$LDFLAGS $UBSAN_FLAGS"
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12109 if ac_fn_c_try_link
"$LINENO"; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12111 $as_echo "yes" >&6; }
12112 ubsan_cflags
=$UBSAN_FLAGS
12113 ubsan_ldflags
=$UBSAN_FLAGS
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12117 $as_echo "no" >&6; }
12119 rm -f core conftest.err conftest.
$ac_objext \
12120 conftest
$ac_exeext conftest.
$ac_ext
12121 CFLAGS
="${OLD_CFLAGS}"
12122 LDFLAGS
="${OLD_LDFLAGS}"
12127 if test "$enable_ubsan" = "yes" && test "$have_ubsan" != "yes"; then
12128 as_fn_error $?
"UBSAN not supported by compiler." "$LINENO" 5
12130 # Check whether --enable-addrsan was given.
12131 if test "${enable_addrsan+set}" = set; then :
12132 enableval
=$enable_addrsan;
12137 if test "$enable_addrsan" = "yes" ||
test "$enable_addrsan" = "probe"; then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler supports ADDRSAN" >&5
12139 $as_echo_n "checking if C compiler supports ADDRSAN... " >&6; }
12140 OLD_CFLAGS
="$CFLAGS"
12141 OLD_LDFLAGS
="$LDFLAGS"
12142 ADDRSAN_FLAGS
="-fsanitize=address"
12143 CFLAGS
="$CFLAGS $ADDRSAN_FLAGS"
12144 LDFLAGS
="$LDFLAGS $ADDRSAN_FLAGS"
12145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12156 if ac_fn_c_try_link
"$LINENO"; then :
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12158 $as_echo "yes" >&6; }
12159 addrsan_cflags
=$ADDRSAN_FLAGS
12160 addrsan_ldflags
=$ADDRSAN_FLAGS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12164 $as_echo "no" >&6; }
12166 rm -f core conftest.err conftest.
$ac_objext \
12167 conftest
$ac_exeext conftest.
$ac_ext
12168 CFLAGS
="${OLD_CFLAGS}"
12169 LDFLAGS
="${OLD_LDFLAGS}"
12174 if test "$enable_addrsan" = "yes" && test "$have_addrsan" != "yes"; then
12175 as_fn_error $?
"ADDRSAN not supported by compiler." "$LINENO" 5
12177 # Check whether --enable-threadsan was given.
12178 if test "${enable_threadsan+set}" = set; then :
12179 enableval
=$enable_threadsan;
12181 enable_threadsan
=no
12184 if test "$enable_threadsan" = "yes" ||
test "$enable_threadsan" = "probe"; then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler supports THREADSAN" >&5
12186 $as_echo_n "checking if C compiler supports THREADSAN... " >&6; }
12187 OLD_CFLAGS
="$CFLAGS"
12188 OLD_LDFLAGS
="$LDFLAGS"
12189 THREADSAN_FLAGS
="-fsanitize=thread"
12190 CFLAGS
="$CFLAGS $THREADSAN_FLAGS"
12191 LDFLAGS
="$LDFLAGS $THREADSAN_FLAGS"
12192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12203 if ac_fn_c_try_link
"$LINENO"; then :
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12205 $as_echo "yes" >&6; }
12206 threadsan_cflags
=$THREADSAN_FLAGS
12207 threadsan_ldflags
=$THREADSAN_FLAGS
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12211 $as_echo "no" >&6; }
12213 rm -f core conftest.err conftest.
$ac_objext \
12214 conftest
$ac_exeext conftest.
$ac_ext
12215 CFLAGS
="${OLD_CFLAGS}"
12216 LDFLAGS
="${OLD_LDFLAGS}"
12221 if test "$enable_threadsan" = "yes" && test "$have_threadsan" != "yes"; then
12222 as_fn_error $?
"THREADSAN not supported by compiler." "$LINENO" 5
12224 if test "$have_threadsan" = "yes" && test "$have_addrsan" = "yes"; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ADDRSAN and THREADSAN are not known to work together." >&5
12226 $as_echo "$as_me: WARNING: ADDRSAN and THREADSAN are not known to work together." >&2;}
12243 E2SCRUB_CMT
="$LINUX_CMT"
12246 linux
* | gnu
* | k
*bsd
*-gnu)
12247 if test "$prefix" = NONE
-a "$root_prefix" = NONE
; then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, root_prefix defaults to ''" >&5
12250 $as_echo "On $host_os systems, root_prefix defaults to ''" >&6; }
12255 linux
* | gnu
* | k
*bsd
*-gnu)
12256 if test "$prefix" = NONE
; then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to /usr" >&5
12259 $as_echo "On $host_os systems, prefix defaults to /usr" >&6; }
12260 if test "$mandir" = '${prefix}/man' ; then
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...and mandir defaults to /usr/share/man" >&5
12262 $as_echo "...and mandir defaults to /usr/share/man" >&6; }
12263 mandir
=/usr
/share
/man
12268 if test "$root_prefix" = NONE
; then
12269 if test "$prefix" = NONE
; then
12270 root_prefix
="$ac_default_prefix"
12272 root_prefix
="$prefix"
12274 root_bindir
=$bindir
12275 root_sbindir
=$sbindir
12276 root_libdir
=$libdir
12277 root_sysconfdir
=$sysconfdir
12279 root_bindir
='${root_prefix}/bin'
12280 root_sbindir
='${root_prefix}/sbin'
12281 root_libdir
='${root_prefix}/lib'
12282 root_sysconfdir
='${root_prefix}/etc'
12284 if test "$bindir" != '${exec_prefix}/bin'; then
12285 root_bindir
=$bindir
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_bindir to $root_bindir" >&5
12287 $as_echo "Setting root_bindir to $root_bindir" >&6; }
12289 if test "$sbindir" != '${exec_prefix}/sbin'; then
12290 root_sbindir
=$sbindir
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sbindir to $root_sbindir" >&5
12292 $as_echo "Setting root_sbindir to $root_sbindir" >&6; }
12294 if test "$libdir" != '${exec_prefix}/lib'; then
12295 root_libdir
=$libdir
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_libdir to $root_libdir" >&5
12297 $as_echo "Setting root_libdir to $root_libdir" >&6; }
12299 if test "$sysconfdir" != '${prefix}/etc'; then
12300 root_sysconfdir
=$sysconfdir
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sysconfdir to $root_sysconfdir" >&5
12302 $as_echo "Setting root_sysconfdir to $root_sysconfdir" >&6; }
12310 # Check whether --with-multiarch was given.
12311 if test "${with_multiarch+set}" = set; then :
12312 withval
=$with_multiarch; if test "$withval" = "lib64"; then
12316 libdir
=$libdir/$withval
12317 root_libdir
=$root_libdir/$withval
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link with -static" >&5
12323 $as_echo_n "checking whether we can link with -static... " >&6; }
12324 if ${ac_cv_e2fsprogs_use_static+:} false
; then :
12325 $as_echo_n "(cached) " >&6
12327 SAVE_LDFLAGS
=$LDFLAGS; LDFLAGS
="$LDFLAGS_STATIC -static"
12328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12339 if ac_fn_c_try_link
"$LINENO"; then :
12340 ac_cv_e2fsprogs_use_static
=yes
12342 ac_cv_e2fsprogs_use_static
=no
12344 rm -f core conftest.err conftest.
$ac_objext \
12345 conftest
$ac_exeext conftest.
$ac_ext
12346 LDFLAGS
=$SAVE_LDFLAGS
12351 ac_cv_e2fsprogs_use_static
=no
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_e2fsprogs_use_static" >&5
12355 $as_echo "$ac_cv_e2fsprogs_use_static" >&6; }
12356 if test $ac_cv_e2fsprogs_use_static = yes; then
12357 LDFLAGS_STATIC
="$LDFLAGS_STATIC -static"
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Apple Darwin / GNU libintl workaround" >&5
12363 $as_echo "Using Apple Darwin / GNU libintl workaround" >&6; }
12365 $as_echo "#define _INTL_REDIRECT_MACROS 1" >>confdefs.h
12369 if test "$cross_compiling" = yes ; then
12372 DO_TEST_SUITE
=check
12375 INCLUDES
='-I. -I$(top_builddir)/lib -I$(top_srcdir)/lib'
12376 if test -n "$CPPFLAGS" ; then
12377 INCLUDES
="$INCLUDES $CPPFLAGS"
12379 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
12380 INCLUDES
=$INCLUDES' -I$(top_builddir)/intl -I$(top_srcdir)/intl'
12382 if test -n "$WITH_DIET_LIBC" ; then
12383 INCLUDES
="$INCLUDES -D_REENTRANT"
12386 if test $cross_compiling = no
; then
12387 BUILD_CFLAGS
="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
12388 BUILD_LDFLAGS
="$LDFLAGS"
12392 CFLAGS_SHLIB
=${CFLAGS_SHLIB:-$CFLAGS}
12393 CFLAGS_STLIB
=${CFLAGS_STLIB:-$CFLAGS}
12394 LDFLAGS_SHLIB
=${LDFLAGS_SHLIB:-$LDFLAGS}
12400 # Check whether --with-udev_rules_dir was given.
12401 if test "${with_udev_rules_dir+set}" = set; then :
12402 withval
=$with_udev_rules_dir;
12404 with_udev_rules_dir
=yes
12407 if test "x${with_udev_rules_dir}" != "xno"; then :
12409 if test "x${with_udev_rules_dir}" = "xyes"; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev" >&5
12414 $as_echo_n "checking for udev... " >&6; }
12416 if test -n "$udev_CFLAGS"; then
12417 pkg_cv_udev_CFLAGS
="$udev_CFLAGS"
12418 elif test -n "$PKG_CONFIG"; then
12419 if test -n "$PKG_CONFIG" && \
12420 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udev\""; } >&5
12421 ($PKG_CONFIG --exists --print-errors "udev") 2>&5
12423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12424 test $ac_status = 0; }; then
12425 pkg_cv_udev_CFLAGS
=`$PKG_CONFIG --cflags "udev" 2>/dev/null`
12426 test "x$?" != "x0" && pkg_failed
=yes
12433 if test -n "$udev_LIBS"; then
12434 pkg_cv_udev_LIBS
="$udev_LIBS"
12435 elif test -n "$PKG_CONFIG"; then
12436 if test -n "$PKG_CONFIG" && \
12437 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udev\""; } >&5
12438 ($PKG_CONFIG --exists --print-errors "udev") 2>&5
12440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12441 test $ac_status = 0; }; then
12442 pkg_cv_udev_LIBS
=`$PKG_CONFIG --libs "udev" 2>/dev/null`
12443 test "x$?" != "x0" && pkg_failed
=yes
12453 if test $pkg_failed = yes; then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12455 $as_echo "no" >&6; }
12457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12458 _pkg_short_errors_supported
=yes
12460 _pkg_short_errors_supported
=no
12462 if test $_pkg_short_errors_supported = yes; then
12463 udev_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "udev" 2>&1`
12465 udev_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "udev" 2>&1`
12467 # Put the nasty error message in config.log where it belongs
12468 echo "$udev_PKG_ERRORS" >&5
12471 with_udev_rules_dir
=""
12473 elif test $pkg_failed = untried
; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12475 $as_echo "no" >&6; }
12477 with_udev_rules_dir
=""
12480 udev_CFLAGS
=$pkg_cv_udev_CFLAGS
12481 udev_LIBS
=$pkg_cv_udev_LIBS
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12483 $as_echo "yes" >&6; }
12485 with_udev_rules_dir
="$($PKG_CONFIG --variable=udevdir udev)/rules.d"
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev rules dir" >&5
12491 $as_echo_n "checking for udev rules dir... " >&6; }
12492 pkg_udev_rules_dir
="${with_udev_rules_dir}"
12493 if test -n "${pkg_udev_rules_dir}"; then :
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${pkg_udev_rules_dir}" >&5
12496 $as_echo "${pkg_udev_rules_dir}" >&6; }
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12502 $as_echo "no" >&6; }
12509 have_udev
="disabled"
12516 # Check whether --with-crond_dir was given.
12517 if test "${with_crond_dir+set}" = set; then :
12518 withval
=$with_crond_dir;
12523 if test "x${with_crond_dir}" != "xno"; then :
12525 if test "x${with_crond_dir}" = "xyes"; then :
12527 if test -d "/etc/cron.d"; then :
12528 with_crond_dir
="/etc/cron.d"
12530 have_crond
="no"; with_crond_dir
=""
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system crontab dir" >&5
12535 $as_echo_n "checking for system crontab dir... " >&6; }
12536 crond_dir
="${with_crond_dir}"
12537 if test -n "${crond_dir}"; then :
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${crond_dir}" >&5
12540 $as_echo "${crond_dir}" >&6; }
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12546 $as_echo "no" >&6; }
12553 have_crond
="disabled"
12560 # Check whether --with-systemd_unit_dir was given.
12561 if test "${with_systemd_unit_dir+set}" = set; then :
12562 withval
=$with_systemd_unit_dir;
12564 with_systemd_unit_dir
=yes
12567 if test "x${with_systemd_unit_dir}" != "xno"; then :
12569 if test "x${with_systemd_unit_dir}" = "xyes"; then :
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd" >&5
12574 $as_echo_n "checking for systemd... " >&6; }
12576 if test -n "$systemd_CFLAGS"; then
12577 pkg_cv_systemd_CFLAGS
="$systemd_CFLAGS"
12578 elif test -n "$PKG_CONFIG"; then
12579 if test -n "$PKG_CONFIG" && \
12580 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
12581 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
12583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12584 test $ac_status = 0; }; then
12585 pkg_cv_systemd_CFLAGS
=`$PKG_CONFIG --cflags "systemd" 2>/dev/null`
12586 test "x$?" != "x0" && pkg_failed
=yes
12593 if test -n "$systemd_LIBS"; then
12594 pkg_cv_systemd_LIBS
="$systemd_LIBS"
12595 elif test -n "$PKG_CONFIG"; then
12596 if test -n "$PKG_CONFIG" && \
12597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
12598 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
12600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12601 test $ac_status = 0; }; then
12602 pkg_cv_systemd_LIBS
=`$PKG_CONFIG --libs "systemd" 2>/dev/null`
12603 test "x$?" != "x0" && pkg_failed
=yes
12613 if test $pkg_failed = yes; then
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12615 $as_echo "no" >&6; }
12617 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12618 _pkg_short_errors_supported
=yes
12620 _pkg_short_errors_supported
=no
12622 if test $_pkg_short_errors_supported = yes; then
12623 systemd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "systemd" 2>&1`
12625 systemd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "systemd" 2>&1`
12627 # Put the nasty error message in config.log where it belongs
12628 echo "$systemd_PKG_ERRORS" >&5
12631 with_systemd_unit_dir
=""
12633 elif test $pkg_failed = untried
; then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12635 $as_echo "no" >&6; }
12637 with_systemd_unit_dir
=""
12640 systemd_CFLAGS
=$pkg_cv_systemd_CFLAGS
12641 systemd_LIBS
=$pkg_cv_systemd_LIBS
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12643 $as_echo "yes" >&6; }
12645 with_systemd_unit_dir
="$($PKG_CONFIG --variable=systemdsystemunitdir systemd)"
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd system unit dir" >&5
12652 $as_echo_n "checking for systemd system unit dir... " >&6; }
12653 systemd_system_unit_dir
="${with_systemd_unit_dir}"
12654 if test -n "${systemd_system_unit_dir}"; then :
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${systemd_system_unit_dir}" >&5
12657 $as_echo "${systemd_system_unit_dir}" >&6; }
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12663 $as_echo "no" >&6; }
12670 have_systemd
="disabled"
12677 cigwin
*|mingw
*|msys
*)
12678 OS_IO_FILE
=windows_io
12685 test -d lib || mkdir lib
12686 test -d include || mkdir include
12687 test -d include
/linux || mkdir include
/linux
12688 test -d include
/asm || mkdir include
/asm
12689 if test -z "$UUID_CMT" ; then
12690 uuid_out_list
="lib/uuid/Makefile lib/uuid/uuid.pc \
12691 lib/uuid/uuid_types.h"
12693 if test -z "$BLKID_CMT" ; then
12694 blkid_out_list
="lib/blkid/Makefile lib/blkid/blkid.pc \
12695 lib/blkid/blkid_types.h"
12697 for i
in MCONFIG Makefile \
12698 util
/Makefile util
/subst.conf util
/gen-tarball util
/install-symlink \
12699 lib
/et
/Makefile lib
/ss
/Makefile lib
/e2p
/Makefile \
12700 lib
/ext2fs
/Makefile lib
/ext2fs
/ext2_types.h \
12701 $uuid_out_list $blkid_out_list lib
/support
/Makefile \
12702 lib
/ss
/ss.pc lib
/et
/com_err.pc lib
/e2p
/e2p.pc lib
/ext2fs
/ext2fs.pc \
12703 misc
/Makefile ext2ed
/Makefile e2fsck
/Makefile \
12704 debugfs
/Makefile
tests
/Makefile
tests
/progs
/Makefile \
12705 resize
/Makefile
doc
/Makefile po
/Makefile.
in scrub
/Makefile
; do
12706 if test -d `dirname ${srcdir}/$i` ; then
12707 outlist
="$outlist $i"
12710 ac_config_files
="$ac_config_files $outlist"
12712 cat >confcache
<<\_ACEOF
12713 # This file is a shell script that caches the results of configure
12714 # tests run on this system so they can be shared between configure
12715 # scripts and configure runs, see configure's option --config-cache.
12716 # It is not useful on other systems. If it contains results you don't
12717 # want to keep, you may remove or edit it.
12719 # config.status only pays attention to the cache file if you give it
12720 # the --recheck option to rerun configure.
12722 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12723 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12724 # following values.
12728 # The following way of writing the cache mishandles newlines in values,
12729 # but we know of no workaround that is simple, portable, and efficient.
12730 # So, we kill variables containing newlines.
12731 # Ultrix sh set writes to stderr and can't be redirected directly,
12732 # and sets the high bit in the cache file unless we assign to the vars.
12734 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12735 eval ac_val
=\$
$ac_var
12739 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12740 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12743 _ | IFS | as_nl
) ;; #(
12744 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12745 *) { eval $ac_var=; unset $ac_var;} ;;
12751 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12752 *${as_nl}ac_space
=\
*)
12753 # `set' does not quote correctly, so add quotes: double-quote
12754 # substitution turns \\\\ into \\, and sed turns \\ into \.
12757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12760 # `set' quotes correctly as required by POSIX, so do not add quotes.
12761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12770 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12772 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12774 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12775 if test -w "$cache_file"; then
12776 if test "x$cache_file" != "x/dev/null"; then
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12778 $as_echo "$as_me: updating cache $cache_file" >&6;}
12779 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12780 cat confcache
>"$cache_file"
12782 case $cache_file in #(
12784 mv -f confcache
"$cache_file"$$
&&
12785 mv -f "$cache_file"$$
"$cache_file" ;; #(
12787 mv -f confcache
"$cache_file" ;;
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12793 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12798 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12799 # Let make expand exec_prefix.
12800 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12802 DEFS
=-DHAVE_CONFIG_H
12807 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12808 # 1. Remove the extension, and $U if already installed.
12809 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12810 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12811 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12812 # will be set to the directory where LIBOBJS objects are built.
12813 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12814 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12816 LIBOBJS
=$ac_libobjs
12818 LTLIBOBJS
=$ac_ltlibobjs
12823 : "${CONFIG_STATUS=./config.status}"
12825 ac_clean_files_save
=$ac_clean_files
12826 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12828 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12830 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12832 # Generated by $as_me.
12833 # Run this file to recreate the current configuration.
12834 # Compiler output produced by configure, useful for debugging
12835 # configure, is in config.log if it exists.
12838 ac_cs_recheck=false
12841 SHELL=\${CONFIG_SHELL-$SHELL}
12844 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12845 ## -------------------- ##
12846 ## M4sh Initialization. ##
12847 ## -------------------- ##
12849 # Be more Bourne compatible
12850 DUALCASE
=1; export DUALCASE
# for MKS sh
12851 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12854 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12855 # is contrary to our usage. Disable this feature.
12856 alias -g '${1+"$@"}'='"$@"'
12857 setopt NO_GLOB_SUBST
12859 case `(set -o) 2>/dev/null` in #(
12871 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12872 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12873 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12875 # Prefer a ksh shell builtin over an external printf program on Solaris,
12876 # but without wasting forks for bash or zsh.
12877 if test -z "$BASH_VERSION$ZSH_VERSION" \
12878 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12879 as_echo='print
-r --'
12880 as_echo_n='print
-rn --'
12881 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12882 as_echo='printf %s
\n'
12883 as_echo_n='printf %s
'
12885 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12886 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12887 as_echo_n='/usr
/ucb
/echo -n'
12889 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12890 as_echo_n_body='eval
12894 expr "X$arg" : "X\\(.*\\)$as_nl";
12895 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12897 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12899 export as_echo_n_body
12900 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12902 export as_echo_body
12903 as_echo='sh
-c $as_echo_body as_echo
'
12906 # The user is always right.
12907 if test "${PATH_SEPARATOR+set}" != set; then
12909 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12910 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12917 # We need space, tab and new line, in precisely that order. Quoting is
12918 # there to prevent editors from complaining about space-tab.
12919 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12920 # splitting by setting IFS to empty value.)
12923 # Find who we are. Look in the path if we contain no directory separator.
12926 *[\\/]* ) as_myself=$0 ;;
12927 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12928 for as_dir in $PATH
12931 test -z "$as_dir" && as_dir=.
12932 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12938 # We did not find ourselves, most probably we were run as `sh COMMAND'
12939 # in which case we are not to be found in the path.
12940 if test "x$as_myself" = x
; then
12943 if test ! -f "$as_myself"; then
12944 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12948 # Unset variables that we do not need and which cause bugs (e.g. in
12949 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12950 # suppresses any "Segmentation fault" message there. '((' could
12951 # trigger a bug in pdksh 5.2.14.
12952 for as_var
in BASH_ENV ENV MAIL MAILPATH
12953 do eval test x\
${$as_var+set} = xset \
12954 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12967 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12970 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12971 # ----------------------------------------
12972 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12973 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12974 # script with STATUS, using 1 if that was 0.
12977 as_status
=$1; test $as_status -eq 0 && as_status
=1
12979 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12980 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12982 $as_echo "$as_me: error: $2" >&2
12983 as_fn_exit
$as_status
12987 # as_fn_set_status STATUS
12988 # -----------------------
12989 # Set $? to STATUS, without forking.
12990 as_fn_set_status
()
12993 } # as_fn_set_status
12995 # as_fn_exit STATUS
12996 # -----------------
12997 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13001 as_fn_set_status
$1
13007 # Portably unset VAR.
13010 { eval $1=; unset $1;}
13012 as_unset
=as_fn_unset
13013 # as_fn_append VAR VALUE
13014 # ----------------------
13015 # Append the text in VALUE to the end of the definition contained in VAR. Take
13016 # advantage of any shell optimizations that allow amortized linear growth over
13017 # repeated appends, instead of the typical quadratic growth present in naive
13019 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13020 eval 'as_fn_append ()
13031 # as_fn_arith ARG...
13032 # ------------------
13033 # Perform arithmetic evaluation on the ARGs, and store the result in the
13034 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13035 # must be portable across $(()) and expr.
13036 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13037 eval 'as_fn_arith ()
13044 as_val
=`expr "$@" || test $? -eq 1`
13049 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13050 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13056 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13057 as_basename
=basename
13062 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13068 as_me
=`$as_basename -- "$0" ||
13069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13070 X"$0" : 'X\(//\)$' \| \
13071 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13073 sed '/^.*\/\([^/][^/]*\)\/*$/{
13087 # Avoid depending upon Character Ranges.
13088 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13089 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13090 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13091 as_cr_digits
='0123456789'
13092 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13094 ECHO_C
= ECHO_N
= ECHO_T
=
13095 case `echo -n x` in #(((((
13097 case `echo 'xy\c'` in
13098 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13100 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13107 rm -f conf$$ conf$$.exe conf$$.
file
13108 if test -d conf$$.dir
; then
13109 rm -f conf$$.dir
/conf$$.
file
13112 mkdir conf$$.dir
2>/dev
/null
13114 if (echo >conf$$.
file) 2>/dev
/null
; then
13115 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13117 # ... but there are two gotchas:
13118 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13119 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13120 # In both cases, we have to default to `cp -pR'.
13121 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13123 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13131 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13132 rmdir conf$$.dir
2>/dev
/null
13137 # Create "$as_dir" as a directory, including parents if necessary.
13142 -*) as_dir
=.
/$as_dir;;
13144 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13148 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13149 *) as_qdir
=$as_dir;;
13151 as_dirs
="'$as_qdir' $as_dirs"
13152 as_dir
=`$as_dirname -- "$as_dir" ||
13153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13154 X"$as_dir" : 'X\(//\)[^/]' \| \
13155 X"$as_dir" : 'X\(//\)$' \| \
13156 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13157 $as_echo X"$as_dir" |
13158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13162 /^X\(\/\/\)[^/].*/{
13175 test -d "$as_dir" && break
13177 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13178 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13182 if mkdir
-p .
2>/dev
/null
; then
13183 as_mkdir_p
='mkdir -p "$as_dir"'
13185 test -d .
/-p && rmdir .
/-p
13190 # as_fn_executable_p FILE
13191 # -----------------------
13192 # Test if FILE is an executable regular file.
13193 as_fn_executable_p
()
13195 test -f "$1" && test -x "$1"
13196 } # as_fn_executable_p
13197 as_test_x
='test -x'
13198 as_executable_p
=as_fn_executable_p
13200 # Sed expression to map a string onto a valid CPP name.
13201 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13203 # Sed expression to map a string onto a valid variable name.
13204 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13208 ## ----------------------------------- ##
13209 ## Main body of $CONFIG_STATUS script. ##
13210 ## ----------------------------------- ##
13212 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13215 # Save the log message, to keep $0 and so on meaningful, and to
13216 # report actual input values of CONFIG_FILES etc. instead of their
13217 # values after options handling.
13219 This file was extended by $as_me, which was
13220 generated by GNU Autoconf 2.69. Invocation command line was
13222 CONFIG_FILES = $CONFIG_FILES
13223 CONFIG_HEADERS = $CONFIG_HEADERS
13224 CONFIG_LINKS = $CONFIG_LINKS
13225 CONFIG_COMMANDS = $CONFIG_COMMANDS
13228 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13233 case $ac_config_files in *"
13234 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13237 case $ac_config_headers in *"
13238 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13243 # Files that config.status was made for.
13244 config_files="$ac_config_files"
13245 config_headers="$ac_config_headers"
13246 config_commands="$ac_config_commands"
13250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13252 \`$as_me' instantiates files and other configuration actions
13253 from templates according to the current configuration. Unless the files
13254 and actions are specified as TAGs, all are instantiated by default.
13256 Usage: $0 [OPTION]... [TAG]...
13258 -h, --help print this help, then exit
13259 -V, --version print version number and configuration settings, then exit
13260 --config print configuration, then exit
13261 -q, --quiet, --silent
13262 do not print progress messages
13263 -d, --debug don't remove temporary files
13264 --recheck update $as_me by reconfiguring in the same conditions
13265 --file=FILE[:TEMPLATE]
13266 instantiate the configuration file FILE
13267 --header=FILE[:TEMPLATE]
13268 instantiate the configuration header FILE
13270 Configuration files:
13273 Configuration headers:
13276 Configuration commands:
13279 Report bugs to the package provider."
13282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13283 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13286 configured by $0, generated by GNU Autoconf 2.69,
13287 with options \\"\$ac_cs_config\\"
13289 Copyright (C) 2012 Free Software Foundation, Inc.
13290 This config.status script is free software; the Free Software Foundation
13291 gives unlimited permission to copy, distribute and modify it."
13298 test -n "\$AWK" || AWK=awk
13301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13302 # The default lists apply if the user does not specify any file.
13308 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13309 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13313 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13325 # Handling of the options.
13326 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13328 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13329 $as_echo "$ac_cs_version"; exit ;;
13330 --config |
--confi |
--conf |
--con |
--co |
--c )
13331 $as_echo "$ac_cs_config"; exit ;;
13332 --debug |
--debu |
--deb |
--de |
--d |
-d )
13334 --file |
--fil |
--fi |
--f )
13337 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13338 '') as_fn_error $?
"missing file argument" ;;
13340 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13341 ac_need_defaults
=false
;;
13342 --header |
--heade |
--head |
--hea )
13345 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13347 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13348 ac_need_defaults
=false
;;
13350 # Conflict between --help and --header
13351 as_fn_error $?
"ambiguous option: \`$1'
13352 Try \`$0 --help' for more information.";;
13353 --help |
--hel |
-h )
13354 $as_echo "$ac_cs_usage"; exit ;;
13355 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13356 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13359 # This is an error.
13360 -*) as_fn_error $?
"unrecognized option: \`$1'
13361 Try \`$0 --help' for more information." ;;
13363 *) as_fn_append ac_config_targets
" $1"
13364 ac_need_defaults
=false
;;
13370 ac_configure_extra_args
=
13372 if $ac_cs_silent; then
13374 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13379 if \$ac_cs_recheck; then
13380 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13382 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13383 CONFIG_SHELL='$SHELL'
13384 export CONFIG_SHELL
13389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13393 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13394 ## Running $as_me. ##
13400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13404 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13405 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
13406 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
13407 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13408 LINGUAS="${LINGUAS-%UNSET%}"
13413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13415 # Handling of arguments.
13416 for ac_config_target
in $ac_config_targets
13418 case $ac_config_target in
13419 "lib/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/config.h" ;;
13420 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
13421 "$outlist") CONFIG_FILES
="$CONFIG_FILES $outlist" ;;
13423 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13428 # If the user did not use the arguments to specify the items to instantiate,
13429 # then the envvar interface is used. Set only those that are not.
13430 # We use the long form for the default assignment because of an extremely
13431 # bizarre bug on SunOS 4.1.3.
13432 if $ac_need_defaults; then
13433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13435 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13438 # Have a temporary directory for convenience. Make it in the build tree
13439 # simply because there is no reason against having it here, and in addition,
13440 # creating and moving files from /tmp can sometimes cause problems.
13441 # Hook for its removal unless debugging.
13442 # Note that there is a small window in which the directory will not be cleaned:
13443 # after its creation but before its name has been assigned to `$tmp'.
13447 trap 'exit_status=$?
13448 : "${ac_tmp:=$tmp}"
13449 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13451 trap 'as_fn_exit 1' 1 2 13 15
13453 # Create a (secure) tmp directory for tmp files.
13456 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13460 tmp
=.
/conf$$
-$RANDOM
13461 (umask 077 && mkdir
"$tmp")
13462 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13465 # Set up the scripts for CONFIG_FILES section.
13466 # No need to generate them if there are no CONFIG_FILES.
13467 # This happens for instance with `./config.status config.h'.
13468 if test -n "$CONFIG_FILES"; then
13470 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
13471 ac_cs_awk_getline
=:
13472 ac_cs_awk_pipe_init
=
13473 ac_cs_awk_read_file
='
13474 while ((getline aline < (F[key])) > 0)
13477 ac_cs_awk_pipe_fini
=
13479 ac_cs_awk_getline
=false
13480 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
13481 ac_cs_awk_read_file
='
13483 print "cat " F[key] " &&"
13484 '$ac_cs_awk_pipe_init
13485 # The final `:' finishes the AND list.
13486 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
13488 ac_cr
=`echo X | tr X '\015'`
13489 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13490 # But we know of no other shell where ac_cr would be empty at this
13491 # point, so we can use a bashism as a fallback.
13492 if test "x$ac_cr" = x
; then
13493 eval ac_cr
=\$
\'\\r
\'
13495 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13496 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13499 ac_cs_awk_cr
=$ac_cr
13502 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13505 # Create commands to substitute file output variables.
13507 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
13508 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
13509 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
13512 } >conf$
$files.sh
&&
13513 . .
/conf$
$files.sh ||
13514 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
13515 rm -f conf$
$files.sh
13518 echo "cat >conf$$subs.awk <<_ACEOF" &&
13519 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13521 } >conf$$subs.sh ||
13522 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13523 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13525 for ac_last_try in false false false false false :; do
13526 . ./conf$$subs.sh ||
13527 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13529 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13530 if test $ac_delim_n = $ac_delim_num; then
13532 elif $ac_last_try; then
13533 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13535 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13538 rm -f conf$$subs.sh
13540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13541 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13545 s/^/S["/; s
/!.
*/"]=/
13555 s/\(.\{148\}\)..*/\1/
13557 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13562 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13569 s/\(.\{148\}\)..*/\1/
13571 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13575 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13580 ' <conf$$subs.awk | sed '
13585 ' >>$CONFIG_STATUS || ac_write_fail=1
13586 rm -f conf$$subs.awk
13587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13589 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13590 for (key in S) S_is_set[key] = 1
13592 \$ac_cs_awk_pipe_init
13596 nfields = split(line, field, "@
")
13598 len = length(field[1])
13599 for (i = 2; i < nfields; i++) {
13601 keylen = length(key)
13602 if (S_is_set[key]) {
13604 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13605 len += length(value) + length(field[++i])
13610 if (nfields == 3 && !substed) {
13612 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
13613 \$ac_cs_awk_read_file
13619 \$ac_cs_awk_pipe_fini
13622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13623 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13624 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13627 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13628 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13631 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13632 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13633 # trailing colons and then remove the whole line if VPATH becomes empty
13634 # (actually we leave an empty line to preserve line numbers).
13635 if test "x
$srcdir" = x.; then
13636 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13655 fi # test -n "$CONFIG_FILES"
13657 # Set up the scripts for CONFIG_HEADERS section.
13658 # No need to generate them if there are no CONFIG_HEADERS.
13659 # This happens for instance with `./config.status Makefile'.
13660 if test -n "$CONFIG_HEADERS"; then
13661 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13665 # Transform confdefs.h into an awk script `defines.awk', embedded as
13666 # here-document in config.status, that substitutes the proper values into
13667 # config.h.in to produce config.h.
13669 # Create a delimiter string that does not exist in confdefs.h, to ease
13670 # handling of long lines.
13672 for ac_last_try in false false :; do
13673 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13674 if test -z "$ac_tt"; then
13676 elif $ac_last_try; then
13677 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13679 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13683 # For the awk script, D is an array of macro values keyed by name,
13684 # likewise P contains macro parameters if any. Preserve backslash
13685 # newline sequences.
13687 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13689 s/.\{148\}/&'"$ac_delim"'/g
13692 s/^[ ]*#[ ]*define[ ][ ]*/ /
13699 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13701 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13705 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13706 D["\
1"]=" \
3\\\\\\n
"\\/p
13708 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13713 s/.\{148\}/&'"$ac_delim"'/g
13718 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13721 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13723 ' <confdefs.h | sed '
13724 s/'"$ac_delim"'/"\\\
13725 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13728 for (key in D) D_is_set[key] = 1
13731 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13733 split(line, arg, " ")
13734 if (arg[1] == "#") {
13738 defundef
= substr
(arg
[1], 2)
13741 split(mac1
, mac2
, "(") #)
13743 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13744 if (D_is_set
[macro
]) {
13745 # Preserve the white space surrounding the "#".
13746 print prefix
"define", macro P
[macro
] D
[macro
]
13749 # Replace #undef with comments. This is necessary, for example,
13750 # in the case of _POSIX_SOURCE, which is predefined and required
13751 # on some systems where configure will not decide to define it.
13752 if (defundef
== "undef") {
13753 print
"/*", prefix defundef
, macro
, "*/"
13761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13762 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13763 fi # test -n "$CONFIG_HEADERS"
13766 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13771 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13773 case $ac_mode$ac_tag in
13775 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13776 :[FH
]-) ac_tag
=-:-;;
13777 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13794 -) ac_f
="$ac_tmp/stdin";;
13795 *) # Look for the file first in the build tree, then in the source tree
13796 # (if the path is not absolute). The absolute path cannot be DOS-style,
13797 # because $ac_f cannot contain `:'.
13801 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13803 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13805 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13806 as_fn_append ac_file_inputs
" '$ac_f'"
13809 # Let's still pretend it is `configure' which instantiates (i.e., don't
13810 # use $as_me), people would be surprised to read:
13811 # /* config.h. Generated by config.status. */
13812 configure_input
='Generated from '`
13813 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13815 if test x
"$ac_file" != x-
; then
13816 configure_input
="$ac_file. $configure_input"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13818 $as_echo "$as_me: creating $ac_file" >&6;}
13820 # Neutralize special characters interpreted by sed in replacement strings.
13821 case $configure_input in #(
13822 *\
&* |
*\|
* |
*\\* )
13823 ac_sed_conf_input
=`$as_echo "$configure_input" |
13824 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13825 *) ac_sed_conf_input
=$configure_input;;
13829 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13830 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13835 ac_dir
=`$as_dirname -- "$ac_file" ||
13836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13837 X"$ac_file" : 'X\(//\)[^/]' \| \
13838 X"$ac_file" : 'X\(//\)$' \| \
13839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13840 $as_echo X"$ac_file" |
13841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13845 /^X\(\/\/\)[^/].*/{
13858 as_dir
="$ac_dir"; as_fn_mkdir_p
13862 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13864 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13865 # A ".." for each directory in $ac_dir_suffix.
13866 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13867 case $ac_top_builddir_sub in
13868 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13869 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13872 ac_abs_top_builddir
=$ac_pwd
13873 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13874 # for backward compatibility:
13875 ac_top_builddir
=$ac_top_build_prefix
13878 .
) # We are building in place.
13880 ac_top_srcdir
=$ac_top_builddir_sub
13881 ac_abs_top_srcdir
=$ac_pwd ;;
13882 [\\/]* | ?
:[\\/]* ) # Absolute name.
13883 ac_srcdir
=$srcdir$ac_dir_suffix;
13884 ac_top_srcdir
=$srcdir
13885 ac_abs_top_srcdir
=$srcdir ;;
13886 *) # Relative name.
13887 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13888 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13889 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13891 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13901 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13902 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13904 ac_MKDIR_P
=$MKDIR_P
13906 [\\/$
]* | ?
:[\\/]* ) ;;
13907 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13912 # If the template does not know about datarootdir, expand it.
13913 # FIXME: This hack should be removed a few years after 2.60.
13914 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13925 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13926 *datarootdir
*) ac_datarootdir_seen
=yes;;
13927 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13929 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13932 ac_datarootdir_hack='
13933 s&@datadir@&$datadir&g
13934 s&@docdir@&$docdir&g
13935 s&@infodir@&$infodir&g
13936 s&@localedir@&$localedir&g
13937 s&@mandir@&$mandir&g
13938 s&\\\${datarootdir}&$datarootdir&g' ;;
13942 # Neutralize VPATH when `$srcdir' = `.'.
13943 # Shell code in configure.ac might set extrasub.
13944 # FIXME: do we really want to maintain this feature?
13945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13946 ac_sed_extra="$ac_vpsub
13949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13951 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13952 s|@configure_input@|
$ac_sed_conf_input|
;t t
13953 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13954 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13955 s
&@srcdir@
&$ac_srcdir&;t t
13956 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13957 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13958 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13959 s
&@builddir@
&$ac_builddir&;t t
13960 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13961 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13962 s
&@INSTALL@
&$ac_INSTALL&;t t
13963 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13964 $ac_datarootdir_hack
13966 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
13967 if $ac_cs_awk_getline; then
13968 $AWK -f "$ac_tmp/subs.
awk"
13970 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
13972 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13974 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13975 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13976 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13977 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13979 which seems to be undefined. Please make sure it is defined" >&5
13980 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13981 which seems to be undefined. Please make sure it is defined" >&2;}
13983 rm -f "$ac_tmp/stdin"
13985 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13986 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13988 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13994 if test x"$ac_file" != x-; then
13996 $as_echo "/* $configure_input */" \
13997 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13998 } >"$ac_tmp/config.h" \
13999 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14000 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14002 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14005 mv "$ac_tmp/config.h" "$ac_file" \
14006 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14009 $as_echo "/* $configure_input */" \
14010 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14011 || as_fn_error $? "could not create -" "$LINENO" 5
14015 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14016 $as_echo "$as_me: executing $ac_file commands" >&6;}
14021 case $ac_file$ac_mode in
14022 "po-directories":C)
14023 for ac_file in $CONFIG_FILES; do
14024 # Support "outfile[:infile[:infile...]]"
14026 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
14028 # PO directories have a Makefile.in generated from Makefile.in.in.
14029 case "$ac_file" in */Makefile.in)
14030 # Adjust a relative srcdir.
14031 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
14032 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
14033 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
14034 # In autoconf-2.13 it is called $ac_given_srcdir.
14035 # In autoconf-2.50 it is called $srcdir.
14036 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14037 case "$ac_given_srcdir" in
14038 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
14039 /*) top_srcdir="$ac_given_srcdir" ;;
14040 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
14042 # Treat a directory as a PO directory if and only if it has a
14043 # POTFILES.in file. This allows packages to have multiple PO
14044 # directories under different names or in different locations.
14045 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14046 rm -f "$ac_dir/POTFILES"
14047 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
14048 gt_tab=`printf '\t'`
14049 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"
14050 POMAKEFILEDEPS="POTFILES.in"
14051 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14052 # on $ac_dir but don't depend on user-specified configuration
14054 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14055 # The LINGUAS file contains the set of available languages.
14056 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14057 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14059 ALL_LINGUAS
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14060 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14062 # The set of available languages was given in configure.in.
14063 ALL_LINGUAS
=$OBSOLETE_ALL_LINGUAS
14066 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14067 # Compute UPDATEPOFILES
14068 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14069 # Compute DUMMYPOFILES
14070 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14072 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14073 case "$ac_given_srcdir" in
14075 *) srcdirpre
='$(srcdir)/' ;;
14081 for lang
in $ALL_LINGUAS; do
14082 POFILES
="$POFILES $srcdirpre$lang.po"
14083 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14084 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14085 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14087 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14088 # environment variable.
14090 if test -n "$ALL_LINGUAS"; then
14091 for presentlang
in $ALL_LINGUAS; do
14093 if test "%UNSET%" != "$LINGUAS"; then
14094 desiredlanguages
="$LINGUAS"
14096 desiredlanguages
="$ALL_LINGUAS"
14098 for desiredlang
in $desiredlanguages; do
14099 # Use the presentlang catalog if desiredlang is
14100 # a. equal to presentlang, or
14101 # b. a variant of presentlang (because in this case,
14102 # presentlang can be used as a fallback for messages
14103 # which are not translated in the desiredlang catalog).
14104 case "$desiredlang" in
14105 "$presentlang"*) useit
=yes;;
14108 if test $useit = yes; then
14109 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14114 if test -n "$INST_LINGUAS"; then
14115 for lang
in $INST_LINGUAS; do
14116 CATALOGS
="$CATALOGS $lang.gmo"
14119 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14120 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"
14121 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14122 if test -f "$f"; then
14124 *.orig |
*.bak |
*~
) ;;
14125 *) cat "$f" >> "$ac_dir/Makefile" ;;
14140 ac_clean_files
=$ac_clean_files_save
14142 test $ac_write_fail = 0 ||
14143 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14146 # configure is writing to config.log, and then calls config.status.
14147 # config.status does its own redirection, appending to config.log.
14148 # Unfortunately, on DOS this fails, as config.log is still kept open
14149 # by configure, so config.status won't be able to write to it; its
14150 # output is simply discarded. So we exec the FD to /dev/null,
14151 # effectively closing config.log, so it can be properly (re)opened and
14152 # appended to by config.status. When coming back to configure, we
14153 # need to make the FD available again.
14154 if test "$no_create" != yes; then
14156 ac_config_status_args
=
14157 test "$silent" = yes &&
14158 ac_config_status_args
="$ac_config_status_args --quiet"
14160 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14162 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14163 # would make configure fail if this is the last instruction.
14164 $ac_cs_success || as_fn_exit
1
14166 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14168 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14171 if test -f util
/gen-tarball
; then chmod +x util
/gen-tarball
; fi