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
625 systemd_system_unit_dir
705 XGETTEXT_EXTRA_OPTIONS
706 MSGMERGE_FOR_MSGFMT_OPTION
713 GETTEXT_MACRO_VERSION
829 program_transform_name
840 ac_subst_files
='MCONFIG
846 PUBLIC_CONFIG_HEADER'
848 enable_option_checking
854 enable_maintainer_mode
855 enable_symlink_install
856 enable_relative_symlinks
857 enable_symlink_relative_symlinks
859 enable_verbose_makecmds
868 enable_developer_features
878 enable_e2initrd_helper
885 enable_bmap_stats_ops
899 with_systemd_unit_dir
901 ac_precious_vars
='build_alias
919 # Initialize some variables set by options.
921 ac_init_version
=false
922 ac_unrecognized_opts
=
924 # The variables have the same names as the options, with
925 # dashes changed to underlines.
933 program_transform_name
=s
,x
,x
,
941 # Installation directory options.
942 # These are left unexpanded so users can "make install exec_prefix=/foo"
943 # and all the variables that are supposed to be based on exec_prefix
944 # by default will actually change.
945 # Use braces instead of parens because sh, perl, etc. also accept them.
946 # (The list follows the same order as the GNU Coding Standards.)
947 bindir
='${exec_prefix}/bin'
948 sbindir
='${exec_prefix}/sbin'
949 libexecdir
='${exec_prefix}/libexec'
950 datarootdir
='${prefix}/share'
951 datadir
='${datarootdir}'
952 sysconfdir
='${prefix}/etc'
953 sharedstatedir
='${prefix}/com'
954 localstatedir
='${prefix}/var'
955 runstatedir
='${localstatedir}/run'
956 includedir
='${prefix}/include'
957 oldincludedir
='/usr/include'
958 docdir
='${datarootdir}/doc/${PACKAGE}'
959 infodir
='${datarootdir}/info'
964 libdir
='${exec_prefix}/lib'
965 localedir
='${datarootdir}/locale'
966 mandir
='${datarootdir}/man'
972 # If the previous option needs an argument, assign it.
973 if test -n "$ac_prev"; then
974 eval $ac_prev=\
$ac_option
980 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
985 # Accept the important Cygnus configure options, so we can diagnose typos.
987 case $ac_dashdash$ac_option in
991 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
993 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
996 -build |
--build |
--buil |
--bui |
--bu)
997 ac_prev
=build_alias
;;
998 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
999 build_alias
=$ac_optarg ;;
1001 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1002 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1003 ac_prev
=cache_file
;;
1004 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1005 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1006 cache_file
=$ac_optarg ;;
1008 --config-cache |
-C)
1009 cache_file
=config.cache
;;
1011 -datadir |
--datadir |
--datadi |
--datad)
1013 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1014 datadir
=$ac_optarg ;;
1016 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1017 |
--dataroo |
--dataro |
--datar)
1018 ac_prev
=datarootdir
;;
1019 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1020 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1021 datarootdir
=$ac_optarg ;;
1023 -disable-* |
--disable-*)
1024 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error $?
"invalid feature name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_
$ac_useropt"
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval enable_
$ac_useropt=no
;;
1039 -docdir |
--docdir |
--docdi |
--doc |
--do)
1041 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1042 docdir
=$ac_optarg ;;
1044 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1046 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1047 dvidir
=$ac_optarg ;;
1049 -enable-* |
--enable-*)
1050 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1053 as_fn_error $?
"invalid feature name: $ac_useropt"
1054 ac_useropt_orig
=$ac_useropt
1055 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1058 "enable_
$ac_useropt"
1060 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1061 ac_unrecognized_sep
=', ';;
1063 eval enable_
$ac_useropt=\
$ac_optarg ;;
1065 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1066 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1067 |
--exec |
--exe |
--ex)
1068 ac_prev
=exec_prefix
;;
1069 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1070 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1071 |
--exec=* |
--exe=* |
--ex=*)
1072 exec_prefix
=$ac_optarg ;;
1074 -gas |
--gas |
--ga |
--g)
1075 # Obsolete; use --with-gas.
1078 -help |
--help |
--hel |
--he |
-h)
1079 ac_init_help
=long
;;
1080 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1081 ac_init_help
=recursive
;;
1082 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1083 ac_init_help
=short
;;
1085 -host |
--host |
--hos |
--ho)
1086 ac_prev
=host_alias
;;
1087 -host=* |
--host=* |
--hos=* |
--ho=*)
1088 host_alias
=$ac_optarg ;;
1090 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1092 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1094 htmldir
=$ac_optarg ;;
1096 -includedir |
--includedir |
--includedi |
--included |
--include \
1097 |
--includ |
--inclu |
--incl |
--inc)
1098 ac_prev
=includedir
;;
1099 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1100 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1101 includedir
=$ac_optarg ;;
1103 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1105 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1106 infodir
=$ac_optarg ;;
1108 -libdir |
--libdir |
--libdi |
--libd)
1110 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1111 libdir
=$ac_optarg ;;
1113 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1114 |
--libexe |
--libex |
--libe)
1115 ac_prev
=libexecdir
;;
1116 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1117 |
--libexe=* |
--libex=* |
--libe=*)
1118 libexecdir
=$ac_optarg ;;
1120 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1121 ac_prev
=localedir
;;
1122 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1123 localedir
=$ac_optarg ;;
1125 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1126 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1127 ac_prev
=localstatedir
;;
1128 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1129 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1130 localstatedir
=$ac_optarg ;;
1132 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1134 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1135 mandir
=$ac_optarg ;;
1137 -nfp |
--nfp |
--nf)
1138 # Obsolete; use --without-fp.
1141 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1142 |
--no-cr |
--no-c |
-n)
1145 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1146 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1149 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1150 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1151 |
--oldin |
--oldi |
--old |
--ol |
--o)
1152 ac_prev
=oldincludedir
;;
1153 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1154 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1155 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1156 oldincludedir
=$ac_optarg ;;
1158 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1160 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1161 prefix
=$ac_optarg ;;
1163 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1164 |
--program-pre |
--program-pr |
--program-p)
1165 ac_prev
=program_prefix
;;
1166 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1167 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1168 program_prefix
=$ac_optarg ;;
1170 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1171 |
--program-suf |
--program-su |
--program-s)
1172 ac_prev
=program_suffix
;;
1173 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1174 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1175 program_suffix
=$ac_optarg ;;
1177 -program-transform-name |
--program-transform-name \
1178 |
--program-transform-nam |
--program-transform-na \
1179 |
--program-transform-n |
--program-transform- \
1180 |
--program-transform |
--program-transfor \
1181 |
--program-transfo |
--program-transf \
1182 |
--program-trans |
--program-tran \
1183 |
--progr-tra |
--program-tr |
--program-t)
1184 ac_prev
=program_transform_name
;;
1185 -program-transform-name=* |
--program-transform-name=* \
1186 |
--program-transform-nam=* |
--program-transform-na=* \
1187 |
--program-transform-n=* |
--program-transform-=* \
1188 |
--program-transform=* |
--program-transfor=* \
1189 |
--program-transfo=* |
--program-transf=* \
1190 |
--program-trans=* |
--program-tran=* \
1191 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1192 program_transform_name
=$ac_optarg ;;
1194 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1196 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1197 pdfdir
=$ac_optarg ;;
1199 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1201 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1204 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1205 |
-silent |
--silent |
--silen |
--sile |
--sil)
1208 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1209 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1210 |
--run |
--ru |
--r)
1211 ac_prev
=runstatedir
;;
1212 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1213 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1214 |
--run=* |
--ru=* |
--r=*)
1215 runstatedir
=$ac_optarg ;;
1217 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1219 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1221 sbindir
=$ac_optarg ;;
1223 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1224 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1225 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1227 ac_prev
=sharedstatedir
;;
1228 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1229 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1230 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1232 sharedstatedir
=$ac_optarg ;;
1234 -site |
--site |
--sit)
1236 -site=* |
--site=* |
--sit=*)
1239 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1241 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1242 srcdir
=$ac_optarg ;;
1244 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1245 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1246 ac_prev
=sysconfdir
;;
1247 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1248 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1249 sysconfdir
=$ac_optarg ;;
1251 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1252 ac_prev
=target_alias
;;
1253 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1254 target_alias
=$ac_optarg ;;
1256 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1259 -version |
--version |
--versio |
--versi |
--vers |
-V)
1260 ac_init_version
=: ;;
1263 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1266 as_fn_error $?
"invalid package name: $ac_useropt"
1267 ac_useropt_orig
=$ac_useropt
1268 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1273 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274 ac_unrecognized_sep
=', ';;
1276 eval with_
$ac_useropt=\
$ac_optarg ;;
1278 -without-* |
--without-*)
1279 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1282 as_fn_error $?
"invalid package name: $ac_useropt"
1283 ac_useropt_orig
=$ac_useropt
1284 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285 case $ac_user_opts in
1289 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1290 ac_unrecognized_sep
=', ';;
1292 eval with_
$ac_useropt=no
;;
1295 # Obsolete; use --with-x.
1298 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1299 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1300 ac_prev
=x_includes
;;
1301 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1302 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1303 x_includes
=$ac_optarg ;;
1305 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1306 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1307 ac_prev
=x_libraries
;;
1308 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1309 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1310 x_libraries
=$ac_optarg ;;
1312 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1313 Try \`$0 --help' for more information"
1317 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1318 # Reject names that are not valid shell variable names.
1319 case $ac_envvar in #(
1320 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1321 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1323 eval $ac_envvar=\
$ac_optarg
1324 export $ac_envvar ;;
1327 # FIXME: should be removed in autoconf 3.0.
1328 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1330 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1337 if test -n "$ac_prev"; then
1338 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1339 as_fn_error $?
"missing argument to $ac_option"
1342 if test -n "$ac_unrecognized_opts"; then
1343 case $enable_option_checking in
1345 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1346 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1350 # Check all directory arguments for consistency.
1351 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1352 datadir sysconfdir sharedstatedir localstatedir includedir \
1353 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1354 libdir localedir mandir runstatedir
1356 eval ac_val
=\$
$ac_var
1357 # Remove trailing slashes.
1360 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1361 eval $ac_var=\
$ac_val;;
1363 # Be sure to have absolute directory names.
1365 [\\/$
]* | ?
:[\\/]* ) continue;;
1366 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1368 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1371 # There might be people who depend on the old broken behavior: `$host'
1372 # used to hold the argument of --host etc.
1373 # FIXME: To remove some day.
1376 target
=$target_alias
1378 # FIXME: To remove some day.
1379 if test "x$host_alias" != x
; then
1380 if test "x$build_alias" = x
; then
1381 cross_compiling
=maybe
1382 elif test "x$build_alias" != "x$host_alias"; then
1388 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1390 test "$silent" = yes && exec 6>/dev
/null
1393 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1394 ac_ls_di
=`ls -di .` &&
1395 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1396 as_fn_error $?
"working directory cannot be determined"
1397 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1398 as_fn_error $?
"pwd does not report name of working directory"
1401 # Find the source files, if location was not specified.
1402 if test -z "$srcdir"; then
1403 ac_srcdir_defaulted
=yes
1404 # Try the directory containing this script, then the parent directory.
1405 ac_confdir
=`$as_dirname -- "$as_myself" ||
1406 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1407 X"$as_myself" : 'X\(//\)[^/]' \| \
1408 X"$as_myself" : 'X\(//\)$' \| \
1409 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1410 $as_echo X"$as_myself" |
1411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1433 ac_srcdir_defaulted
=no
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1436 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1437 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1439 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1441 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1443 # When building in place, set srcdir=.
1444 if test "$ac_abs_confdir" = "$ac_pwd"; then
1447 # Remove unnecessary trailing slashes from srcdir.
1448 # Double slashes in file names in object file debugging info
1449 # mess up M-x gdb in Emacs.
1451 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1453 for ac_var
in $ac_precious_vars; do
1454 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1455 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1456 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1457 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1461 # Report the --help message.
1463 if test "$ac_init_help" = "long"; then
1464 # Omit some internal or obsolete options to make the list less imposing.
1465 # This message is too long to be a string in the A/UX 3.1 sh.
1467 \`configure' configures this package to adapt to many kinds of systems.
1469 Usage: $0 [OPTION]... [VAR=VALUE]...
1471 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1472 VAR=VALUE. See below for descriptions of some of the useful variables.
1474 Defaults for the options are specified in brackets.
1477 -h, --help display this help and exit
1478 --help=short display options specific to this package
1479 --help=recursive display the short help of all the included packages
1480 -V, --version display version information and exit
1481 -q, --quiet, --silent do not print \`checking ...' messages
1482 --cache-file=FILE cache test results in FILE [disabled]
1483 -C, --config-cache alias for \`--cache-file=config.cache'
1484 -n, --no-create do not create output files
1485 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1487 Installation directories:
1488 --prefix=PREFIX install architecture-independent files in PREFIX
1489 [$ac_default_prefix]
1490 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1493 By default, \`make install' will install all the files in
1494 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1495 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1496 for instance \`--prefix=\$HOME'.
1498 For better control, use the options below.
1500 Fine tuning of the installation directories:
1501 --bindir=DIR user executables [EPREFIX/bin]
1502 --sbindir=DIR system admin executables [EPREFIX/sbin]
1503 --libexecdir=DIR program executables [EPREFIX/libexec]
1504 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1505 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1506 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1507 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1508 --libdir=DIR object code libraries [EPREFIX/lib]
1509 --includedir=DIR C header files [PREFIX/include]
1510 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1511 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1512 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1513 --infodir=DIR info documentation [DATAROOTDIR/info]
1514 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1515 --mandir=DIR man documentation [DATAROOTDIR/man]
1516 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1517 --htmldir=DIR html documentation [DOCDIR]
1518 --dvidir=DIR dvi documentation [DOCDIR]
1519 --pdfdir=DIR pdf documentation [DOCDIR]
1520 --psdir=DIR ps documentation [DOCDIR]
1526 --build=BUILD configure
for building on BUILD
[guessed
]
1527 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1531 if test -n "$ac_init_help"; then
1536 --disable-option-checking ignore unrecognized
--enable/--with options
1537 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1538 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1539 --enable-maintainer-mode
1540 enable makefile rules useful
for maintainers
1541 --enable-symlink-install
1542 use symlinks when installing instead of hard links
1543 --enable-relative-symlinks
1544 use relative symlinks when installing
1546 --enable-symlink-build use symlinks
while building instead of hard links
1547 --enable-verbose-makecmds
1548 enable verbose
make command output
1549 --enable-elf-shlibs select ELF shared libraries
1550 --enable-bsd-shlibs select BSD shared libraries
1551 --enable-profile build profiling libraries
1552 --enable-gcov build
for coverage testing using gcov
1553 --enable-hardening build
for coverage testing using gcov
1554 --enable-jbd-debug enable journal debugging
1555 --enable-blkid-debug enable blkid debugging
1556 --disable-testio-debug disable the use of the
test I
/O manager
for
1558 --enable-developer-features
1559 enable features
for use by ext4 developers
1560 --enable-libuuid build and use private uuid library
1561 --enable-libblkid build and use private blkid library
1562 --enable-subset enable subset-only build
1563 --disable-backtrace disable use backtrace
1564 --disable-debugfs disable support of debugfs program
1565 --disable-imager disable support of e2image program
1566 --disable-resizer disable support of e2resize program
1567 --disable-defrag disable support of e4defrag program
1568 --enable-fsck build fsck wrapper program
1569 --enable-e2initrd-helper
1570 build e2initrd-helper program
1571 --disable-tls disable use of thread
local support
1572 --disable-uuidd disable building the uuid daemon
1573 --disable-mmp disable support mmp
, Multi Mount Protection
1574 --disable-tdb disable tdb support
1575 --disable-bmap-stats disable collection of bitmap stats
1576 --enable-bmap-stats-ops enable collection of additional bitmap stats
1577 --disable-nls do not use Native Language Support
1578 --disable-rpath do not hardcode runtime library paths
1579 --disable-fuse2fs do not build fuse2fs
1580 --enable-lto enable link
time optimization
1581 --enable-ubsan enable undefined behavior sanitizer
1582 --enable-addrsan enable address sanitizer
1583 --enable-threadsan enable thread sanitizer
1586 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1587 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1588 --with-diet-libc use diet libc
1589 --with-cc no longer supported
, use CC
= instead
1590 --with-ccopts no longer supported
, use CFLAGS
= instead
1591 --with-ldopts no longer supported
, use LDFLAGS
= instead
1592 --with-root-prefix=PREFIX
1593 override prefix variable
for files to be placed
in
1595 --without-pthread disable use of pthread support
1596 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1597 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1598 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1599 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1600 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1601 --with-multiarch=ARCH specify the multiarch triplet
1602 --with-udev-rules-dir[=DIR
]
1603 Install udev rules into DIR.
1604 --with-crond-dir[=DIR
] Install system crontabs into DIR.
1605 --with-systemd-unit-dir[=DIR
]
1606 Install systemd system units into DIR.
1608 Some influential environment variables
:
1609 CC C compiler
command
1610 CFLAGS C compiler flags
1611 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1612 nonstandard directory
<lib dir
>
1613 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1614 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1615 you have headers
in a nonstandard directory
<include dir
>
1617 PKG_CONFIG path to pkg-config utility
1619 directories to add to pkg-config
's search path
1621 path overriding pkg-config's built-in search path
1622 udev_CFLAGS C compiler flags
for udev
, overriding pkg-config
1623 udev_LIBS linker flags
for udev
, overriding pkg-config
1625 C compiler flags
for systemd
, overriding pkg-config
1627 linker flags
for systemd
, overriding pkg-config
1629 Use these variables to override the choices made by
`configure' or to help
1630 it to find libraries and programs with nonstandard names/locations.
1632 Report bugs to the package provider.
1637 if test "$ac_init_help" = "recursive"; then
1638 # If there are subdirs, report their specific --help.
1639 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1640 test -d "$ac_dir" ||
1641 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1649 # A ".." for each directory in $ac_dir_suffix.
1650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1651 case $ac_top_builddir_sub in
1652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656 ac_abs_top_builddir=$ac_pwd
1657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1658 # for backward compatibility:
1659 ac_top_builddir=$ac_top_build_prefix
1662 .) # We are building in place.
1664 ac_top_srcdir=$ac_top_builddir_sub
1665 ac_abs_top_srcdir=$ac_pwd ;;
1666 [\\/]* | ?:[\\/]* ) # Absolute name.
1667 ac_srcdir=$srcdir$ac_dir_suffix;
1668 ac_top_srcdir=$srcdir
1669 ac_abs_top_srcdir=$srcdir ;;
1671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1672 ac_top_srcdir=$ac_top_build_prefix$srcdir
1673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1677 cd "$ac_dir" || { ac_status=$?; continue; }
1678 # Check for guested configure.
1679 if test -f "$ac_srcdir/configure.gnu"; then
1681 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1682 elif test -f "$ac_srcdir/configure"; then
1684 $SHELL "$ac_srcdir/configure" --help=recursive
1686 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1688 cd "$ac_pwd" || { ac_status=$?; break; }
1692 test -n "$ac_init_help" && exit $ac_status
1693 if $ac_init_version; then
1696 generated by GNU Autoconf 2.69
1698 Copyright (C) 2012 Free Software Foundation, Inc.
1699 This configure script is free software; the Free Software Foundation
1700 gives unlimited permission to copy, distribute and modify it.
1705 ## ------------------------ ##
1706 ## Autoconf initialization. ##
1707 ## ------------------------ ##
1709 # ac_fn_c_try_compile LINENO
1710 # --------------------------
1711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1712 ac_fn_c_try_compile ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext
1716 if { { ac_try="$ac_compile"
1718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1719 *) ac_try_echo
=$ac_try;;
1721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_compile") 2>conftest.err
1725 if test -s conftest.err
; then
1726 grep -v '^ *+' conftest.err
>conftest.er1
1727 cat conftest.er1
>&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest.
$ac_objext; then :
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.
$ac_ext >&5
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 as_fn_set_status
$ac_retval
1745 } # ac_fn_c_try_compile
1747 # ac_fn_c_try_link LINENO
1748 # -----------------------
1749 # Try to link conftest.$ac_ext, and return whether this succeeded.
1752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1753 rm -f conftest.
$ac_objext conftest
$ac_exeext
1754 if { { ac_try
="$ac_link"
1756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_link") 2>conftest.err
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_c_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest$ac_exeext && {
1773 test "$cross_compiling" = yes ||
1774 test -x conftest$ac_exeext
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1783 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1784 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1785 # interfere with the next link command; also delete a directory that is
1786 # left behind by Apple's compiler. We do this before executing the actions.
1787 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 as_fn_set_status $ac_retval
1791 } # ac_fn_c_try_link
1793 # ac_fn_c_try_cpp LINENO
1794 # ----------------------
1795 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 if { { ac_try="$ac_cpp conftest.$ac_ext"
1801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1802 *) ac_try_echo
=$ac_try;;
1804 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1808 if test -s conftest.err
; then
1809 grep -v '^ *+' conftest.err
>conftest.er1
1810 cat conftest.er1
>&5
1811 mv -f conftest.er1 conftest.err
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } > conftest.i
&& {
1815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1816 test ! -s conftest.err
1820 $as_echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.
$ac_ext >&5
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 as_fn_set_status
$ac_retval
1830 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1831 # -------------------------------------------------------
1832 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1833 # the include files in INCLUDES and setting the cache variable VAR
1835 ac_fn_c_check_header_mongrel
()
1837 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1838 if eval \
${$3+:} false
; then :
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if eval \
${$3+:} false
; then :
1842 $as_echo_n "(cached) " >&6
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846 $as_echo "$ac_res" >&6; }
1848 # Is the header compilable?
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1850 $as_echo_n "checking $2 usability... " >&6; }
1851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1856 if ac_fn_c_try_compile
"$LINENO"; then :
1857 ac_header_compiler
=yes
1859 ac_header_compiler
=no
1861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1863 $as_echo "$ac_header_compiler" >&6; }
1865 # Is the header present?
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1867 $as_echo_n "checking $2 presence... " >&6; }
1868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1872 if ac_fn_c_try_cpp
"$LINENO"; then :
1873 ac_header_preproc
=yes
1875 ac_header_preproc
=no
1877 rm -f conftest.err conftest.i conftest.
$ac_ext
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1879 $as_echo "$ac_header_preproc" >&6; }
1881 # So? What about this header?
1882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1885 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1887 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1891 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1893 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1895 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1897 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1899 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval \
${$3+:} false
; then :
1905 $as_echo_n "(cached) " >&6
1907 eval "$3=\$ac_header_compiler"
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 } # ac_fn_c_check_header_mongrel
1917 # ac_fn_c_try_run LINENO
1918 # ----------------------
1919 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1920 # that executables *can* be run.
1923 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1924 if { { ac_try
="$ac_link"
1926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1927 *) ac_try_echo=$ac_try;;
1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_link") 2>&5
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1935 { { case "(($ac_try" in
1936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1937 *) ac_try_echo
=$ac_try;;
1939 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1940 $as_echo "$ac_try_echo"; } >&5
1941 (eval "$ac_try") 2>&5
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 test $ac_status = 0; }; }; then :
1947 $as_echo "$as_me: program exited with status $ac_status" >&5
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1951 ac_retval
=$ac_status
1953 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 as_fn_set_status
$ac_retval
1959 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1960 # -------------------------------------------------------
1961 # Tests whether HEADER exists and can be compiled using the include files in
1962 # INCLUDES, setting the cache variable VAR accordingly.
1963 ac_fn_c_check_header_compile
()
1965 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967 $as_echo_n "checking for $2... " >&6; }
1968 if eval \
${$3+:} false
; then :
1969 $as_echo_n "(cached) " >&6
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1976 if ac_fn_c_try_compile
"$LINENO"; then :
1981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 } # ac_fn_c_check_header_compile
1990 # ac_fn_c_check_func LINENO FUNC VAR
1991 # ----------------------------------
1992 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1993 ac_fn_c_check_func
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if eval \
${$3+:} false
; then :
1999 $as_echo_n "(cached) " >&6
2001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2003 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2005 #define $2 innocuous_$2
2007 /* System header to define __stub macros and hopefully few prototypes,
2008 which can conflict with char $2 (); below.
2009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2010 <limits.h> exists even on freestanding compilers. */
2013 # include <limits.h>
2015 # include <assert.h>
2020 /* Override any GCC internal prototype to avoid an error.
2021 Use char because int might match the return type of a GCC
2022 builtin and then its argument prototype would still apply. */
2027 /* The GNU C library defines this for functions which it implements
2028 to always fail with ENOSYS. Some functions are actually named
2029 something starting with __ and the normal name is an alias. */
2030 #if defined __stub_$2 || defined __stub___$2
2042 if ac_fn_c_try_link
"$LINENO"; then :
2047 rm -f core conftest.err conftest.
$ac_objext \
2048 conftest
$ac_exeext conftest.
$ac_ext
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052 $as_echo "$ac_res" >&6; }
2053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055 } # ac_fn_c_check_func
2057 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2058 # ----------------------------------------------------
2059 # Tries to find if the field MEMBER exists in type AGGR, after including
2060 # INCLUDES, setting cache variable VAR accordingly.
2061 ac_fn_c_check_member
()
2063 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2065 $as_echo_n "checking for $2.$3... " >&6; }
2066 if eval \
${$4+:} false
; then :
2067 $as_echo_n "(cached) " >&6
2069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2082 if ac_fn_c_try_compile
"$LINENO"; then :
2085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2092 if (sizeof ac_aggr.$3)
2098 if ac_fn_c_try_compile
"$LINENO"; then :
2103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2109 $as_echo "$ac_res" >&6; }
2110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112 } # ac_fn_c_check_member
2114 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2115 # -------------------------------------------
2116 # Tests whether TYPE exists after having included INCLUDES, setting cache
2117 # variable VAR accordingly.
2118 ac_fn_c_check_type
()
2120 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \
${$3+:} false
; then :
2124 $as_echo_n "(cached) " >&6
2127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2139 if ac_fn_c_try_compile
"$LINENO"; then :
2140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2152 if ac_fn_c_try_compile
"$LINENO"; then :
2157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 } # ac_fn_c_check_type
2168 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2169 # ---------------------------------------------
2170 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2172 ac_fn_c_check_decl
()
2174 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2175 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2176 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2178 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2179 if eval \
${$3+:} false
; then :
2180 $as_echo_n "(cached) " >&6
2182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2188 #ifndef $as_decl_name
2190 (void) $as_decl_use;
2192 (void) $as_decl_name;
2200 if ac_fn_c_try_compile
"$LINENO"; then :
2205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2209 $as_echo "$ac_res" >&6; }
2210 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2212 } # ac_fn_c_check_decl
2214 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2215 # --------------------------------------------
2216 # Tries to find the compile-time value of EXPR in a program that includes
2217 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2219 ac_fn_c_compute_int
()
2221 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2222 if test "$cross_compiling" = yes; then
2223 # Depending upon the size, compute the lo and hi bounds.
2224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2230 static int test_array [1 - 2 * !(($2) >= 0)];
2232 return test_array [0];
2238 if ac_fn_c_try_compile
"$LINENO"; then :
2241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2247 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2249 return test_array [0];
2255 if ac_fn_c_try_compile
"$LINENO"; then :
2256 ac_hi
=$ac_mid; break
2258 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2259 if test $ac_lo -le $ac_mid; then
2263 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2274 static int test_array [1 - 2 * !(($2) < 0)];
2276 return test_array [0];
2282 if ac_fn_c_try_compile
"$LINENO"; then :
2285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2291 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2293 return test_array [0];
2299 if ac_fn_c_try_compile
"$LINENO"; then :
2300 ac_lo
=$ac_mid; break
2302 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2303 if test $ac_mid -le $ac_hi; then
2307 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2317 # Binary search between lo and hi bounds.
2318 while test "x$ac_lo" != "x$ac_hi"; do
2319 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2321 /* end confdefs.h. */
2326 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2328 return test_array [0];
2334 if ac_fn_c_try_compile
"$LINENO"; then :
2337 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2342 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2347 /* end confdefs.h. */
2349 static long int longval () { return $2; }
2350 static unsigned long int ulongval () { return $2; }
2357 FILE *f = fopen ("conftest.val", "w");
2362 long int i = longval ();
2365 fprintf (f, "%ld", i);
2369 unsigned long int i = ulongval ();
2372 fprintf (f, "%lu", i);
2374 /* Do not output a trailing newline, as this causes \r\n confusion
2375 on some platforms. */
2376 return ferror (f) || fclose (f) != 0;
2382 if ac_fn_c_try_run
"$LINENO"; then :
2383 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2387 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2388 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2393 as_fn_set_status
$ac_retval
2395 } # ac_fn_c_compute_int
2396 cat >config.log
<<_ACEOF
2397 This file contains any messages produced by compilers while
2398 running configure, to aid debugging if configure makes a mistake.
2400 It was created by $as_me, which was
2401 generated by GNU Autoconf 2.69. Invocation command line was
2413 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2414 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2415 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2416 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2417 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2419 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2420 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2422 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2423 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2424 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2425 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2426 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2427 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2428 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir
=.
2437 $as_echo "PATH: $as_dir"
2453 # Keep a trace of the command line.
2454 # Strip out --no-create and --no-recursion so they do not pile up.
2455 # Strip out --silent because we don't want to record it for future runs.
2456 # Also quote any args containing shell meta-characters.
2457 # Make two passes to allow for proper duplicate-argument suppression.
2461 ac_must_keep_next
=false
2467 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2468 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2469 |
-silent |
--silent |
--silen |
--sile |
--sil)
2472 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2475 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2477 as_fn_append ac_configure_args1
" '$ac_arg'"
2478 if test $ac_must_keep_next = true
; then
2479 ac_must_keep_next
=false
# Got value, back to normal.
2482 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2483 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2484 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2485 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2486 case "$ac_configure_args0 " in
2487 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2490 -* ) ac_must_keep_next
=true
;;
2493 as_fn_append ac_configure_args
" '$ac_arg'"
2498 { ac_configure_args0
=; unset ac_configure_args0
;}
2499 { ac_configure_args1
=; unset ac_configure_args1
;}
2501 # When interrupted or exit'd, cleanup temporary files, and complete
2502 # config.log. We remove comments because anyway the quotes in there
2503 # would cause problems or look ugly.
2504 # WARNING: Use '\'' to represent an apostrophe within the trap.
2505 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2506 trap 'exit_status=$?
2507 # Save into config.log some information that might help in debugging.
2511 $as_echo "## ---------------- ##
2512 ## Cache variables. ##
2513 ## ---------------- ##"
2515 # The following way of writing the cache mishandles newlines in values,
2517 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2518 eval ac_val=\$$ac_var
2522 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2523 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2526 _ | IFS | as_nl) ;; #(
2527 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2528 *) { eval $ac_var=; unset $ac_var;} ;;
2533 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2534 *${as_nl}ac_space=\ *)
2536 "s/'\''/'\''\\\\'\'''\''/g;
2537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2547 $as_echo "## ----------------- ##
2548 ## Output variables. ##
2549 ## ----------------- ##"
2551 for ac_var in $ac_subst_vars
2553 eval ac_val=\$$ac_var
2555 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2557 $as_echo "$ac_var='\''$ac_val'\''"
2561 if test -n "$ac_subst_files"; then
2562 $as_echo "## ------------------- ##
2563 ## File substitutions. ##
2564 ## ------------------- ##"
2566 for ac_var
in $ac_subst_files
2568 eval ac_val
=\$
$ac_var
2570 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2572 $as_echo "$ac_var='\''$ac_val'\''"
2577 if test -s confdefs.h; then
2578 $as_echo "## ----------- ##
2585 test "$ac_signal" != 0 &&
2586 $as_echo "$as_me: caught signal $ac_signal"
2587 $as_echo "$as_me: exit $exit_status"
2589 rm -f core *.core core.conftest.* &&
2590 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2593 for ac_signal
in 1 2 13 15; do
2594 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2598 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2599 rm -f -r conftest
* confdefs.h
2601 $as_echo "/* confdefs.h */" > confdefs.h
2603 # Predefined preprocessor variables.
2605 cat >>confdefs.h
<<_ACEOF
2606 #define PACKAGE_NAME "$PACKAGE_NAME"
2609 cat >>confdefs.h
<<_ACEOF
2610 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2613 cat >>confdefs.h
<<_ACEOF
2614 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2617 cat >>confdefs.h
<<_ACEOF
2618 #define PACKAGE_STRING "$PACKAGE_STRING"
2621 cat >>confdefs.h
<<_ACEOF
2622 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2625 cat >>confdefs.h
<<_ACEOF
2626 #define PACKAGE_URL "$PACKAGE_URL"
2630 # Let the site file select an alternate cache file if it wants to.
2631 # Prefer an explicitly selected file to automatically selected ones.
2634 if test -n "$CONFIG_SITE"; then
2635 # We do not want a PATH search for config.site.
2636 case $CONFIG_SITE in #((
2637 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2638 */*) ac_site_file1
=$CONFIG_SITE;;
2639 *) ac_site_file1
=.
/$CONFIG_SITE;;
2641 elif test "x$prefix" != xNONE
; then
2642 ac_site_file1
=$prefix/share
/config.site
2643 ac_site_file2
=$prefix/etc
/config.site
2645 ac_site_file1
=$ac_default_prefix/share
/config.site
2646 ac_site_file2
=$ac_default_prefix/etc
/config.site
2648 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2650 test "x$ac_site_file" = xNONE
&& continue
2651 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2653 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2654 sed 's/^/| /' "$ac_site_file" >&5
2656 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2658 as_fn_error $?
"failed to load site script $ac_site_file
2659 See \`config.log' for more details" "$LINENO" 5; }
2663 if test -r "$cache_file"; then
2664 # Some versions of bash will fail to source /dev/null (special files
2665 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2666 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2668 $as_echo "$as_me: loading cache $cache_file" >&6;}
2670 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2671 *) .
"./$cache_file";;
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2676 $as_echo "$as_me: creating cache $cache_file" >&6;}
2680 gt_needs
="$gt_needs "
2681 # Check that the precious variables saved in the cache have kept the same
2683 ac_cache_corrupted
=false
2684 for ac_var
in $ac_precious_vars; do
2685 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2686 eval ac_new_set
=\
$ac_env_${ac_var}_set
2687 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2688 eval ac_new_val
=\
$ac_env_${ac_var}_value
2689 case $ac_old_set,$ac_new_set in
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2692 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2693 ac_cache_corrupted
=: ;;
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2696 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2697 ac_cache_corrupted
=: ;;
2700 if test "x$ac_old_val" != "x$ac_new_val"; then
2701 # differences in whitespace do not lead to failure.
2702 ac_old_val_w
=`echo x $ac_old_val`
2703 ac_new_val_w
=`echo x $ac_new_val`
2704 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2706 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2707 ac_cache_corrupted
=:
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2710 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2711 eval $ac_var=\
$ac_old_val
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2714 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2716 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2719 # Pass precious variables to config.status.
2720 if test "$ac_new_set" = set; then
2722 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2723 *) ac_arg
=$ac_var=$ac_new_val ;;
2725 case " $ac_configure_args " in
2726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2727 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2731 if $ac_cache_corrupted; then
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2735 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2736 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2738 ## -------------------- ##
2739 ## Main body of script. ##
2740 ## -------------------- ##
2743 ac_cpp
='$CPP $CPPFLAGS'
2744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2751 for ac_dir
in config
"$srcdir"/config
; do
2752 if test -f "$ac_dir/install-sh"; then
2754 ac_install_sh
="$ac_aux_dir/install-sh -c"
2756 elif test -f "$ac_dir/install.sh"; then
2758 ac_install_sh
="$ac_aux_dir/install.sh -c"
2760 elif test -f "$ac_dir/shtool"; then
2762 ac_install_sh
="$ac_aux_dir/shtool install -c"
2766 if test -z "$ac_aux_dir"; then
2767 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2770 # These three variables are undocumented and unsupported,
2771 # and are intended to be withdrawn in a future Autoconf release.
2772 # They can cause serious problems if a builder's source tree is in a directory
2773 # whose full name contains unusual characters.
2774 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2775 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2776 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2779 ac_config_headers
="$ac_config_headers lib/config.h"
2785 E2FSPROGS_VERSION
=`grep E2FSPROGS_VERSION ${srcdir}/version.h \
2786 | awk '{print $3}' | tr \" " " | awk '{print $1}'`
2787 E2FSPROGS_DATE
=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
2788 | tr \" " " | awk '{print $1}'`
2789 E2FSPROGS_DAY
=$
(echo $E2FSPROGS_DATE |
awk -F- '{print $1}' |
sed -e '/^[1-9]$/s/^/0/')
2790 MONTH
=`echo $E2FSPROGS_DATE | awk -F- '{print $2}'`
2791 YEAR
=`echo $E2FSPROGS_DATE | awk -F- '{print $3}'`
2793 if expr $YEAR ">" 1900 > /dev
/null
; then
2794 E2FSPROGS_YEAR
=$YEAR
2795 elif expr $YEAR ">" 90 >/dev
/null
; then
2796 E2FSPROGS_YEAR
=19$YEAR
2798 E2FSPROGS_YEAR
=20$YEAR
2802 Jan
) MONTH_NUM
=01; E2FSPROGS_MONTH
="January" ;;
2803 Feb
) MONTH_NUM
=02; E2FSPROGS_MONTH
="February" ;;
2804 Mar
) MONTH_NUM
=03; E2FSPROGS_MONTH
="March" ;;
2805 Apr
) MONTH_NUM
=04; E2FSPROGS_MONTH
="April" ;;
2806 May
) MONTH_NUM
=05; E2FSPROGS_MONTH
="May" ;;
2807 Jun
) MONTH_NUM
=06; E2FSPROGS_MONTH
="June" ;;
2808 Jul
) MONTH_NUM
=07; E2FSPROGS_MONTH
="July" ;;
2809 Aug
) MONTH_NUM
=08; E2FSPROGS_MONTH
="August" ;;
2810 Sep
) MONTH_NUM
=09; E2FSPROGS_MONTH
="September" ;;
2811 Oct
) MONTH_NUM
=10; E2FSPROGS_MONTH
="October" ;;
2812 Nov
) MONTH_NUM
=11; E2FSPROGS_MONTH
="November" ;;
2813 Dec
) MONTH_NUM
=12; E2FSPROGS_MONTH
="December" ;;
2814 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
2815 $as_echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
2818 base_ver
=`echo $E2FSPROGS_VERSION | \
2819 sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
2821 date_spec
=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
2823 case $E2FSPROGS_VERSION in
2825 E2FSPROGS_PKGVER
="$base_ver~WIP.$date_spec"
2828 E2FSPROGS_PKGVER
="$base_ver"
2832 unset DATE MONTH YEAR base_ver pre_vers date_spec
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
2834 $as_echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
2836 $as_echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
2845 # Check whether --with-diet-libc was given.
2846 if test "${with_diet_libc+set}" = set; then :
2847 withval=$with_diet_libc; CC="diet cc
-nostdinc"
2853 LIBS="$LIBS -lcompat"
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: CC
=$CC" >&5
2856 $as_echo "CC
=$CC" >&6; }
2858 # Make sure we can run config.sub.
2859 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2860 as_fn_error $? "cannot run
$SHELL $ac_aux_dir/config.sub
" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system
type" >&5
2863 $as_echo_n "checking build system
type...
" >&6; }
2864 if ${ac_cv_build+:} false; then :
2865 $as_echo_n "(cached
) " >&6
2867 ac_build_alias=$build_alias
2868 test "x
$ac_build_alias" = x &&
2869 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2870 test "x
$ac_build_alias" = x &&
2871 as_fn_error $? "cannot guess build
type; you must specify one
" "$LINENO" 5
2872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2873 as_fn_error $? "$SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" "$LINENO" 5
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_build" >&5
2877 $as_echo "$ac_cv_build" >&6; }
2878 case $ac_cv_build in
2880 *) as_fn_error $? "invalid value of canonical build
" "$LINENO" 5;;
2883 ac_save_IFS=$IFS; IFS='-'
2889 # Remember, the first character of IFS is used to create $*,
2890 # except with old shells:
2893 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
host system
type" >&5
2897 $as_echo_n "checking
host system
type...
" >&6; }
2898 if ${ac_cv_host+:} false; then :
2899 $as_echo_n "(cached
) " >&6
2901 if test "x
$host_alias" = x; then
2902 ac_cv_host=$ac_cv_build
2904 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2905 as_fn_error $? "$SHELL $ac_aux_dir/config.sub
$host_alias failed
" "$LINENO" 5
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_host" >&5
2910 $as_echo "$ac_cv_host" >&6; }
2913 *) as_fn_error $? "invalid value of canonical
host" "$LINENO" 5;;
2916 ac_save_IFS=$IFS; IFS='-'
2922 # Remember, the first character of IFS is used to create $*,
2923 # except with old shells:
2926 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2931 ac_cpp='$CPP $CPPFLAGS'
2932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935 if test -n "$ac_tool_prefix"; then
2936 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2939 $as_echo_n "checking
for $ac_word...
" >&6; }
2940 if ${ac_cv_prog_CC+:} false; then :
2941 $as_echo_n "(cached
) " >&6
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC="$CC" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2964 if test -n "$CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2966 $as_echo "$CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2969 $as_echo "no
" >&6; }
2974 if test -z "$ac_cv_prog_CC"; then
2976 # Extract the first word of "gcc
", so it can be a program name with args.
2977 set dummy gcc; ac_word=$2
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2979 $as_echo_n "checking
for $ac_word...
" >&6; }
2980 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2981 $as_echo_n "(cached
) " >&6
2983 if test -n "$ac_ct_CC"; then
2984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993 ac_cv_prog_ac_ct_CC="gcc
"
2994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3004 if test -n "$ac_ct_CC"; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
3006 $as_echo "$ac_ct_CC" >&6; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3009 $as_echo "no
" >&6; }
3012 if test "x
$ac_ct_CC" = x; then
3015 case $cross_compiling:$ac_tool_warned in
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3018 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3019 ac_tool_warned=yes ;;
3027 if test -z "$CC"; then
3028 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}cc; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3032 $as_echo_n "checking
for $ac_word...
" >&6; }
3033 if ${ac_cv_prog_CC+:} false; then :
3034 $as_echo_n "(cached
) " >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3057 if test -n "$CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
3059 $as_echo "$CC" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3062 $as_echo "no
" >&6; }
3068 if test -z "$CC"; then
3069 # Extract the first word of "cc
", so it can be a program name with args.
3070 set dummy cc; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3072 $as_echo_n "checking
for $ac_word...
" >&6; }
3073 if ${ac_cv_prog_CC+:} false; then :
3074 $as_echo_n "(cached
) " >&6
3076 if test -n "$CC"; then
3077 ac_cv_prog_CC="$CC" # Let the user override the test.
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3088 ac_prog_rejected=yes
3092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3099 if test $ac_prog_rejected = yes; then
3100 # We found a bogon in the path, so make sure we never use it.
3101 set dummy $ac_cv_prog_CC
3103 if test $# != 0; then
3104 # We chose a different compiler from the bogus one.
3105 # However, it has the same basename, so the bogon will be chosen
3106 # first if we set CC to just the basename; use the full file name.
3108 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
3116 $as_echo "$CC" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3119 $as_echo "no
" >&6; }
3124 if test -z "$CC"; then
3125 if test -n "$ac_tool_prefix"; then
3126 for ac_prog in cl.exe
3128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3131 $as_echo_n "checking
for $ac_word...
" >&6; }
3132 if ${ac_cv_prog_CC+:} false; then :
3133 $as_echo_n "(cached
) " >&6
3135 if test -n "$CC"; then
3136 ac_cv_prog_CC="$CC" # Let the user override the test.
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir=.
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3156 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
3158 $as_echo "$CC" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3161 $as_echo "no
" >&6; }
3165 test -n "$CC" && break
3168 if test -z "$CC"; then
3170 for ac_prog in cl.exe
3172 # Extract the first word of "$ac_prog", so it can be a program name with args.
3173 set dummy $ac_prog; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3175 $as_echo_n "checking
for $ac_word...
" >&6; }
3176 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3177 $as_echo_n "(cached
) " >&6
3179 if test -n "$ac_ct_CC"; then
3180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir=.
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189 ac_cv_prog_ac_ct_CC="$ac_prog"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3200 if test -n "$ac_ct_CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
3202 $as_echo "$ac_ct_CC" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3205 $as_echo "no
" >&6; }
3209 test -n "$ac_ct_CC" && break
3212 if test "x
$ac_ct_CC" = x; then
3215 case $cross_compiling:$ac_tool_warned in
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3218 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3219 ac_tool_warned=yes ;;
3228 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error $? "no acceptable C compiler found in \$PATH
3231 See \`config.log' for more details
" "$LINENO" 5; }
3233 # Provide some information about the compiler.
3234 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
3237 for ac_option in --version -v -V -qversion; do
3238 { { ac_try="$ac_compiler $ac_option >&5"
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3247 if test -s conftest.err; then
3249 ... rest of stderr output deleted ...
3250 10q' conftest.err >conftest.er1
3251 cat conftest.er1 >&5
3253 rm -f conftest.er1 conftest.err
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3255 test $ac_status = 0; }
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 ac_clean_files_save=$ac_clean_files
3270 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
3271 # Try to create an executable without -o first, disregard a.out.
3272 # It will help us diagnose broken compilers, and finding out an intuition
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
3275 $as_echo_n "checking whether the C compiler works...
" >&6; }
3276 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3278 # The possible output files:
3279 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
3282 for ac_file in $ac_files
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3286 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3291 if { { ac_try="$ac_link_default"
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3296 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_link_default") 2>&5
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3301 test $ac_status = 0; }; then :
3302 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3303 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3304 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3305 # so that the user can short-circuit this test for compilers unknown to
3307 for ac_file in $ac_files ''
3309 test -f "$ac_file" || continue
3311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3314 # We found the default executable, but exeext='' is most
3318 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3320 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3322 # We set ac_cv_exeext here because the later test for it is not
3323 # safe: cross compilers may not add the suffix if given an `-o'
3324 # argument, so we may need to know it at that point already.
3325 # Even if this section looks crufty: it has the advantage of
3332 test "$ac_cv_exeext" = no && ac_cv_exeext=
3337 if test -z "$ac_file"; then :
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3339 $as_echo "no
" >&6; }
3340 $as_echo "$as_me: failed program was
:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error 77 "C compiler cannot create executables
3346 See \`config.log' for more details
" "$LINENO" 5; }
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3349 $as_echo "yes" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
3352 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
3354 $as_echo "$ac_file" >&6; }
3355 ac_exeext=$ac_cv_exeext
3357 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3358 ac_clean_files=$ac_clean_files_save
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3360 $as_echo_n "checking
for suffix of executables...
" >&6; }
3361 if { { ac_try="$ac_link"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367 $as_echo "$ac_try_echo"; } >&5
3368 (eval "$ac_link") 2>&5
3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3371 test $ac_status = 0; }; then :
3372 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3373 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3374 # work properly (i.e., refer to `conftest.exe'), while it won't with
3376 for ac_file in conftest.exe conftest conftest.*; do
3377 test -f "$ac_file" || continue
3379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3380 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3389 See \`config.log' for more details
" "$LINENO" 5; }
3391 rm -f conftest conftest$ac_cv_exeext
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3393 $as_echo "$ac_cv_exeext" >&6; }
3395 rm -f conftest.$ac_ext
3396 EXEEXT=$ac_cv_exeext
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3404 FILE *f = fopen ("conftest.out
", "w
");
3405 return ferror (f) || fclose (f) != 0;
3411 ac_clean_files="$ac_clean_files conftest.out
"
3412 # Check that the compiler produces executables we can run. If not, either
3413 # the compiler is broken, or we cross compile.
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3415 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3416 if test "$cross_compiling" != yes; then
3417 { { ac_try="$ac_link"
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423 $as_echo "$ac_try_echo"; } >&5
3424 (eval "$ac_link") 2>&5
3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3427 test $ac_status = 0; }
3428 if { ac_try='./conftest$ac_cv_exeext'
3429 { { case "(($ac_try" in
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3433 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434 $as_echo "$ac_try_echo"; } >&5
3435 (eval "$ac_try") 2>&5
3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3438 test $ac_status = 0; }; }; then
3441 if test "$cross_compiling" = maybe; then
3444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446 as_fn_error $? "cannot run C compiled programs.
3447 If you meant to cross compile, use \`--host'.
3448 See \
`config.log' for more details" "$LINENO" 5; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3453 $as_echo "$cross_compiling" >&6; }
3455 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3456 ac_clean_files=$ac_clean_files_save
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3458 $as_echo_n "checking for suffix of object files... " >&6; }
3459 if ${ac_cv_objext+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3473 rm -f conftest.o conftest.obj
3474 if { { ac_try="$ac_compile"
3476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3477 *) ac_try_echo
=$ac_try;;
3479 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480 $as_echo "$ac_try_echo"; } >&5
3481 (eval "$ac_compile") 2>&5
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }; then :
3485 for ac_file
in conftest.o conftest.obj conftest.
*; do
3486 test -f "$ac_file" ||
continue;
3488 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
3489 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3494 $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.
$ac_ext >&5
3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3500 See \`config.log' for more details" "$LINENO" 5; }
3502 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3505 $as_echo "$ac_cv_objext" >&6; }
3506 OBJEXT
=$ac_cv_objext
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3509 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3510 if ${ac_cv_c_compiler_gnu+:} false
; then :
3511 $as_echo_n "(cached) " >&6
3513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3527 if ac_fn_c_try_compile
"$LINENO"; then :
3532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3533 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3537 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3538 if test $ac_compiler_gnu = yes; then
3543 ac_test_CFLAGS
=${CFLAGS+set}
3544 ac_save_CFLAGS
=$CFLAGS
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3546 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3547 if ${ac_cv_prog_cc_g+:} false
; then :
3548 $as_echo_n "(cached) " >&6
3550 ac_save_c_werror_flag
=$ac_c_werror_flag
3551 ac_c_werror_flag
=yes
3554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_c_try_compile
"$LINENO"; then :
3569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 if ac_fn_c_try_compile
"$LINENO"; then :
3583 ac_c_werror_flag
=$ac_save_c_werror_flag
3585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3596 if ac_fn_c_try_compile
"$LINENO"; then :
3599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3604 ac_c_werror_flag
=$ac_save_c_werror_flag
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3607 $as_echo "$ac_cv_prog_cc_g" >&6; }
3608 if test "$ac_test_CFLAGS" = set; then
3609 CFLAGS
=$ac_save_CFLAGS
3610 elif test $ac_cv_prog_cc_g = yes; then
3611 if test "$GCC" = yes; then
3617 if test "$GCC" = yes; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3624 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3625 if ${ac_cv_prog_cc_c89+:} false
; then :
3626 $as_echo_n "(cached) " >&6
3628 ac_cv_prog_cc_c89
=no
3630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3635 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3636 struct buf { int x; };
3637 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3638 static char *e (p, i)
3644 static char *f (char * (*g) (char **, int), char **p, ...)
3649 s = g (p, va_arg (v,int));
3654 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3655 function prototypes and stuff, but not '\xHH' hex character constants.
3656 These don't provoke an error unfortunately, instead are silently treated
3657 as 'x'. The following induces an error, until -std is added to get
3658 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3659 array size at least. It's necessary to write '\x00'==0 to get something
3660 that's true only with -std. */
3661 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3664 inside strings and character constants. */
3666 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3668 int test (int i, double x);
3669 struct s1 {int (*f) (int a);};
3670 struct s2 {int (*f) (double a);};
3671 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3677 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3682 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3683 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685 CC
="$ac_save_CC $ac_arg"
3686 if ac_fn_c_try_compile
"$LINENO"; then :
3687 ac_cv_prog_cc_c89
=$ac_arg
3689 rm -f core conftest.err conftest.
$ac_objext
3690 test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 rm -f conftest.
$ac_ext
3697 case "x$ac_cv_prog_cc_c89" in
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3700 $as_echo "none needed" >&6; } ;;
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3703 $as_echo "unsupported" >&6; } ;;
3705 CC
="$CC $ac_cv_prog_cc_c89"
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3707 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3714 ac_cpp
='$CPP $CPPFLAGS'
3715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
3721 $as_echo_n "checking for dlopen in -ldl... " >&6; }
3722 if ${ac_cv_lib_dl_dlopen+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3725 ac_check_lib_save_LIBS
=$LIBS
3727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3730 /* Override any GCC internal prototype to avoid an error.
3731 Use char because int might match the return type of a GCC
3732 builtin and then its argument prototype would still apply. */
3745 if ac_fn_c_try_link
"$LINENO"; then :
3746 ac_cv_lib_dl_dlopen
=yes
3748 ac_cv_lib_dl_dlopen
=no
3750 rm -f core conftest.err conftest.
$ac_objext \
3751 conftest
$ac_exeext conftest.
$ac_ext
3752 LIBS
=$ac_check_lib_save_LIBS
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
3755 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
3756 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
3762 # Check whether --with-cc was given.
3763 if test "${with_cc+set}" = set; then :
3764 withval
=$with_cc; as_fn_error $?
"--with-cc no longer supported; use CC= instead" "$LINENO" 5
3768 # Check whether --with-ccopts was given.
3769 if test "${with_ccopts+set}" = set; then :
3770 withval
=$with_ccopts; as_fn_error $?
"--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
3774 # Check whether --with-ldopts was given.
3775 if test "${with_ldopts+set}" = set; then :
3776 withval
=$with_ldopts; as_fn_error $?
"--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
3780 ac_cpp
='$CPP $CPPFLAGS'
3781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3784 if test -n "$ac_tool_prefix"; then
3785 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3786 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if ${ac_cv_prog_CC+:} false
; then :
3790 $as_echo_n "(cached) " >&6
3792 if test -n "$CC"; then
3793 ac_cv_prog_CC
="$CC" # Let the user override the test.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 if test -n "$CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 $as_echo "$CC" >&6; }
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3823 if test -z "$ac_cv_prog_CC"; then
3825 # Extract the first word of "gcc", so it can be a program name with args.
3826 set dummy gcc
; ac_word
=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3830 $as_echo_n "(cached) " >&6
3832 if test -n "$ac_ct_CC"; then
3833 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir
=.
3840 for ac_exec_ext
in '' $ac_executable_extensions; do
3841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_ac_ct_CC
="gcc"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3853 if test -n "$ac_ct_CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3855 $as_echo "$ac_ct_CC" >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3861 if test "x$ac_ct_CC" = x
; then
3864 case $cross_compiling:$ac_tool_warned in
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3868 ac_tool_warned
=yes ;;
3876 if test -z "$CC"; then
3877 if test -n "$ac_tool_prefix"; then
3878 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3879 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if ${ac_cv_prog_CC+:} false
; then :
3883 $as_echo_n "(cached) " >&6
3885 if test -n "$CC"; then
3886 ac_cv_prog_CC
="$CC" # Let the user override the test.
3888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir
=.
3893 for ac_exec_ext
in '' $ac_executable_extensions; do
3894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3895 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 if test -n "$CC"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3908 $as_echo "$CC" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3917 if test -z "$CC"; then
3918 # Extract the first word of "cc", so it can be a program name with args.
3919 set dummy cc
; ac_word
=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if ${ac_cv_prog_CC+:} false
; then :
3923 $as_echo_n "(cached) " >&6
3925 if test -n "$CC"; then
3926 ac_cv_prog_CC
="$CC" # Let the user override the test.
3929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir
=.
3934 for ac_exec_ext
in '' $ac_executable_extensions; do
3935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3936 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3937 ac_prog_rejected
=yes
3941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 if test $ac_prog_rejected = yes; then
3949 # We found a bogon in the path, so make sure we never use it.
3950 set dummy
$ac_cv_prog_CC
3952 if test $# != 0; then
3953 # We chose a different compiler from the bogus one.
3954 # However, it has the same basename, so the bogon will be chosen
3955 # first if we set CC to just the basename; use the full file name.
3957 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3963 if test -n "$CC"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3965 $as_echo "$CC" >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3973 if test -z "$CC"; then
3974 if test -n "$ac_tool_prefix"; then
3975 for ac_prog
in cl.exe
3977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3978 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if ${ac_cv_prog_CC+:} false
; then :
3982 $as_echo_n "(cached) " >&6
3984 if test -n "$CC"; then
3985 ac_cv_prog_CC
="$CC" # Let the user override the test.
3987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir
=.
3992 for ac_exec_ext
in '' $ac_executable_extensions; do
3993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3994 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 if test -n "$CC"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4007 $as_echo "$CC" >&6; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4014 test -n "$CC" && break
4017 if test -z "$CC"; then
4019 for ac_prog
in cl.exe
4021 # Extract the first word of "$ac_prog", so it can be a program name with args.
4022 set dummy
$ac_prog; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$ac_ct_CC"; then
4029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_ac_ct_CC
="$ac_prog"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4049 if test -n "$ac_ct_CC"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4051 $as_echo "$ac_ct_CC" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4058 test -n "$ac_ct_CC" && break
4061 if test "x$ac_ct_CC" = x
; then
4064 case $cross_compiling:$ac_tool_warned in
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4068 ac_tool_warned
=yes ;;
4077 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4079 as_fn_error $?
"no acceptable C compiler found in \$PATH
4080 See \`config.log' for more details" "$LINENO" 5; }
4082 # Provide some information about the compiler.
4083 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4086 for ac_option
in --version -v -V -qversion; do
4087 { { ac_try
="$ac_compiler $ac_option >&5"
4089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4096 if test -s conftest.err; then
4098 ... rest of stderr output deleted ...
4099 10q' conftest.err >conftest.er1
4100 cat conftest.er1 >&5
4102 rm -f conftest.er1 conftest.err
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4108 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4109 if ${ac_cv_c_compiler_gnu+:} false; then :
4110 $as_echo_n "(cached) " >&6
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4126 if ac_fn_c_try_compile "$LINENO"; then :
4131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4132 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4136 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4137 if test $ac_compiler_gnu = yes; then
4142 ac_test_CFLAGS=${CFLAGS+set}
4143 ac_save_CFLAGS=$CFLAGS
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4145 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4146 if ${ac_cv_prog_cc_g+:} false; then :
4147 $as_echo_n "(cached) " >&6
4149 ac_save_c_werror_flag=$ac_c_werror_flag
4150 ac_c_werror_flag=yes
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4164 if ac_fn_c_try_compile "$LINENO"; then :
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4179 if ac_fn_c_try_compile "$LINENO"; then :
4182 ac_c_werror_flag=$ac_save_c_werror_flag
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4195 if ac_fn_c_try_compile "$LINENO"; then :
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4203 ac_c_werror_flag=$ac_save_c_werror_flag
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4206 $as_echo "$ac_cv_prog_cc_g" >&6; }
4207 if test "$ac_test_CFLAGS" = set; then
4208 CFLAGS=$ac_save_CFLAGS
4209 elif test $ac_cv_prog_cc_g = yes; then
4210 if test "$GCC" = yes; then
4216 if test "$GCC" = yes; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4223 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4224 if ${ac_cv_prog_cc_c89+:} false; then :
4225 $as_echo_n "(cached) " >&6
4227 ac_cv_prog_cc_c89=no
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4234 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4235 struct buf { int x; };
4236 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4237 static char *e (p, i)
4243 static char *f (char * (*g) (char **, int), char **p, ...)
4248 s = g (p, va_arg (v,int));
4253 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4254 function prototypes and stuff, but not '\xHH' hex character constants.
4255 These don't provoke an error unfortunately, instead are silently treated
4256 as 'x'. The following induces an error, until -std is added to get
4257 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4258 array size at least. It's necessary to write '\x00'==0 to get something
4259 that's true only with -std. */
4260 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4262 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4263 inside strings and character constants. */
4265 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4267 int test (int i, double x);
4268 struct s1 {int (*f) (int a);};
4269 struct s2 {int (*f) (double a);};
4270 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4276 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4281 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4282 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4284 CC="$ac_save_CC $ac_arg"
4285 if ac_fn_c_try_compile "$LINENO"; then :
4286 ac_cv_prog_cc_c89=$ac_arg
4288 rm -f core conftest.err conftest.$ac_objext
4289 test "x$ac_cv_prog_cc_c89" != "xno" && break
4291 rm -f conftest.$ac_ext
4296 case "x$ac_cv_prog_cc_c89" in
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4299 $as_echo "none needed" >&6; } ;;
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4302 $as_echo "unsupported" >&6; } ;;
4304 CC="$CC $ac_cv_prog_cc_c89"
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4306 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4308 if test "x$ac_cv_prog_cc_c89" != xno; then :
4313 ac_cpp='$CPP $CPPFLAGS'
4314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4318 if test "$GCC" = yes; then
4319 RDYNAMIC="-rdynamic"
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4328 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4329 # On Suns, sometimes $CPP names a directory.
4330 if test -n "$CPP" && test -d "$CPP"; then
4333 if test -z "$CPP"; then
4334 if ${ac_cv_prog_CPP+:} false; then :
4335 $as_echo_n "(cached) " >&6
4337 # Double quotes because CPP needs to be expanded
4338 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4341 for ac_c_preproc_warn_flag in '' yes
4343 # Use a header file that comes with gcc, so configuring glibc
4344 # with a fresh cross-compiler works.
4345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4346 # <limits.h> exists even on freestanding compilers.
4347 # On the NeXT, cc -E runs the code through the compiler's parser,
4348 # not just through cpp. "Syntax error" is here to catch this case.
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4352 # include <limits.h>
4354 # include <assert.h>
4358 if ac_fn_c_try_cpp "$LINENO"; then :
4361 # Broken: fails on valid input.
4364 rm -f conftest.err conftest.i conftest.$ac_ext
4366 # OK, works on sane cases. Now check whether nonexistent headers
4367 # can be detected and how.
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4370 #include <ac_nonexistent.h>
4372 if ac_fn_c_try_cpp "$LINENO"; then :
4373 # Broken: success on invalid input.
4376 # Passes both tests.
4380 rm -f conftest.err conftest.i conftest.$ac_ext
4383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4384 rm -f conftest.i conftest.err conftest.
$ac_ext
4385 if $ac_preproc_ok; then :
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4398 $as_echo "$CPP" >&6; }
4400 for ac_c_preproc_warn_flag
in '' yes
4402 # Use a header file that comes with gcc, so configuring glibc
4403 # with a fresh cross-compiler works.
4404 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4405 # <limits.h> exists even on freestanding compilers.
4406 # On the NeXT, cc -E runs the code through the compiler's parser,
4407 # not just through cpp. "Syntax error" is here to catch this case.
4408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4411 # include <limits.h>
4413 # include <assert.h>
4417 if ac_fn_c_try_cpp
"$LINENO"; then :
4420 # Broken: fails on valid input.
4423 rm -f conftest.err conftest.i conftest.
$ac_ext
4425 # OK, works on sane cases. Now check whether nonexistent headers
4426 # can be detected and how.
4427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4429 #include <ac_nonexistent.h>
4431 if ac_fn_c_try_cpp
"$LINENO"; then :
4432 # Broken: success on invalid input.
4435 # Passes both tests.
4439 rm -f conftest.err conftest.i conftest.
$ac_ext
4442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4443 rm -f conftest.i conftest.err conftest.
$ac_ext
4444 if $ac_preproc_ok; then :
4447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4449 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4450 See \`config.log' for more details" "$LINENO" 5; }
4454 ac_cpp
='$CPP $CPPFLAGS'
4455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
4460 $as_echo_n "checking for additional special compiler flags... " >&6; }
4461 if test "$GCC" = yes
4464 alpha
) addcflags
="-mieee" ;;
4467 if test "x$addcflags" != x
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
4470 $as_echo "$addcflags" >&6; }
4471 CFLAGS
="$addcflags $CFLAGS"
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
4474 $as_echo "(none)" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4478 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4479 if ${ac_cv_path_GREP+:} false
; then :
4480 $as_echo_n "(cached) " >&6
4482 if test -z "$GREP"; then
4483 ac_path_GREP_found
=false
4484 # Loop through the user's path and test for each of PROGNAME-LIST
4485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4486 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4489 test -z "$as_dir" && as_dir
=.
4490 for ac_prog
in grep ggrep
; do
4491 for ac_exec_ext
in '' $ac_executable_extensions; do
4492 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4493 as_fn_executable_p
"$ac_path_GREP" ||
continue
4494 # Check for GNU ac_path_GREP and select it if it is found.
4495 # Check for GNU $ac_path_GREP
4496 case `"$ac_path_GREP" --version 2>&1` in
4498 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4501 $as_echo_n 0123456789 >"conftest.in"
4504 cat "conftest.in" "conftest.in" >"conftest.tmp"
4505 mv "conftest.tmp" "conftest.in"
4506 cp "conftest.in" "conftest.nl"
4507 $as_echo 'GREP' >> "conftest.nl"
4508 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4509 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4510 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4511 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4512 # Best one so far, save it but keep looking for a better one
4513 ac_cv_path_GREP
="$ac_path_GREP"
4514 ac_path_GREP_max
=$ac_count
4516 # 10*(2^10) chars as input seems more than enough
4517 test $ac_count -gt 10 && break
4519 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4522 $ac_path_GREP_found && break 3
4527 if test -z "$ac_cv_path_GREP"; then
4528 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4531 ac_cv_path_GREP
=$GREP
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4536 $as_echo "$ac_cv_path_GREP" >&6; }
4537 GREP
="$ac_cv_path_GREP"
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4541 $as_echo_n "checking for egrep... " >&6; }
4542 if ${ac_cv_path_EGREP+:} false
; then :
4543 $as_echo_n "(cached) " >&6
4545 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4546 then ac_cv_path_EGREP
="$GREP -E"
4548 if test -z "$EGREP"; then
4549 ac_path_EGREP_found
=false
4550 # Loop through the user's path and test for each of PROGNAME-LIST
4551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4555 test -z "$as_dir" && as_dir
=.
4556 for ac_prog
in egrep; do
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4559 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4560 # Check for GNU ac_path_EGREP and select it if it is found.
4561 # Check for GNU $ac_path_EGREP
4562 case `"$ac_path_EGREP" --version 2>&1` in
4564 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4567 $as_echo_n 0123456789 >"conftest.in"
4570 cat "conftest.in" "conftest.in" >"conftest.tmp"
4571 mv "conftest.tmp" "conftest.in"
4572 cp "conftest.in" "conftest.nl"
4573 $as_echo 'EGREP' >> "conftest.nl"
4574 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4575 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4576 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4577 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4578 # Best one so far, save it but keep looking for a better one
4579 ac_cv_path_EGREP
="$ac_path_EGREP"
4580 ac_path_EGREP_max
=$ac_count
4582 # 10*(2^10) chars as input seems more than enough
4583 test $ac_count -gt 10 && break
4585 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4588 $ac_path_EGREP_found && break 3
4593 if test -z "$ac_cv_path_EGREP"; then
4594 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4597 ac_cv_path_EGREP
=$EGREP
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4603 $as_echo "$ac_cv_path_EGREP" >&6; }
4604 EGREP
="$ac_cv_path_EGREP"
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4608 $as_echo_n "checking for ANSI C header files... " >&6; }
4609 if ${ac_cv_header_stdc+:} false
; then :
4610 $as_echo_n "(cached) " >&6
4612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4627 if ac_fn_c_try_compile
"$LINENO"; then :
4628 ac_cv_header_stdc
=yes
4630 ac_cv_header_stdc
=no
4632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4634 if test $ac_cv_header_stdc = yes; then
4635 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4642 $EGREP "memchr" >/dev
/null
2>&1; then :
4645 ac_cv_header_stdc
=no
4651 if test $ac_cv_header_stdc = yes; then
4652 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4659 $EGREP "free" >/dev
/null
2>&1; then :
4662 ac_cv_header_stdc
=no
4668 if test $ac_cv_header_stdc = yes; then
4669 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4670 if test "$cross_compiling" = yes; then :
4673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4677 #if ((' ' & 0x0FF) == 0x020)
4678 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4679 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4681 # define ISLOWER(c) \
4682 (('a' <= (c) && (c) <= 'i') \
4683 || ('j' <= (c) && (c) <= 'r') \
4684 || ('s' <= (c) && (c) <= 'z'))
4685 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4688 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4693 for (i = 0; i < 256; i++)
4694 if (XOR (islower (i), ISLOWER (i))
4695 || toupper (i) != TOUPPER (i))
4700 if ac_fn_c_try_run
"$LINENO"; then :
4703 ac_cv_header_stdc
=no
4705 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4706 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4712 $as_echo "$ac_cv_header_stdc" >&6; }
4713 if test $ac_cv_header_stdc = yes; then
4715 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4719 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4720 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4721 inttypes.h stdint.h unistd.h
4723 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4724 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4726 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4727 cat >>confdefs.h
<<_ACEOF
4728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4737 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4738 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4745 if test "$MINIX" = yes; then
4747 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4750 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4753 $as_echo "#define _MINIX 1" >>confdefs.h
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4759 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4760 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4761 $as_echo_n "(cached) " >&6
4763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4766 # define __EXTENSIONS__ 1
4767 $ac_includes_default
4776 if ac_fn_c_try_compile
"$LINENO"; then :
4777 ac_cv_safe_to_define___extensions__
=yes
4779 ac_cv_safe_to_define___extensions__
=no
4781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4784 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4785 test $ac_cv_safe_to_define___extensions__ = yes &&
4786 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4788 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4790 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4792 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4794 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4801 # Check whether --with-root-prefix was given.
4802 if test "${with_root_prefix+set}" = set; then :
4803 withval
=$with_root_prefix; root_prefix
=$withval
4807 # Check whether --enable-maintainer-mode was given.
4808 if test "${enable_maintainer_mode+set}" = set; then :
4809 enableval
=$enable_maintainer_mode; if test "$enableval" = "no"
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode" >&5
4813 $as_echo "Disabling maintainer mode" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling maintainer mode" >&5
4817 $as_echo "Enabling maintainer mode" >&6; }
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode by default" >&5
4823 $as_echo "Disabling maintainer mode by default" >&6; }
4828 # Check whether --enable-symlink-install was given.
4829 if test "${enable_symlink_install+set}" = set; then :
4830 enableval
=$enable_symlink_install; if test "$enableval" = "no"
4832 LINK_INSTALL_FLAGS
=-f
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
4834 $as_echo "Disabling symlinks for install" >&6; }
4836 LINK_INSTALL_FLAGS
=-sf
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for install" >&5
4838 $as_echo "Enabling symlinks for install" >&6; }
4842 LINK_INSTALL_FLAGS
=-f
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install by default" >&5
4844 $as_echo "Disabling symlinks for install by default" >&6; }
4849 relative_symlink_defined
=
4850 # Check whether --enable-relative-symlinks was given.
4851 if test "${enable_relative_symlinks+set}" = set; then :
4852 enableval
=$enable_relative_symlinks; if test "$enableval" = "no"
4855 relative_symlink_defined
=yes
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
4857 $as_echo "Disabling relative symlinks for install" >&6; }
4859 SYMLINK_RELATIVE
=--relative
4860 relative_symlink_defined
=yes
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
4862 $as_echo "Enabling relative symlinks for install" >&6; }
4866 # Check whether --enable-symlink-relative-symlinks was given.
4867 if test "${enable_symlink_relative_symlinks+set}" = set; then :
4868 enableval
=$enable_symlink_relative_symlinks; if test "$enableval" = "no"
4870 SYMLINK_RELATIVE
=yes
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
4872 $as_echo "Disabling relative symlinks for install" >&6; }
4874 SYMLINK_RELATIVE
=--relative
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
4876 $as_echo "Enabling relative symlinks for install" >&6; }
4880 if test -z "$relative_symlink_defined"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install by default" >&5
4884 $as_echo "Disabling relative symlinks for install by default" >&6; }
4890 # Check whether --enable-symlink-build was given.
4891 if test "${enable_symlink_build+set}" = set; then :
4892 enableval
=$enable_symlink_build; if test "$enableval" = "no"
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
4896 $as_echo "Disabling symlinks for build" >&6; }
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for build" >&5
4900 $as_echo "Enabling symlinks for build" >&6; }
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build by default" >&5
4906 $as_echo "Disabling symlinks for build by default" >&6; }
4911 # Check whether --enable-verbose-makecmds was given.
4912 if test "${enable_verbose_makecmds+set}" = set; then :
4913 enableval
=$enable_verbose_makecmds; if test "$enableval" = "no"
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
4916 $as_echo "Disabling verbose make commands" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling verbose make commands" >&5
4922 $as_echo "Enabling verbose make commands" >&6; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
4930 $as_echo "Disabling verbose make commands" >&6; }
4940 E2_PKG_CONFIG_STATIC
=--static
4943 # Check whether --enable-elf-shlibs was given.
4944 if test "${enable_elf_shlibs+set}" = set; then :
4945 enableval
=$enable_elf_shlibs; if test "$enableval" = "no"
4948 MAKEFILE_ELF
=/dev
/null
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries" >&5
4950 $as_echo "Disabling ELF shared libraries" >&6; }
4952 E2_PKG_CONFIG_STATIC
=
4954 MAKEFILE_ELF
=$srcdir/lib
/Makefile.elf-lib
4957 MAKEFILE_ELF
=$srcdir/lib
/Makefile.solaris-lib
4963 LDFLAG_DYNAMIC
='-Wl,-rpath-link,$(top_builddir)/lib'
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ELF shared libraries" >&5
4965 $as_echo "Enabling ELF shared libraries" >&6; }
4969 MAKEFILE_ELF
=/dev
/null
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries by default" >&5
4972 $as_echo "Disabling ELF shared libraries by default" >&6; }
4978 # Check whether --enable-bsd-shlibs was given.
4979 if test "${enable_bsd_shlibs+set}" = set; then :
4980 enableval
=$enable_bsd_shlibs; if test "$enableval" = "no"
4983 MAKEFILE_BSDLIB
=/dev
/null
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries" >&5
4985 $as_echo "Disabling BSD shared libraries" >&6; }
4987 E2_PKG_CONFIG_STATIC
=
4989 MAKEFILE_BSDLIB
=$srcdir/lib
/Makefile.bsd-lib
4993 MAKEFILE_BSDLIB
=$srcdir/lib
/Makefile.darwin-lib
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling BSD shared libraries" >&5
4998 $as_echo "Enabling BSD shared libraries" >&6; }
5002 MAKEFILE_BSDLIB
=/dev
/null
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries by default" >&5
5005 $as_echo "Disabling BSD shared libraries by default" >&6; }
5011 # Check whether --enable-profile was given.
5012 if test "${enable_profile+set}" = set; then :
5013 enableval
=$enable_profile; if test "$enableval" = "no"
5016 MAKEFILE_PROFILE
=/dev
/null
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries" >&5
5018 $as_echo "Disabling profiling libraries" >&6; }
5021 MAKEFILE_PROFILE
=$srcdir/lib
/Makefile.profile
5022 PROFILED_LIB_EXT
=_p.a
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building profiling libraries" >&5
5024 $as_echo "Building profiling libraries" >&6; }
5029 MAKEFILE_PROFILE
=/dev
/null
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries by default" >&5
5031 $as_echo "Disabling profiling libraries by default" >&6; }
5037 # Check whether --enable-gcov was given.
5038 if test "${enable_gcov+set}" = set; then :
5039 enableval
=$enable_gcov; if test "$enableval" = "yes"
5041 CFLAGS
="-g -fprofile-arcs -ftest-coverage"
5042 LDFLAGS
="-fprofile-arcs -ftest-coverage"
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling gcov support" >&5
5044 $as_echo "Enabling gcov support" >&6; }
5049 CFLAGS_SHLIB
="${CFLAGS_SHLIB:-$CFLAGS}"
5050 CFLAGS_STLIB
="${CFLAGS_STLIB:-$CFLAGS}"
5051 LDFLAGS_SHLIB
=${LDFLAGS_SHLIB:-$LDFLAGS}
5052 LDFLAGS_STATIC
=${LDFLAGS_STATIC:-$LDFLAGS}
5053 # Check whether --enable-hardening was given.
5054 if test "${enable_hardening+set}" = set; then :
5055 enableval
=$enable_hardening; if test "$enableval" = "yes"
5057 HARDEN_CFLAGS
="-D_FORTIFY_SOURCE=2 -fstack-protector-strong"
5058 HARDEN_LDFLAGS
="-Wl,-z,relro -Wl,-z,now"
5059 CFLAGS
="$CFLAGS $HARDEN_CFLAGS -fPIE"
5060 CFLAGS_SHLIB
="$CFLAGS_SHLIB $HARDEN_CFLAGS"
5061 CFLAGS_STLIB
="$CFLAGS_STLIB $HARDEN_CFLAGS -fPIE"
5062 LDFLAGS
="$LDFLAGS $HARDEN_LDFLAGS -fPIE -pie"
5063 LDFLAGS_STATIC
="$LDFLAGS_STATIC $HARDEN_LDFLAGS"
5064 LDFLAGS_SHLIB
="$LDFLAGS_SHLIB $HARDEN_LDFLAGS"
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling hardening support" >&5
5066 $as_echo "Enabling hardening support" >&6; }
5076 # Check whether --enable-jbd-debug was given.
5077 if test "${enable_jbd_debug+set}" = set; then :
5078 enableval
=$enable_jbd_debug; if test "$enableval" = "no"
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging" >&5
5081 $as_echo "Disabling journal debugging" >&6; }
5084 $as_echo "#define CONFIG_JBD_DEBUG 1" >>confdefs.h
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling journal debugging" >&5
5087 $as_echo "Enabling journal debugging" >&6; }
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging by default" >&5
5092 $as_echo "Disabling journal debugging by default" >&6; }
5096 # Check whether --enable-blkid-debug was given.
5097 if test "${enable_blkid_debug+set}" = set; then :
5098 enableval
=$enable_blkid_debug; if test "$enableval" = "no"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging" >&5
5101 $as_echo "Disabling blkid debugging" >&6; }
5104 $as_echo "#define CONFIG_BLKID_DEBUG 1" >>confdefs.h
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling blkid debugging" >&5
5107 $as_echo "Enabling blkid debugging" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging by default" >&5
5112 $as_echo "Disabling blkid debugging by default" >&6; }
5116 # Check whether --enable-testio-debug was given.
5117 if test "${enable_testio_debug+set}" = set; then :
5118 enableval
=$enable_testio_debug;
5119 if test "$enableval" = "no"
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling testio debugging" >&5
5122 $as_echo "Disabling testio debugging" >&6; }
5126 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging" >&5
5129 $as_echo "Enabling testio debugging" >&6; }
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging by default" >&5
5134 $as_echo "Enabling testio debugging by default" >&6; }
5135 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
5142 # Check whether --enable-developer-features was given.
5143 if test "${enable_developer_features+set}" = set; then :
5144 enableval
=$enable_developer_features;
5145 if test "$enableval" = "yes"
5148 $as_echo "#define CONFIG_DEVELOPER_FEATURES 1" >>confdefs.h
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ext4 developer features" >&5
5151 $as_echo "Enabling ext4 developer features" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ext4 developer features" >&5
5154 $as_echo "Disabling ext4 developer features" >&6; }
5155 DEV_FEATURES_CMT
="#"
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ext4 developer features by default" >&5
5160 $as_echo "Disabling ext4 developer features by default" >&6; }
5173 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5174 if test -n "$ac_tool_prefix"; then
5175 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5176 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5184 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5191 test -z "$as_dir" && as_dir
=.
5192 for ac_exec_ext
in '' $ac_executable_extensions; do
5193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5194 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5206 if test -n "$PKG_CONFIG"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5208 $as_echo "$PKG_CONFIG" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5216 if test -z "$ac_cv_path_PKG_CONFIG"; then
5217 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5218 # Extract the first word of "pkg-config", so it can be a program name with args.
5219 set dummy pkg-config
; ac_word
=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5223 $as_echo_n "(cached) " >&6
5225 case $ac_pt_PKG_CONFIG in
5227 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir
=.
5235 for ac_exec_ext
in '' $ac_executable_extensions; do
5236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5249 if test -n "$ac_pt_PKG_CONFIG"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5251 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5257 if test "x$ac_pt_PKG_CONFIG" = x
; then
5260 case $cross_compiling:$ac_tool_warned in
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5264 ac_tool_warned
=yes ;;
5266 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5269 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5273 if test -n "$PKG_CONFIG"; then
5274 _pkg_min_version
=0.9.0
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5276 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5277 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5279 $as_echo "yes" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5291 DEPPROFILED_LIBUUID
=
5293 # Check whether --enable-libuuid was given.
5294 if test "${enable_libuuid+set}" = set; then :
5295 enableval
=$enable_libuuid; if test "$enableval" = "no"
5297 if test -z "$PKG_CONFIG"; then
5298 as_fn_error $?
"pkg-config not installed; please install it." "$LINENO" 5
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
5302 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
5303 if ${ac_cv_lib_uuid_uuid_generate+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 ac_check_lib_save_LIBS
=$LIBS
5308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5311 /* Override any GCC internal prototype to avoid an error.
5312 Use char because int might match the return type of a GCC
5313 builtin and then its argument prototype would still apply. */
5317 char uuid_generate ();
5321 return uuid_generate ();
5326 if ac_fn_c_try_link
"$LINENO"; then :
5327 ac_cv_lib_uuid_uuid_generate
=yes
5329 ac_cv_lib_uuid_uuid_generate
=no
5331 rm -f core conftest.err conftest.
$ac_objext \
5332 conftest
$ac_exeext conftest.
$ac_ext
5333 LIBS
=$ac_check_lib_save_LIBS
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
5336 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
5337 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes
; then :
5338 LIBUUID
=`$PKG_CONFIG --libs uuid`;
5339 STATIC_LIBUUID
=`$PKG_CONFIG --static --libs uuid`
5341 as_fn_error $?
"external uuid library not found" "$LINENO" 5
5344 PROFILED_LIBUUID
=$LIBUUID
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private uuid library" >&5
5347 $as_echo "Disabling private uuid library" >&6; }
5349 LIBUUID
='$(LIB)/libuuid'$LIB_EXT
5351 STATIC_LIBUUID
='$(LIB)/libuuid'$STATIC_LIB_EXT
5352 DEPSTATIC_LIBUUID
=$STATIC_LIBUUID
5353 PROFILED_LIBUUID
='$(LIB)/libuuid'$PROFILED_LIB_EXT
5354 DEPPROFILED_LIBUUID
=$PROFILED_LIBUUID
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library" >&5
5356 $as_echo "Enabling private uuid library" >&6; }
5360 if test -n "$PKG_CONFIG"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
5362 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
5363 if ${ac_cv_lib_uuid_uuid_generate+:} false
; then :
5364 $as_echo_n "(cached) " >&6
5366 ac_check_lib_save_LIBS
=$LIBS
5368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5371 /* Override any GCC internal prototype to avoid an error.
5372 Use char because int might match the return type of a GCC
5373 builtin and then its argument prototype would still apply. */
5377 char uuid_generate ();
5381 return uuid_generate ();
5386 if ac_fn_c_try_link
"$LINENO"; then :
5387 ac_cv_lib_uuid_uuid_generate
=yes
5389 ac_cv_lib_uuid_uuid_generate
=no
5391 rm -f core conftest.err conftest.
$ac_objext \
5392 conftest
$ac_exeext conftest.
$ac_ext
5393 LIBS
=$ac_check_lib_save_LIBS
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
5396 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
5397 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes
; then :
5398 LIBUUID
=`$PKG_CONFIG --libs uuid`;
5399 STATIC_LIBUUID
=`$PKG_CONFIG --static --libs uuid`
5403 if test -n "$LIBUUID"; then
5404 PROFILED_LIBUUID
=$LIBUUID
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using system uuid by default" >&5
5407 $as_echo "Using system uuid by default" >&6; }
5409 LIBUUID
='$(LIB)/libuuid'$LIB_EXT
5411 STATIC_LIBUUID
='$(LIB)/libuuid'$STATIC_LIB_EXT
5412 DEPSTATIC_LIBUUID
=$STATIC_LIBUUID
5413 PROFILED_LIBUUID
='$(LIB)/libuuid'$PROFILED_LIB_EXT
5414 DEPPROFILED_LIBUUID
=$PROFILED_LIBUUID
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library by default" >&5
5416 $as_echo "Enabling private uuid library by default" >&6; }
5435 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5436 if test -n "$ac_tool_prefix"; then
5437 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5438 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5442 $as_echo_n "(cached) " >&6
5446 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5453 test -z "$as_dir" && as_dir
=.
5454 for ac_exec_ext
in '' $ac_executable_extensions; do
5455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5468 if test -n "$PKG_CONFIG"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5470 $as_echo "$PKG_CONFIG" >&6; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5478 if test -z "$ac_cv_path_PKG_CONFIG"; then
5479 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5480 # Extract the first word of "pkg-config", so it can be a program name with args.
5481 set dummy pkg-config
; ac_word
=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5485 $as_echo_n "(cached) " >&6
5487 case $ac_pt_PKG_CONFIG in
5489 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5496 test -z "$as_dir" && as_dir
=.
5497 for ac_exec_ext
in '' $ac_executable_extensions; do
5498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5511 if test -n "$ac_pt_PKG_CONFIG"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5513 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5519 if test "x$ac_pt_PKG_CONFIG" = x
; then
5522 case $cross_compiling:$ac_tool_warned in
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5526 ac_tool_warned
=yes ;;
5528 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5531 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5535 if test -n "$PKG_CONFIG"; then
5536 _pkg_min_version
=0.9.0
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5538 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5539 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5541 $as_echo "yes" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5553 DEPPROFILED_LIBBLKID
=
5556 # Check whether --enable-libblkid was given.
5557 if test "${enable_libblkid+set}" = set; then :
5558 enableval
=$enable_libblkid; if test "$enableval" = "no"
5560 if test -z "$PKG_CONFIG"; then
5561 as_fn_error $?
"pkg-config not installed; please install it." "$LINENO" 5
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
5565 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
5566 if ${ac_cv_lib_blkid_blkid_get_cache+:} false
; then :
5567 $as_echo_n "(cached) " >&6
5569 ac_check_lib_save_LIBS
=$LIBS
5570 LIBS
="-lblkid -luuid $LIBS"
5571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5572 /* end confdefs.h. */
5574 /* Override any GCC internal prototype to avoid an error.
5575 Use char because int might match the return type of a GCC
5576 builtin and then its argument prototype would still apply. */
5580 char blkid_get_cache ();
5584 return blkid_get_cache ();
5589 if ac_fn_c_try_link
"$LINENO"; then :
5590 ac_cv_lib_blkid_blkid_get_cache
=yes
5592 ac_cv_lib_blkid_blkid_get_cache
=no
5594 rm -f core conftest.err conftest.
$ac_objext \
5595 conftest
$ac_exeext conftest.
$ac_ext
5596 LIBS
=$ac_check_lib_save_LIBS
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
5599 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
5600 if test "x$ac_cv_lib_blkid_blkid_get_cache" = xyes
; then :
5601 LIBBLKID
=`$PKG_CONFIG --libs blkid`;
5602 STATIC_LIBBLKID
=`$PKG_CONFIG --static --libs blkid`
5604 as_fn_error $?
"external blkid library not found" "$LINENO" 5
5608 PROFILED_LIBBLKID
=$LIBBLKID
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private blkid library" >&5
5610 $as_echo "Disabling private blkid library" >&6; }
5612 LIBBLKID
='$(LIB)/libblkid'$LIB_EXT
5613 DEPLIBBLKID
=$LIBBLKID
5614 STATIC_LIBBLKID
='$(LIB)/libblkid'$STATIC_LIB_EXT
5615 DEPSTATIC_LIBBLKID
=$STATIC_LIBBLKID
5616 PROFILED_LIBBLKID
='$(LIB)/libblkid'$PROFILED_LIB_EXT
5617 DEPPROFILED_LIBBLKID
=$PROFILED_LIBBLKID
5618 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library" >&5
5621 $as_echo "Enabling private blkid library" >&6; }
5625 if test -n "$PKG_CONFIG"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
5627 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
5628 if ${ac_cv_lib_blkid_blkid_get_cache+:} false
; then :
5629 $as_echo_n "(cached) " >&6
5631 ac_check_lib_save_LIBS
=$LIBS
5632 LIBS
="-lblkid $LIBS"
5633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5636 /* Override any GCC internal prototype to avoid an error.
5637 Use char because int might match the return type of a GCC
5638 builtin and then its argument prototype would still apply. */
5642 char blkid_get_cache ();
5646 return blkid_get_cache ();
5651 if ac_fn_c_try_link
"$LINENO"; then :
5652 ac_cv_lib_blkid_blkid_get_cache
=yes
5654 ac_cv_lib_blkid_blkid_get_cache
=no
5656 rm -f core conftest.err conftest.
$ac_objext \
5657 conftest
$ac_exeext conftest.
$ac_ext
5658 LIBS
=$ac_check_lib_save_LIBS
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
5661 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
5662 if test "x$ac_cv_lib_blkid_blkid_get_cache" = xyes
; then :
5663 LIBBLKID
=`$PKG_CONFIG --libs blkid`;
5664 STATIC_LIBBLKID
=`$PKG_CONFIG --static --libs blkid`
5668 if test -n "$LIBBLKID"; then
5670 PROFILED_LIBBLKID
=$LIBBLKID
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using system blkid library by default" >&5
5672 $as_echo "Using system blkid library by default" >&6; }
5674 LIBBLKID
='$(LIB)/libblkid'$LIB_EXT
5675 DEPLIBBLKID
=$LIBBLKID
5676 STATIC_LIBBLKID
='$(LIB)/libblkid'$STATIC_LIB_EXT
5677 DEPSTATIC_LIBBLKID
=$STATIC_LIBBLKID
5678 PROFILED_LIBBLKID
='$(LIB)/libblkid'$PROFILED_LIB_EXT
5679 DEPPROFILED_LIBBLKID
=$PROFILED_LIBBLKID
5680 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library by default" >&5
5683 $as_echo "Enabling private blkid library by default" >&6; }
5697 # Check whether --enable-subset was given.
5698 if test "${enable_subset+set}" = set; then :
5699 enableval
=$enable_subset; if test "$enableval" = "no"
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling subset-only build" >&5
5703 $as_echo "Disabling subset-only build" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling subset-only-build" >&5
5707 $as_echo "Enabling subset-only-build" >&6; }
5715 # Check whether --enable-backtrace was given.
5716 if test "${enable_backtrace+set}" = set; then :
5717 enableval
=$enable_backtrace; if test "$enableval" = "no"
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling use of backtrace" >&5
5720 $as_echo "Disabling use of backtrace" >&6; }
5721 $as_echo "#define DISABLE_BACKTRACE 1" >>confdefs.h
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace" >&5
5725 $as_echo "Enabling use of backtrace" >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace by default" >&5
5730 $as_echo "Enabling use of backtrace by default" >&6; }
5734 # Check whether --enable-debugfs was given.
5735 if test "${enable_debugfs+set}" = set; then :
5736 enableval
=$enable_debugfs; if test "$enableval" = "no"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling debugfs support" >&5
5739 $as_echo "Disabling debugfs support" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support" >&5
5744 $as_echo "Enabling debugfs support" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support by default" >&5
5749 $as_echo "Enabling debugfs support by default" >&6; }
5755 # Check whether --enable-imager was given.
5756 if test "${enable_imager+set}" = set; then :
5757 enableval
=$enable_imager; if test "$enableval" = "no"
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2image support" >&5
5760 $as_echo "Disabling e2image support" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support" >&5
5765 $as_echo "Enabling e2image support" >&6; }
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support by default" >&5
5770 $as_echo "Enabling e2image support by default" >&6; }
5776 # Check whether --enable-resizer was given.
5777 if test "${enable_resizer+set}" = set; then :
5778 enableval
=$enable_resizer; if test "$enableval" = "no"
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2resize support" >&5
5781 $as_echo "Disabling e2resize support" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support" >&5
5786 $as_echo "Enabling e2resize support" >&6; }
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support by default" >&5
5791 $as_echo "Enabling e2resize support by default" >&6; }
5797 # Check whether --enable-defrag was given.
5798 if test "${enable_defrag+set}" = set; then :
5799 enableval
=$enable_defrag; if test "$enableval" = "no"
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support" >&5
5802 $as_echo "Disabling e4defrag support" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support" >&5
5807 $as_echo "Enabling e4defrag support" >&6; }
5811 if test -z "$WITH_DIET_LIBC"
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support by default" >&5
5814 $as_echo "Enabling e4defrag support by default" >&6; }
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support by default" >&5
5818 $as_echo "Disabling e4defrag support by default" >&6; }
5825 # Check whether --enable-fsck was given.
5826 if test "${enable_fsck+set}" = set; then :
5827 enableval
=$enable_fsck; if test "$enableval" = "no"
5829 FSCK_PROG
='' FSCK_MAN
=''
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper" >&5
5831 $as_echo "Not building fsck wrapper" >&6; }
5833 FSCK_PROG
=fsck FSCK_MAN
=fsck
.8
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper" >&5
5835 $as_echo "Building fsck wrapper" >&6; }
5841 FSCK_PROG
='' FSCK_MAN
=''
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper by default" >&5
5843 $as_echo "Not building fsck wrapper by default" >&6; }
5846 FSCK_PROG
=fsck FSCK_MAN
=fsck
.8
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper by default" >&5
5848 $as_echo "Building fsck wrapper by default" >&6; }
5855 # Check whether --enable-e2initrd-helper was given.
5856 if test "${enable_e2initrd_helper+set}" = set; then :
5857 enableval
=$enable_e2initrd_helper; if test "$enableval" = "no"
5859 E2INITRD_PROG
='' E2INITRD_MAN
=''
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building e2initrd helper" >&5
5861 $as_echo "Not building e2initrd helper" >&6; }
5863 E2INITRD_PROG
=e2initrd_helper E2INITRD_MAN
=e2initrd_helper
.8
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper" >&5
5865 $as_echo "Building e2initrd helper" >&6; }
5869 E2INITRD_PROG
=e2initrd_helper E2INITRD_MAN
=e2initrd_helper
.8
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper by default" >&5
5871 $as_echo "Building e2initrd helper by default" >&6; }
5877 # Check whether --enable-tls was given.
5878 if test "${enable_tls+set}" = set; then :
5879 enableval
=$enable_tls; if test "$enableval" = "no"
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling thread local support" >&5
5883 $as_echo "Disabling thread local support" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling thread local support" >&5
5887 $as_echo "Enabling thread local support" >&6; }
5891 if test -n "$WITH_DIET_LIBC"
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Diet libc does not support thread local support" >&5
5895 $as_echo "Diet libc does not support thread local support" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Try using thread local support by default" >&5
5899 $as_echo "Try using thread local support by default" >&6; }
5904 if test "$try_tls" = "yes"
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
5908 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
5909 if ${ac_cv_tls+:} false
; then :
5910 $as_echo_n "(cached) " >&6
5913 ax_tls_keywords
="__thread __declspec(thread) none"
5914 for ax_tls_keyword
in $ax_tls_keywords; do
5915 case $ax_tls_keyword in
5916 none
) ac_cv_tls
=none
; break ;;
5918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5923 static $ax_tls_keyword int bar;
5934 if ac_fn_c_try_compile
"$LINENO"; then :
5935 ac_cv_tls
=$ax_tls_keyword ; break
5940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5947 if test "$ac_cv_tls" != "none"; then
5949 cat >>confdefs.h
<<_ACEOF
5950 #define TLS $ac_cv_tls
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
5955 $as_echo "$ac_cv_tls" >&6; }
5959 # Check whether --with-pthread was given.
5960 if test "${with_pthread+set}" = set; then :
5961 withval
=$with_pthread; if test "$withval" = "no"
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling pthread support" >&5
5965 $as_echo "Disabling pthread support" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Testing for pthread support" >&5
5969 $as_echo "Testing for pthread support" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Try testing for pthread support by default" >&5
5975 $as_echo "Try testing for pthread support by default" >&6; }
5979 if test "$try_pthread" = "yes"
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5982 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5983 if ${ac_cv_path_SED+:} false
; then :
5984 $as_echo_n "(cached) " >&6
5986 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5987 for ac_i
in 1 2 3 4 5 6 7; do
5988 ac_script
="$ac_script$as_nl$ac_script"
5990 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5991 { ac_script
=; unset ac_script
;}
5992 if test -z "$SED"; then
5993 ac_path_SED_found
=false
5994 # Loop through the user's path and test for each of PROGNAME-LIST
5995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5999 test -z "$as_dir" && as_dir
=.
6000 for ac_prog
in sed gsed
; do
6001 for ac_exec_ext
in '' $ac_executable_extensions; do
6002 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6003 as_fn_executable_p
"$ac_path_SED" ||
continue
6004 # Check for GNU ac_path_SED and select it if it is found.
6005 # Check for GNU $ac_path_SED
6006 case `"$ac_path_SED" --version 2>&1` in
6008 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6011 $as_echo_n 0123456789 >"conftest.in"
6014 cat "conftest.in" "conftest.in" >"conftest.tmp"
6015 mv "conftest.tmp" "conftest.in"
6016 cp "conftest.in" "conftest.nl"
6017 $as_echo '' >> "conftest.nl"
6018 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6019 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6020 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6021 if test $ac_count -gt ${ac_path_SED_max-0}; then
6022 # Best one so far, save it but keep looking for a better one
6023 ac_cv_path_SED
="$ac_path_SED"
6024 ac_path_SED_max
=$ac_count
6026 # 10*(2^10) chars as input seems more than enough
6027 test $ac_count -gt 10 && break
6029 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6032 $ac_path_SED_found && break 3
6037 if test -z "$ac_cv_path_SED"; then
6038 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6046 $as_echo "$ac_cv_path_SED" >&6; }
6047 SED
="$ac_cv_path_SED"
6055 ac_cpp
='$CPP $CPPFLAGS'
6056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6062 # We used to check for pthread.h first, but this fails if pthread.h
6063 # requires special compiler flags (e.g. on Tru64 or Sequent).
6064 # It gets checked for in the link test anyway.
6066 # First of all, check if the user has set any of the PTHREAD_LIBS,
6067 # etcetera environment variables, and if threads linking works using
6069 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
6070 ax_pthread_save_CC
="$CC"
6071 ax_pthread_save_CFLAGS
="$CFLAGS"
6072 ax_pthread_save_LIBS
="$LIBS"
6073 if test "x$PTHREAD_CC" != "x"; then :
6076 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
6077 LIBS
="$PTHREAD_LIBS $LIBS"
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
6079 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
6080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6081 /* end confdefs.h. */
6083 /* Override any GCC internal prototype to avoid an error.
6084 Use char because int might match the return type of a GCC
6085 builtin and then its argument prototype would still apply. */
6089 char pthread_join ();
6093 return pthread_join ();
6098 if ac_fn_c_try_link
"$LINENO"; then :
6101 rm -f core conftest.err conftest.
$ac_objext \
6102 conftest
$ac_exeext conftest.
$ac_ext
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
6104 $as_echo "$ax_pthread_ok" >&6; }
6105 if test "x$ax_pthread_ok" = "xno"; then
6109 CC
="$ax_pthread_save_CC"
6110 CFLAGS
="$ax_pthread_save_CFLAGS"
6111 LIBS
="$ax_pthread_save_LIBS"
6114 # We must check for the threads library under a number of different
6115 # names; the ordering is very important because some systems
6116 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
6117 # libraries is broken (non-POSIX).
6119 # Create a list of thread flags to try. Items starting with a "-" are
6120 # C compiler flags, and other items are library names, except for "none"
6121 # which indicates that we try without any flags at all, and "pthread-config"
6122 # which is a program returning the flags for the Pth emulation library.
6124 ax_pthread_flags
="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
6126 # The ordering *is* (sometimes) important. Some notes on the
6127 # individual items follow:
6129 # pthreads: AIX (must check this before -lpthread)
6130 # none: in case threads are in libc; should be tried before -Kthread and
6131 # other compiler flags to prevent continual compiler warnings
6132 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
6133 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
6134 # (Note: HP C rejects this with "bad form for `-t' option")
6135 # -pthreads: Solaris/gcc (Note: HP C also rejects)
6136 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
6137 # doesn't hurt to check since this sometimes defines pthreads and
6138 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
6139 # is present but should not be used directly; and before -mthreads,
6140 # because the compiler interprets this as "-mt" + "-hreads")
6141 # -mthreads: Mingw32/gcc, Lynx/gcc
6142 # pthread: Linux, etcetera
6143 # --thread-safe: KAI C++
6144 # pthread-config: use pthread-config program (for GNU Pth library)
6150 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
6151 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
6153 ax_pthread_flags
="-kthread lthread $ax_pthread_flags"
6158 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
6159 # multi-threading and also sets -lpthread."
6161 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
6166 # IBM z/OS requires a feature-test macro to be defined in order to
6167 # enable POSIX threads at all, so give the user a hint if this is
6168 # not set. (We don't define these ourselves, as they can affect
6169 # other portions of the system API in unpredictable ways.)
6171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6174 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
6175 AX_PTHREAD_ZOS_MISSING
6179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6180 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
6182 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
6190 # On Solaris (at least, for some versions), libc contains stubbed
6191 # (non-functional) versions of the pthreads routines, so link-based
6192 # tests will erroneously succeed. (N.B.: The stubs are missing
6193 # pthread_cleanup_push, or rather a function called by this macro,
6194 # so we could check for that, but who knows whether they'll stub
6195 # that too in a future libc.) So we'll check first for the
6196 # standard Solaris way of linking pthreads (-mt -lpthread).
6198 ax_pthread_flags
="-mt,pthread pthread $ax_pthread_flags"
6202 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
6204 if test "x$GCC" = "xyes"; then :
6205 ax_pthread_flags
="-pthread -pthreads $ax_pthread_flags"
6208 # The presence of a feature test macro requesting re-entrant function
6209 # definitions is, on some systems, a strong hint that pthreads support is
6213 darwin
* | hpux
* | linux
* | osf
* | solaris
*)
6214 ax_pthread_check_macro
="_REENTRANT"
6218 ax_pthread_check_macro
="_THREAD_SAFE"
6222 ax_pthread_check_macro
="--"
6225 if test "x$ax_pthread_check_macro" = "x--"; then :
6226 ax_pthread_check_cond
=0
6228 ax_pthread_check_cond
="!defined($ax_pthread_check_macro)"
6231 # Are we compiling with Clang?
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
6234 $as_echo_n "checking whether $CC is Clang... " >&6; }
6235 if ${ax_cv_PTHREAD_CLANG+:} false
; then :
6236 $as_echo_n "(cached) " >&6
6238 ax_cv_PTHREAD_CLANG
=no
6239 # Note that Autoconf sets GCC=yes for Clang as well as GCC
6240 if test "x$GCC" = "xyes"; then
6241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
6244 # if defined(__clang__) && defined(__llvm__)
6245 AX_PTHREAD_CC_IS_CLANG
6249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6250 $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev
/null
2>&1; then :
6251 ax_cv_PTHREAD_CLANG
=yes
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
6259 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
6260 ax_pthread_clang
="$ax_cv_PTHREAD_CLANG"
6262 ax_pthread_clang_warning
=no
6264 # Clang needs special handling, because older versions handle the -pthread
6265 # option in a rather... idiosyncratic way
6267 if test "x$ax_pthread_clang" = "xyes"; then
6269 # Clang takes -pthread; it has never supported any other flag
6271 # (Note 1: This will need to be revisited if a system that Clang
6272 # supports has POSIX threads in a separate library. This tends not
6273 # to be the way of modern systems, but it's conceivable.)
6275 # (Note 2: On some systems, notably Darwin, -pthread is not needed
6276 # to get POSIX threads support; the API is always present and
6277 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
6278 # -pthread does define _REENTRANT, and while the Darwin headers
6279 # ignore this macro, third-party headers might not.)
6281 PTHREAD_CFLAGS
="-pthread"
6286 # However, older versions of Clang make a point of warning the user
6287 # that, in an invocation where only linking and no compilation is
6288 # taking place, the -pthread option has no effect ("argument unused
6289 # during compilation"). They expect -pthread to be passed in only
6290 # when source code is being compiled.
6292 # Problem is, this is at odds with the way Automake and most other
6293 # C build frameworks function, which is that the same flags used in
6294 # compilation (CFLAGS) are also used in linking. Many systems
6295 # supported by AX_PTHREAD require exactly this for POSIX threads
6296 # support, and in fact it is often not straightforward to specify a
6297 # flag that is used only in the compilation phase and not in
6298 # linking. Such a scenario is extremely rare in practice.
6300 # Even though use of the -pthread flag in linking would only print
6301 # a warning, this can be a nuisance for well-run software projects
6302 # that build with -Werror. So if the active version of Clang has
6303 # this misfeature, we search for an option to squash it.
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
6306 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
6307 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false
; then :
6308 $as_echo_n "(cached) " >&6
6310 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG
=unknown
6311 # Create an alternate version of $ac_link that compiles and
6312 # links in two steps (.c -> .o, .o -> exe) instead of one
6313 # (.c -> exe), because the warning occurs only in the second
6315 ax_pthread_save_ac_link
="$ac_link"
6316 ax_pthread_sed
='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
6317 ax_pthread_link_step
=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
6318 ax_pthread_2step_ac_link
="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
6319 ax_pthread_save_CFLAGS
="$CFLAGS"
6320 for ax_pthread_try
in '' -Qunused-arguments -Wno-unused-command-line-argument unknown
; do
6321 if test "x$ax_pthread_try" = "xunknown"; then :
6324 CFLAGS
="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
6325 ac_link
="$ax_pthread_save_ac_link"
6326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6328 int main(void){return 0;}
6330 if ac_fn_c_try_link
"$LINENO"; then :
6331 ac_link
="$ax_pthread_2step_ac_link"
6332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6334 int main(void){return 0;}
6336 if ac_fn_c_try_link
"$LINENO"; then :
6339 rm -f core conftest.err conftest.
$ac_objext \
6340 conftest
$ac_exeext conftest.
$ac_ext
6343 rm -f core conftest.err conftest.
$ac_objext \
6344 conftest
$ac_exeext conftest.
$ac_ext
6346 ac_link
="$ax_pthread_save_ac_link"
6347 CFLAGS
="$ax_pthread_save_CFLAGS"
6348 if test "x$ax_pthread_try" = "x"; then :
6351 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG
="$ax_pthread_try"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
6355 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
6357 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
6359 *) PTHREAD_CFLAGS
="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
6362 fi # $ax_pthread_clang = yes
6364 if test "x$ax_pthread_ok" = "xno"; then
6365 for ax_pthread_try_flag
in $ax_pthread_flags; do
6367 case $ax_pthread_try_flag in
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
6370 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
6375 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
6376 PTHREAD_CFLAGS
="-mt"
6377 PTHREAD_LIBS
="-lpthread"
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
6382 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
6383 PTHREAD_CFLAGS
="$ax_pthread_try_flag"
6387 # Extract the first word of "pthread-config", so it can be a program name with args.
6388 set dummy pthread-config
; ac_word
=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
6392 $as_echo_n "(cached) " >&6
6394 if test -n "$ax_pthread_config"; then
6395 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
6397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6401 test -z "$as_dir" && as_dir
=.
6402 for ac_exec_ext
in '' $ac_executable_extensions; do
6403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_ax_pthread_config
="yes"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
6415 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
6416 if test -n "$ax_pthread_config"; then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
6418 $as_echo "$ax_pthread_config" >&6; }
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421 $as_echo "no" >&6; }
6425 if test "x$ax_pthread_config" = "xno"; then :
6428 PTHREAD_CFLAGS
="`pthread-config --cflags`"
6429 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
6434 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
6435 PTHREAD_LIBS
="-l$ax_pthread_try_flag"
6439 ax_pthread_save_CFLAGS
="$CFLAGS"
6440 ax_pthread_save_LIBS
="$LIBS"
6441 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
6442 LIBS
="$PTHREAD_LIBS $LIBS"
6444 # Check for various functions. We must include pthread.h,
6445 # since some functions may be macros. (On the Sequent, we
6446 # need a special flag -Kthread to make this header compile.)
6447 # We check for pthread_join because it is in -lpthread on IRIX
6448 # while pthread_create is in libc. We check for pthread_attr_init
6449 # due to DEC craziness with -lpthreads. We check for
6450 # pthread_cleanup_push because it is one of the few pthread
6451 # functions on Solaris that doesn't have a non-functional libc stub.
6452 # We try pthread_create on general principles.
6454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #include <pthread.h>
6457 # if $ax_pthread_check_cond
6458 # error "$ax_pthread_check_macro must be defined"
6460 static void routine(void *a) { a = 0; }
6461 static void *start_routine(void *a) { return a; }
6465 pthread_t th; pthread_attr_t attr;
6466 pthread_create(&th, 0, start_routine, 0);
6467 pthread_join(th, 0);
6468 pthread_attr_init(&attr);
6469 pthread_cleanup_push(routine, 0);
6470 pthread_cleanup_pop(0) /* ; */
6475 if ac_fn_c_try_link
"$LINENO"; then :
6478 rm -f core conftest.err conftest.
$ac_objext \
6479 conftest
$ac_exeext conftest.
$ac_ext
6481 CFLAGS
="$ax_pthread_save_CFLAGS"
6482 LIBS
="$ax_pthread_save_LIBS"
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
6485 $as_echo "$ax_pthread_ok" >&6; }
6486 if test "x$ax_pthread_ok" = "xyes"; then :
6495 # Various other checks:
6496 if test "x$ax_pthread_ok" = "xyes"; then
6497 ax_pthread_save_CFLAGS
="$CFLAGS"
6498 ax_pthread_save_LIBS
="$LIBS"
6499 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
6500 LIBS
="$PTHREAD_LIBS $LIBS"
6502 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
6504 $as_echo_n "checking for joinable pthread attribute... " >&6; }
6505 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
6506 $as_echo_n "(cached) " >&6
6508 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
6509 for ax_pthread_attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
6510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6512 #include <pthread.h>
6516 int attr = $ax_pthread_attr; return attr /* ; */
6521 if ac_fn_c_try_link
"$LINENO"; then :
6522 ax_cv_PTHREAD_JOINABLE_ATTR
=$ax_pthread_attr; break
6524 rm -f core conftest.err conftest.
$ac_objext \
6525 conftest
$ac_exeext conftest.
$ac_ext
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
6530 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
6531 if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
6532 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
6533 test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
6535 cat >>confdefs.h
<<_ACEOF
6536 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
6539 ax_pthread_joinable_attr_defined
=yes
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
6544 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
6545 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
6546 $as_echo_n "(cached) " >&6
6548 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
6551 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_POSIX_PTHREAD_SEMANTICS"
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
6557 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
6558 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
6559 test "x$ax_pthread_special_flags_added" != "xyes"; then :
6560 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
6561 ax_pthread_special_flags_added
=yes
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
6565 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
6566 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
6567 $as_echo_n "(cached) " >&6
6569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <pthread.h>
6575 int i = PTHREAD_PRIO_INHERIT;
6580 if ac_fn_c_try_link
"$LINENO"; then :
6581 ax_cv_PTHREAD_PRIO_INHERIT
=yes
6583 ax_cv_PTHREAD_PRIO_INHERIT
=no
6585 rm -f core conftest.err conftest.
$ac_objext \
6586 conftest
$ac_exeext conftest.
$ac_ext
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
6590 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
6591 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
6592 test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
6594 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
6596 ax_pthread_prio_inherit_defined
=yes
6600 CFLAGS
="$ax_pthread_save_CFLAGS"
6601 LIBS
="$ax_pthread_save_LIBS"
6603 # More AIX lossage: compile with *_r variant
6604 if test "x$GCC" != "xyes"; then
6608 x
*/c89|x
*/c89_128|x
*/c99|x
*/c99_128|x
*/cc|x
*/cc128|x
*/xlc|x
*/xlc_v6|x
*/xlc128|x
*/xlc128_v6
) :
6609 #handle absolute path differently from PATH based program lookup
6612 if as_fn_executable_p
${CC}_r
; then :
6613 PTHREAD_CC
="${CC}_r"
6616 for ac_prog
in ${CC}_r
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy
$ac_prog; ac_word
=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
6623 $as_echo_n "(cached) " >&6
6625 if test -n "$PTHREAD_CC"; then
6626 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
6628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6632 test -z "$as_dir" && as_dir
=.
6633 for ac_exec_ext
in '' $ac_executable_extensions; do
6634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_PTHREAD_CC
="$ac_prog"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
6646 if test -n "$PTHREAD_CC"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
6648 $as_echo "$PTHREAD_CC" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6655 test -n "$PTHREAD_CC" && break
6657 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
6668 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
6674 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
6675 if test "x$ax_pthread_ok" = "xyes"; then
6677 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
6685 ac_cpp
='$CPP $CPPFLAGS'
6686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6692 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
6696 # Check whether --enable-uuidd was given.
6697 if test "${enable_uuidd+set}" = set; then :
6698 enableval
=$enable_uuidd; if test "$enableval" = "no"
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building uuidd" >&5
6701 $as_echo "Not building uuidd" >&6; }
6704 $as_echo "#define USE_UUIDD 1" >>confdefs.h
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd" >&5
6708 $as_echo "Building uuidd" >&6; }
6712 $as_echo "#define USE_UUIDD 1" >>confdefs.h
6714 if test -z "$UUID_CMT"
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd by default" >&5
6718 $as_echo "Building uuidd by default" >&6; }
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling uuidd by default" >&5
6722 $as_echo "Disabling uuidd by default" >&6; }
6729 # Check whether --enable-mmp was given.
6730 if test "${enable_mmp+set}" = set; then :
6731 enableval
=$enable_mmp; if test "$enableval" = "no"
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling mmp support" >&5
6734 $as_echo "Disabling mmp support" >&6; }
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support" >&5
6737 $as_echo "Enabling mmp support" >&6; }
6738 $as_echo "#define CONFIG_MMP 1" >>confdefs.h
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support by default" >&5
6744 $as_echo "Enabling mmp support by default" >&6; }
6745 $as_echo "#define CONFIG_MMP 1" >>confdefs.h
6751 # Check whether --enable-tdb was given.
6752 if test "${enable_tdb+set}" = set; then :
6753 enableval
=$enable_tdb; if test "$enableval" = "no"
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling tdb support" >&5
6756 $as_echo "Disabling tdb support" >&6; }
6758 TDB_MAN_COMMENT
='.\"'
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling tdb support" >&5
6761 $as_echo "Enabling tdb support" >&6; }
6762 $as_echo "#define CONFIG_TDB 1" >>confdefs.h
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support by default" >&5
6770 $as_echo "Enabling mmp support by default" >&6; }
6771 $as_echo "#define CONFIG_TDB 1" >>confdefs.h
6781 # Check whether --enable-bmap-stats was given.
6782 if test "${enable_bmap_stats+set}" = set; then :
6783 enableval
=$enable_bmap_stats; if test "$enableval" = "no"
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling bitmap statistics support" >&5
6786 $as_echo "Disabling bitmap statistics support" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support" >&5
6789 $as_echo "Enabling bitmap statistics support" >&6; }
6790 $as_echo "#define ENABLE_BMAP_STATS 1" >>confdefs.h
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support by default" >&5
6796 $as_echo "Enabling bitmap statistics support by default" >&6; }
6797 $as_echo "#define ENABLE_BMAP_STATS 1" >>confdefs.h
6803 # Check whether --enable-bmap-stats-ops was given.
6804 if test "${enable_bmap_stats_ops+set}" = set; then :
6805 enableval
=$enable_bmap_stats_ops; if test "$enableval" = "no"
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics" >&5
6808 $as_echo "Disabling additional bitmap statistics" >&6; }
6810 if test "x${enable_bmap_stats}" = "xno"; then :
6811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6813 as_fn_error $?
"Error --enable-bmap-stats-ops requires bmap-stats
6814 See \`config.log' for more details" "$LINENO" 5; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling additional bitmap statistics" >&5
6818 $as_echo "Enabling additional bitmap statistics" >&6; }
6819 $as_echo "#define ENABLE_BMAP_STATS_OPS 1" >>confdefs.h
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics by default" >&5
6825 $as_echo "Disabling additional bitmap statistics by default" >&6; }
6829 MAKEFILE_LIBRARY
=$srcdir/lib
/Makefile.library
6831 GETTEXT_PACKAGE
=e2fsprogs
6833 VERSION
="$E2FSPROGS_VERSION"
6836 cat >>confdefs.h
<<_ACEOF
6837 #define PACKAGE "$PACKAGE"
6841 cat >>confdefs.h
<<_ACEOF
6842 #define VERSION "$VERSION"
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6850 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6852 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6853 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6854 $as_echo_n "(cached) " >&6
6856 cat >conftest.
make <<\_ACEOF
6859 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6861 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6862 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6864 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6866 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6870 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6872 $as_echo "yes" >&6; }
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876 $as_echo "no" >&6; }
6877 SET_MAKE
="MAKE=${MAKE-make}"
6880 # Find a good install program. We prefer a C program (faster),
6881 # so one script is as good as another. But avoid the broken or
6882 # incompatible versions:
6883 # SysV /etc/install, /usr/sbin/install
6884 # SunOS /usr/etc/install
6885 # IRIX /sbin/install
6887 # AmigaOS /C/install, which installs bootblocks on floppy discs
6888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6891 # OS/2's system install, which has a completely different semantic
6892 # ./install, which can be erroneously created by make from ./install.sh.
6893 # Reject install programs that cannot install multiple files.
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
6895 $as_echo_n "checking for a BSD-compatible install... " >&6; }
6896 if test -z "$INSTALL"; then
6897 if ${ac_cv_path_install+:} false
; then :
6898 $as_echo_n "(cached) " >&6
6900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir
=.
6905 # Account for people who put trailing slashes in PATH elements.
6906 case $as_dir/ in #((
6907 .
/ | .
// |
/[cC
]/* | \
6908 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6909 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
6912 # OSF1 and SCO ODT 3.0 have their own names for install.
6913 # Don't use installbsd from OSF since it installs stuff as root
6915 for ac_prog
in ginstall scoinst
install; do
6916 for ac_exec_ext
in '' $ac_executable_extensions; do
6917 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
6918 if test $ac_prog = install &&
6919 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6920 # AIX install. It has an incompatible calling convention.
6922 elif test $ac_prog = install &&
6923 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6924 # program-specific install script used by HP pwplus--don't use.
6927 rm -rf conftest.one conftest.two conftest.dir
6928 echo one
> conftest.one
6929 echo two
> conftest.two
6931 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
6932 test -s conftest.one
&& test -s conftest.two
&&
6933 test -s conftest.dir
/conftest.one
&&
6934 test -s conftest.dir
/conftest.two
6936 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6949 rm -rf conftest.one conftest.two conftest.dir
6952 if test "${ac_cv_path_install+set}" = set; then
6953 INSTALL
=$ac_cv_path_install
6955 # As a last resort, use the slow shell script. Don't cache a
6956 # value for INSTALL within a source directory, because that will
6957 # break other packages using the cache if that directory is
6958 # removed, or if the value is a relative name.
6959 INSTALL
=$ac_install_sh
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
6963 $as_echo "$INSTALL" >&6; }
6965 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6966 # It thinks the first close brace ends the variable substitution.
6967 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6969 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6971 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6974 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6975 if test -z "$MKDIR_P"; then
6976 if ${ac_cv_path_mkdir+:} false
; then :
6977 $as_echo_n "(cached) " >&6
6979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6980 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
6983 test -z "$as_dir" && as_dir
=.
6984 for ac_prog
in mkdir gmkdir
; do
6985 for ac_exec_ext
in '' $ac_executable_extensions; do
6986 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
6987 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6988 'mkdir (GNU coreutils) '* | \
6989 'mkdir (coreutils) '* | \
6990 'mkdir (fileutils) '4.1*)
6991 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
7001 test -d .
/--version && rmdir .
/--version
7002 if test "${ac_cv_path_mkdir+set}" = set; then
7003 MKDIR_P
="$ac_cv_path_mkdir -p"
7005 # As a last resort, use the slow shell script. Don't cache a
7006 # value for MKDIR_P within a source directory, because that will
7007 # break other packages using the cache if that directory is
7008 # removed, or if the value is a relative name.
7009 MKDIR_P
="$ac_install_sh -d"
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
7013 $as_echo "$MKDIR_P" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7017 $as_echo_n "checking whether NLS is requested... " >&6; }
7018 # Check whether --enable-nls was given.
7019 if test "${enable_nls+set}" = set; then :
7020 enableval
=$enable_nls; USE_NLS
=$enableval
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7026 $as_echo "$USE_NLS" >&6; }
7031 GETTEXT_MACRO_VERSION
=0.20
7036 # Prepare PATH_SEPARATOR.
7037 # The user is always right.
7038 if test "${PATH_SEPARATOR+set}" != set; then
7039 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7040 # contains only /bin. Note that ksh looks also at the FPATH variable,
7041 # so we have to set that as well for the test.
7043 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7044 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7045 || PATH_SEPARATOR
=';'
7049 # Find out how to test for executable files. Don't use a zero-byte file,
7050 # as systems may use methods other than mode bits to determine executability.
7051 cat >conf$$.
file <<_ASEOF
7055 chmod +x conf$$.
file
7056 if test -x conf$$.
file >/dev
/null
2>&1; then
7057 ac_executable_p
="test -x"
7059 ac_executable_p
="test -f"
7063 # Extract the first word of "msgfmt", so it can be a program name with args.
7064 set dummy msgfmt
; ac_word
=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_path_MSGFMT+:} false
; then :
7068 $as_echo_n "(cached) " >&6
7072 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7075 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7076 for ac_dir
in $PATH; do
7078 test -z "$ac_dir" && ac_dir
=.
7079 for ac_exec_ext
in '' $ac_executable_extensions; do
7080 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7081 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7082 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
7083 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7084 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7091 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7095 MSGFMT
="$ac_cv_path_MSGFMT"
7096 if test "$MSGFMT" != ":"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7098 $as_echo "$MSGFMT" >&6; }
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7101 $as_echo "no" >&6; }
7104 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7105 set dummy gmsgfmt
; ac_word
=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_path_GMSGFMT+:} false
; then :
7109 $as_echo_n "(cached) " >&6
7113 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7120 test -z "$as_dir" && as_dir
=.
7121 for ac_exec_ext
in '' $ac_executable_extensions; do
7122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7123 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7135 GMSGFMT
=$ac_cv_path_GMSGFMT
7136 if test -n "$GMSGFMT"; then
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7138 $as_echo "$GMSGFMT" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141 $as_echo "no" >&6; }
7146 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7147 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
7148 *) GMSGFMT_015
=$GMSGFMT ;;
7153 # Prepare PATH_SEPARATOR.
7154 # The user is always right.
7155 if test "${PATH_SEPARATOR+set}" != set; then
7156 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7157 # contains only /bin. Note that ksh looks also at the FPATH variable,
7158 # so we have to set that as well for the test.
7160 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7161 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7162 || PATH_SEPARATOR
=';'
7166 # Find out how to test for executable files. Don't use a zero-byte file,
7167 # as systems may use methods other than mode bits to determine executability.
7168 cat >conf$$.
file <<_ASEOF
7172 chmod +x conf$$.
file
7173 if test -x conf$$.
file >/dev
/null
2>&1; then
7174 ac_executable_p
="test -x"
7176 ac_executable_p
="test -f"
7180 # Extract the first word of "xgettext", so it can be a program name with args.
7181 set dummy xgettext
; ac_word
=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if ${ac_cv_path_XGETTEXT+:} false
; then :
7185 $as_echo_n "(cached) " >&6
7189 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7192 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7193 for ac_dir
in $PATH; do
7195 test -z "$ac_dir" && ac_dir
=.
7196 for ac_exec_ext
in '' $ac_executable_extensions; do
7197 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7198 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7199 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
7200 (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
7201 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7208 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7212 XGETTEXT
="$ac_cv_path_XGETTEXT"
7213 if test "$XGETTEXT" != ":"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7215 $as_echo "$XGETTEXT" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7223 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7224 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
7225 *) XGETTEXT_015
=$XGETTEXT ;;
7230 # Prepare PATH_SEPARATOR.
7231 # The user is always right.
7232 if test "${PATH_SEPARATOR+set}" != set; then
7233 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7234 # contains only /bin. Note that ksh looks also at the FPATH variable,
7235 # so we have to set that as well for the test.
7237 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7238 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7239 || PATH_SEPARATOR
=';'
7243 # Find out how to test for executable files. Don't use a zero-byte file,
7244 # as systems may use methods other than mode bits to determine executability.
7245 cat >conf$$.
file <<_ASEOF
7249 chmod +x conf$$.
file
7250 if test -x conf$$.
file >/dev
/null
2>&1; then
7251 ac_executable_p
="test -x"
7253 ac_executable_p
="test -f"
7257 # Extract the first word of "msgmerge", so it can be a program name with args.
7258 set dummy msgmerge
; ac_word
=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if ${ac_cv_path_MSGMERGE+:} false
; then :
7262 $as_echo_n "(cached) " >&6
7266 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7269 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7270 for ac_dir
in $PATH; do
7272 test -z "$ac_dir" && ac_dir
=.
7273 for ac_exec_ext
in '' $ac_executable_extensions; do
7274 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7275 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7276 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
7277 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7284 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7288 MSGMERGE
="$ac_cv_path_MSGMERGE"
7289 if test "$MSGMERGE" != ":"; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7291 $as_echo "$MSGMERGE" >&6; }
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7298 if LC_ALL
=C
$MSGMERGE --help |
grep ' --for-msgfmt ' >/dev
/null
; then
7299 MSGMERGE_FOR_MSGFMT_OPTION
='--for-msgfmt'
7301 if LC_ALL
=C
$MSGMERGE --help |
grep ' --no-fuzzy-matching ' >/dev
/null
; then
7302 MSGMERGE_FOR_MSGFMT_OPTION
='--no-fuzzy-matching --no-location --quiet'
7304 MSGMERGE_FOR_MSGFMT_OPTION
='--no-location --quiet'
7309 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
7312 ac_config_commands
="$ac_config_commands po-directories"
7316 if test "X$prefix" = "XNONE"; then
7317 acl_final_prefix
="$ac_default_prefix"
7319 acl_final_prefix
="$prefix"
7321 if test "X$exec_prefix" = "XNONE"; then
7322 acl_final_exec_prefix
='${prefix}'
7324 acl_final_exec_prefix
="$exec_prefix"
7326 acl_save_prefix
="$prefix"
7327 prefix
="$acl_final_prefix"
7328 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7329 prefix
="$acl_save_prefix"
7333 # Check whether --with-gnu-ld was given.
7334 if test "${with_gnu_ld+set}" = set; then :
7335 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7340 # Prepare PATH_SEPARATOR.
7341 # The user is always right.
7342 if test "${PATH_SEPARATOR+set}" != set; then
7343 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7344 # contains only /bin. Note that ksh looks also at the FPATH variable,
7345 # so we have to set that as well for the test.
7347 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7348 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7349 || PATH_SEPARATOR
=';'
7353 if test -n "$LD"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
7355 $as_echo_n "checking for ld... " >&6; }
7356 elif test "$GCC" = yes; then
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7358 $as_echo_n "checking for ld used by $CC... " >&6; }
7359 elif test "$with_gnu_ld" = yes; then
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7361 $as_echo_n "checking for GNU ld... " >&6; }
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7364 $as_echo_n "checking for non-GNU ld... " >&6; }
7366 if test -n "$LD"; then
7367 # Let the user override the test with a path.
7370 if ${acl_cv_path_LD+:} false
; then :
7371 $as_echo_n "(cached) " >&6
7374 acl_cv_path_LD
= # Final result of this test
7375 ac_prog
=ld
# Program to search in $PATH
7376 if test "$GCC" = yes; then
7377 # Check if gcc -print-prog-name=ld gives a path.
7380 # gcc leaves a trailing carriage return which upsets mingw
7381 acl_output
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7383 acl_output
=`($CC -print-prog-name=ld) 2>&5` ;;
7386 # Accept absolute paths.
7388 re_direlt
='/[^/][^/]*/\.\./'
7389 # Canonicalize the pathname of ld
7390 acl_output
=`echo "$acl_output" | sed 's%\\\\%/%g'`
7391 while echo "$acl_output" |
grep "$re_direlt" > /dev
/null
2>&1; do
7392 acl_output
=`echo $acl_output | sed "s%$re_direlt%/%"`
7394 # Got the pathname. No search in PATH is needed.
7395 acl_cv_path_LD
="$acl_output"
7399 # If it fails, then pretend we aren't using GCC.
7402 # If it is relative, then search for the first ld in PATH.
7407 if test -n "$ac_prog"; then
7408 # Search for $ac_prog in $PATH.
7409 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7410 for ac_dir
in $PATH; do
7412 test -z "$ac_dir" && ac_dir
=.
7413 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7414 acl_cv_path_LD
="$ac_dir/$ac_prog"
7415 # Check to see if the program is GNU ld. I'd rather use --version,
7416 # but apparently some variants of GNU ld only accept -v.
7417 # Break only if it was the GNU/non-GNU ld that we prefer.
7418 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
7419 *GNU
* |
*'with BFD'*)
7420 test "$with_gnu_ld" != no
&& break
7423 test "$with_gnu_ld" != yes && break
7432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7434 #if defined __powerpc64__ || defined _ARCH_PPC64
7441 if ac_fn_c_try_compile
"$LINENO"; then :
7442 # The compiler produces 64-bit code. Add option '-b64' so that the
7443 # linker groks 64-bit object files.
7444 case "$acl_cv_path_LD " in
7446 *) acl_cv_path_LD
="$acl_cv_path_LD -b64" ;;
7450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7454 /* end confdefs.h. */
7455 #if defined __sparcv9 || defined __arch64__
7462 if ac_fn_c_try_compile
"$LINENO"; then :
7465 # The compiler produces 32-bit code. Add option '-m elf32_sparc'
7466 # so that the linker groks 32-bit object files.
7467 case "$acl_cv_path_LD " in
7468 *" -m elf32_sparc "*) ;;
7469 *) acl_cv_path_LD
="$acl_cv_path_LD -m elf32_sparc" ;;
7473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7479 LD
="$acl_cv_path_LD"
7481 if test -n "$LD"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7483 $as_echo "$LD" >&6; }
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7487 as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7490 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7491 if ${acl_cv_prog_gnu_ld+:} false
; then :
7492 $as_echo_n "(cached) " >&6
7494 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7495 case `$LD -v 2>&1 </dev/null` in
7496 *GNU
* |
*'with BFD'*)
7497 acl_cv_prog_gnu_ld
=yes
7500 acl_cv_prog_gnu_ld
=no
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7505 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7506 with_gnu_ld
=$acl_cv_prog_gnu_ld
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7512 $as_echo_n "checking for shared library run path origin... " >&6; }
7513 if ${acl_cv_rpath+:} false
; then :
7514 $as_echo_n "(cached) " >&6
7517 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7518 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7525 $as_echo "$acl_cv_rpath" >&6; }
7527 acl_libext
="$acl_cv_libext"
7528 acl_shlibext
="$acl_cv_shlibext"
7529 acl_libname_spec
="$acl_cv_libname_spec"
7530 acl_library_names_spec
="$acl_cv_library_names_spec"
7531 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7532 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7533 acl_hardcode_direct
="$acl_cv_hardcode_direct"
7534 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7535 # Check whether --enable-rpath was given.
7536 if test "${enable_rpath+set}" = set; then :
7537 enableval
=$enable_rpath; :
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
7546 $as_echo_n "checking 32-bit host C ABI... " >&6; }
7547 if ${gl_cv_host_cpu_c_abi_32bit+:} false
; then :
7548 $as_echo_n "(cached) " >&6
7550 if test -n "$gl_cv_host_cpu_c_abi"; then
7551 case "$gl_cv_host_cpu_c_abi" in
7552 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv
*-ilp32* | s390 | sparc
)
7553 gl_cv_host_cpu_c_abi_32bit
=yes ;;
7554 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv
*-lp64* | s390x | sparc64
)
7555 gl_cv_host_cpu_c_abi_32bit
=no
;;
7557 gl_cv_host_cpu_c_abi_32bit
=unknown
;;
7562 # CPUs that only support a 32-bit ABI.
7571 | microblaze | microblazeel \
7572 | nds32 | nds32le | nds32be \
7573 | nios2 | nios2eb | nios2el \
7576 | sh | sh1234 | sh1234elb \
7579 gl_cv_host_cpu_c_abi_32bit
=yes
7582 # CPUs that only support a 64-bit ABI.
7583 alpha | alphaev
[4-8] | alphaev56 | alphapca5
[67] | alphaev6
[78] \
7585 gl_cv_host_cpu_c_abi_32bit
=no
7589 gl_cv_host_cpu_c_abi_32bit
=yes
7593 # On x86_64 systems, the C compiler may be generating code in one of
7595 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
7596 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
7597 # with native Windows (mingw, MSVC).
7598 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
7599 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
7600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7602 #if (defined __x86_64__ || defined __amd64__ \
7603 || defined _M_X64 || defined _M_AMD64) \
7604 && !(defined __ILP32__ || defined _ILP32)
7611 if ac_fn_c_try_compile
"$LINENO"; then :
7612 gl_cv_host_cpu_c_abi_32bit
=no
7614 gl_cv_host_cpu_c_abi_32bit
=yes
7616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7620 # Assume arm with EABI.
7621 # On arm64 systems, the C compiler may be generating code in one of
7623 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
7624 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
7625 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
7626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
7635 if ac_fn_c_try_compile
"$LINENO"; then :
7636 gl_cv_host_cpu_c_abi_32bit
=no
7638 gl_cv_host_cpu_c_abi_32bit
=yes
7640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7643 hppa1.0 | hppa1.1 | hppa2.0
* | hppa64
)
7644 # On hppa, the C compiler may be generating 32-bit code or 64-bit
7645 # code. In the latter case, it defines _LP64 and __LP64__.
7646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7655 if ac_fn_c_try_compile
"$LINENO"; then :
7656 gl_cv_host_cpu_c_abi_32bit
=no
7658 gl_cv_host_cpu_c_abi_32bit
=yes
7660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7664 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
7665 # 32-bit code. In the latter case, it defines _ILP32.
7666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h. */
7675 if ac_fn_c_try_compile
"$LINENO"; then :
7676 gl_cv_host_cpu_c_abi_32bit
=yes
7678 gl_cv_host_cpu_c_abi_32bit
=no
7680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7684 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
7686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7687 /* end confdefs.h. */
7688 #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
7695 if ac_fn_c_try_compile
"$LINENO"; then :
7696 gl_cv_host_cpu_c_abi_32bit
=no
7698 gl_cv_host_cpu_c_abi_32bit
=yes
7700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7704 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
7705 # No need to distinguish them here; the caller may distinguish
7706 # them based on the OS.
7707 # On powerpc64 systems, the C compiler may still be generating
7708 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
7709 # be generating 64-bit code.
7710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7711 /* end confdefs.h. */
7712 #if defined __powerpc64__ || defined _ARCH_PPC64
7719 if ac_fn_c_try_compile
"$LINENO"; then :
7720 gl_cv_host_cpu_c_abi_32bit
=no
7722 gl_cv_host_cpu_c_abi_32bit
=yes
7724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7728 gl_cv_host_cpu_c_abi_32bit
=yes
7732 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
7733 # Size of 'long' and 'void *':
7734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7736 #if defined __LP64__
7743 if ac_fn_c_try_compile
"$LINENO"; then :
7744 gl_cv_host_cpu_c_abi_32bit
=no
7746 gl_cv_host_cpu_c_abi_32bit
=yes
7748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7752 # On s390x, the C compiler may be generating 64-bit (= s390x) code
7753 # or 31-bit (= s390) code.
7754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 #if defined __LP64__ || defined __s390x__
7763 if ac_fn_c_try_compile
"$LINENO"; then :
7764 gl_cv_host_cpu_c_abi_32bit
=no
7766 gl_cv_host_cpu_c_abi_32bit
=yes
7768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7772 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
7773 # C compiler still generates 32-bit code.
7774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h. */
7776 #if defined __sparcv9 || defined __arch64__
7783 if ac_fn_c_try_compile
"$LINENO"; then :
7784 gl_cv_host_cpu_c_abi_32bit
=no
7786 gl_cv_host_cpu_c_abi_32bit
=yes
7788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7792 gl_cv_host_cpu_c_abi_32bit
=unknown
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
7799 $as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; }
7801 HOST_CPU_C_ABI_32BIT
="$gl_cv_host_cpu_c_abi_32bit"
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
7808 $as_echo_n "checking for ELF binary format... " >&6; }
7809 if ${gl_cv_elf+:} false
; then :
7810 $as_echo_n "(cached) " >&6
7812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7813 /* end confdefs.h. */
7815 Extensible Linking Format
7819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7820 $EGREP "Extensible Linking Format" >/dev
/null
2>&1; then :
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
7830 $as_echo "$gl_cv_elf" >&6; }
7831 if test $gl_cv_elf; then
7832 # Extract the ELF class of a file (5th byte) in decimal.
7833 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
7834 if od -A x
< /dev
/null
>/dev
/null
2>/dev
/null
; then
7838 od -A n
-t d1
-j 4 -N 1
7844 dd bs
=1 count
=1 skip
=4 2>/dev
/null |
hexdump -e '1/1 "%3d "'
7848 case $HOST_CPU_C_ABI_32BIT in
7851 acl_is_expected_elfclass
()
7853 test "`func_elfclass | sed -e 's/[ ]//g'`" = 1
7858 acl_is_expected_elfclass
()
7860 test "`func_elfclass | sed -e 's/[ ]//g'`" = 2
7865 acl_is_expected_elfclass
()
7872 acl_is_expected_elfclass
()
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
7879 $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; }
7880 if ${acl_cv_libdirstems+:} false
; then :
7881 $as_echo_n "(cached) " >&6
7888 if test $HOST_CPU_C_ABI_32BIT = no
; then
7889 acl_libdirstem2
=lib
/64
7891 sparc
*) acl_libdirstem3
=lib
/sparcv9
;;
7892 i
*86 | x86_64
) acl_libdirstem3
=lib
/amd64
;;
7897 searchpath
=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
7898 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7899 if test $HOST_CPU_C_ABI_32BIT != no
; then
7900 # 32-bit or unknown ABI.
7901 if test -d /usr
/lib32
; then
7902 acl_libdirstem2
=lib32
7905 if test $HOST_CPU_C_ABI_32BIT != yes; then
7906 # 64-bit or unknown ABI.
7907 if test -d /usr
/lib64
; then
7908 acl_libdirstem3
=lib64
7911 if test -n "$searchpath"; then
7912 acl_save_IFS
="${IFS= }"; IFS
=":"
7913 for searchdir
in $searchpath; do
7914 if test -d "$searchdir"; then
7915 case "$searchdir" in
7916 */lib32
/ |
*/lib32
) acl_libdirstem2
=lib32
;;
7917 */lib64
/ |
*/lib64
) acl_libdirstem3
=lib64
;;
7919 # Better ignore directories of this form. They are misleading.
7921 *) searchdir
=`cd "$searchdir" && pwd`
7922 case "$searchdir" in
7923 */lib32
) acl_libdirstem2
=lib32
;;
7924 */lib64
) acl_libdirstem3
=lib64
;;
7930 if test $HOST_CPU_C_ABI_32BIT = yes; then
7934 if test $HOST_CPU_C_ABI_32BIT = no
; then
7941 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
7942 test -n "$acl_libdirstem3" || acl_libdirstem3
="$acl_libdirstem"
7943 acl_cv_libdirstems
="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
7947 $as_echo "$acl_cv_libdirstems" >&6; }
7948 acl_libdirstem
=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
7949 acl_libdirstem2
=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
7950 acl_libdirstem3
=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
7964 acl_save_prefix
="$prefix"
7965 prefix
="$acl_final_prefix"
7966 acl_save_exec_prefix
="$exec_prefix"
7967 exec_prefix
="$acl_final_exec_prefix"
7969 eval additional_includedir
=\"$includedir\"
7970 eval additional_libdir
=\"$libdir\"
7971 eval additional_libdir2
=\"$exec_prefix/$acl_libdirstem2\"
7972 eval additional_libdir3
=\"$exec_prefix/$acl_libdirstem3\"
7974 exec_prefix
="$acl_save_exec_prefix"
7975 prefix
="$acl_save_prefix"
7978 # Check whether --with-libiconv-prefix was given.
7979 if test "${with_libiconv_prefix+set}" = set; then :
7980 withval
=$with_libiconv_prefix;
7981 if test "X$withval" = "Xno"; then
7984 if test "X$withval" = "X"; then
7986 acl_save_prefix
="$prefix"
7987 prefix
="$acl_final_prefix"
7988 acl_save_exec_prefix
="$exec_prefix"
7989 exec_prefix
="$acl_final_exec_prefix"
7991 eval additional_includedir
=\"$includedir\"
7992 eval additional_libdir
=\"$libdir\"
7993 eval additional_libdir2
=\"$exec_prefix/$acl_libdirstem2\"
7994 eval additional_libdir3
=\"$exec_prefix/$acl_libdirstem3\"
7996 exec_prefix
="$acl_save_exec_prefix"
7997 prefix
="$acl_save_prefix"
8000 additional_includedir
="$withval/include"
8001 additional_libdir
="$withval/$acl_libdirstem"
8002 additional_libdir2
="$withval/$acl_libdirstem2"
8003 additional_libdir3
="$withval/$acl_libdirstem3"
8009 if test "X$additional_libdir2" = "X$additional_libdir"; then
8012 if test "X$additional_libdir3" = "X$additional_libdir"; then
8022 names_already_handled
=
8023 names_next_round
='iconv '
8024 while test -n "$names_next_round"; do
8025 names_this_round
="$names_next_round"
8027 for name
in $names_this_round; do
8029 for n
in $names_already_handled; do
8030 if test "$n" = "$name"; then
8035 if test -z "$already_handled"; then
8036 names_already_handled
="$names_already_handled $name"
8037 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8038 eval value
=\"\
$HAVE_LIB$uppername\"
8039 if test -n "$value"; then
8040 if test "$value" = yes; then
8041 eval value
=\"\
$LIB$uppername\"
8042 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8043 eval value
=\"\
$LTLIB$uppername\"
8044 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8053 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8054 if test -n "$acl_shlibext"; then
8055 shrext
=".$acl_shlibext" # typically: shrext=.so
8059 if test $use_additional = yes; then
8060 for additional_libdir_variable
in additional_libdir additional_libdir2 additional_libdir3
; do
8061 if test "X$found_dir" = "X"; then
8062 eval dir
=\$
$additional_libdir_variable
8063 if test -n "$dir"; then
8064 if test -n "$acl_shlibext"; then
8065 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass
< "$dir/$libname$shrext"; then
8067 found_so
="$dir/$libname$shrext"
8069 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8070 ver
=`(cd "$dir" && \
8071 for f in "$libname$shrext".*; do echo "$f"; done \
8072 | sed -e "s,^$libname$shrext\\\\.,," \
8073 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8074 | sed 1q ) 2>/dev/null`
8075 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass
< "$dir/$libname$shrext.$ver"; then
8077 found_so
="$dir/$libname$shrext.$ver"
8080 eval library_names
=\"$acl_library_names_spec\"
8081 for f
in $library_names; do
8082 if test -f "$dir/$f" && acl_is_expected_elfclass
< "$dir/$f"; then
8091 if test "X$found_dir" = "X"; then
8092 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass
; then
8094 found_a
="$dir/$libname.$acl_libext"
8097 if test "X$found_dir" != "X"; then
8098 if test -f "$dir/$libname.la"; then
8099 found_la
="$dir/$libname.la"
8106 if test "X$found_dir" = "X"; then
8107 for x
in $LDFLAGS $LTLIBICONV; do
8109 acl_save_prefix
="$prefix"
8110 prefix
="$acl_final_prefix"
8111 acl_save_exec_prefix
="$exec_prefix"
8112 exec_prefix
="$acl_final_exec_prefix"
8114 exec_prefix
="$acl_save_exec_prefix"
8115 prefix
="$acl_save_prefix"
8119 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8120 if test -n "$acl_shlibext"; then
8121 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass
< "$dir/$libname$shrext"; then
8123 found_so
="$dir/$libname$shrext"
8125 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8126 ver
=`(cd "$dir" && \
8127 for f in "$libname$shrext".*; do echo "$f"; done \
8128 | sed -e "s,^$libname$shrext\\\\.,," \
8129 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8130 | sed 1q ) 2>/dev/null`
8131 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass
< "$dir/$libname$shrext.$ver"; then
8133 found_so
="$dir/$libname$shrext.$ver"
8136 eval library_names
=\"$acl_library_names_spec\"
8137 for f
in $library_names; do
8138 if test -f "$dir/$f" && acl_is_expected_elfclass
< "$dir/$f"; then
8147 if test "X$found_dir" = "X"; then
8148 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass
; then
8150 found_a
="$dir/$libname.$acl_libext"
8153 if test "X$found_dir" != "X"; then
8154 if test -f "$dir/$libname.la"; then
8155 found_la
="$dir/$libname.la"
8160 if test "X$found_dir" != "X"; then
8165 if test "X$found_dir" != "X"; then
8166 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8167 if test "X$found_so" != "X"; then
8168 if test "$enable_rpath" = no \
8169 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8170 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2" \
8171 ||
test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
8172 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8175 for x
in $ltrpathdirs; do
8176 if test "X$x" = "X$found_dir"; then
8181 if test -z "$haveit"; then
8182 ltrpathdirs
="$ltrpathdirs $found_dir"
8184 if test "$acl_hardcode_direct" = yes; then
8185 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8187 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8188 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8190 for x
in $rpathdirs; do
8191 if test "X$x" = "X$found_dir"; then
8196 if test -z "$haveit"; then
8197 rpathdirs
="$rpathdirs $found_dir"
8201 for x
in $LDFLAGS $LIBICONV; do
8203 acl_save_prefix
="$prefix"
8204 prefix
="$acl_final_prefix"
8205 acl_save_exec_prefix
="$exec_prefix"
8206 exec_prefix
="$acl_final_exec_prefix"
8208 exec_prefix
="$acl_save_exec_prefix"
8209 prefix
="$acl_save_prefix"
8211 if test "X$x" = "X-L$found_dir"; then
8216 if test -z "$haveit"; then
8217 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8219 if test "$acl_hardcode_minus_L" != no
; then
8220 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8222 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8228 if test "X$found_a" != "X"; then
8229 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8231 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8234 additional_includedir
=
8235 case "$found_dir" in
8236 */$acl_libdirstem |
*/$acl_libdirstem/)
8237 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8238 if test "$name" = 'iconv'; then
8239 LIBICONV_PREFIX
="$basedir"
8241 additional_includedir
="$basedir/include"
8243 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8244 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8245 if test "$name" = 'iconv'; then
8246 LIBICONV_PREFIX
="$basedir"
8248 additional_includedir
="$basedir/include"
8250 */$acl_libdirstem3 |
*/$acl_libdirstem3/)
8251 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
8252 if test "$name" = 'iconv'; then
8253 LIBICONV_PREFIX
="$basedir"
8255 additional_includedir
="$basedir/include"
8258 if test "X$additional_includedir" != "X"; then
8259 if test "X$additional_includedir" != "X/usr/include"; then
8261 if test "X$additional_includedir" = "X/usr/local/include"; then
8262 if test -n "$GCC"; then
8264 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8268 if test -z "$haveit"; then
8269 for x
in $CPPFLAGS $INCICONV; do
8271 acl_save_prefix
="$prefix"
8272 prefix
="$acl_final_prefix"
8273 acl_save_exec_prefix
="$exec_prefix"
8274 exec_prefix
="$acl_final_exec_prefix"
8276 exec_prefix
="$acl_save_exec_prefix"
8277 prefix
="$acl_save_prefix"
8279 if test "X$x" = "X-I$additional_includedir"; then
8284 if test -z "$haveit"; then
8285 if test -d "$additional_includedir"; then
8286 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8292 if test -n "$found_la"; then
8293 save_libdir
="$libdir"
8295 */* |
*\\*) .
"$found_la" ;;
8296 *) .
"./$found_la" ;;
8298 libdir
="$save_libdir"
8299 for dep
in $dependency_libs; do
8302 dependency_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8303 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
8304 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
8305 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
8307 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
8308 ||
test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
8309 ||
test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
8310 if test -n "$GCC"; then
8312 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8316 if test -z "$haveit"; then
8318 for x
in $LDFLAGS $LIBICONV; do
8320 acl_save_prefix
="$prefix"
8321 prefix
="$acl_final_prefix"
8322 acl_save_exec_prefix
="$exec_prefix"
8323 exec_prefix
="$acl_final_exec_prefix"
8325 exec_prefix
="$acl_save_exec_prefix"
8326 prefix
="$acl_save_prefix"
8328 if test "X$x" = "X-L$dependency_libdir"; then
8333 if test -z "$haveit"; then
8334 if test -d "$dependency_libdir"; then
8335 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
8339 for x
in $LDFLAGS $LTLIBICONV; do
8341 acl_save_prefix
="$prefix"
8342 prefix
="$acl_final_prefix"
8343 acl_save_exec_prefix
="$exec_prefix"
8344 exec_prefix
="$acl_final_exec_prefix"
8346 exec_prefix
="$acl_save_exec_prefix"
8347 prefix
="$acl_save_prefix"
8349 if test "X$x" = "X-L$dependency_libdir"; then
8354 if test -z "$haveit"; then
8355 if test -d "$dependency_libdir"; then
8356 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
8363 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8364 if test "$enable_rpath" != no
; then
8366 for x
in $rpathdirs; do
8367 if test "X$x" = "X$dir"; then
8372 if test -z "$haveit"; then
8373 rpathdirs
="$rpathdirs $dir"
8376 for x
in $ltrpathdirs; do
8377 if test "X$x" = "X$dir"; then
8382 if test -z "$haveit"; then
8383 ltrpathdirs
="$ltrpathdirs $dir"
8388 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8391 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8394 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8395 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8401 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8402 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8408 if test "X$rpathdirs" != "X"; then
8409 if test -n "$acl_hardcode_libdir_separator"; then
8411 for found_dir
in $rpathdirs; do
8412 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8414 acl_save_libdir
="$libdir"
8416 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8417 libdir
="$acl_save_libdir"
8418 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8420 for found_dir
in $rpathdirs; do
8421 acl_save_libdir
="$libdir"
8423 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8424 libdir
="$acl_save_libdir"
8425 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8429 if test "X$ltrpathdirs" != "X"; then
8430 for found_dir
in $ltrpathdirs; do
8431 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
8464 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
8465 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
8466 $as_echo_n "(cached) " >&6
8468 gt_save_LIBS
="$LIBS"
8469 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
8470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8472 #include <CoreFoundation/CFPreferences.h>
8476 CFPreferencesCopyAppValue(NULL, NULL)
8481 if ac_fn_c_try_link
"$LINENO"; then :
8482 gt_cv_func_CFPreferencesCopyAppValue
=yes
8484 gt_cv_func_CFPreferencesCopyAppValue
=no
8486 rm -f core conftest.err conftest.
$ac_objext \
8487 conftest
$ac_exeext conftest.
$ac_ext
8488 LIBS
="$gt_save_LIBS"
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
8491 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
8492 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
8494 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
8498 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
8499 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false
; then :
8500 $as_echo_n "(cached) " >&6
8502 gt_save_LIBS
="$LIBS"
8503 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
8504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 #include <CoreFoundation/CFLocale.h>
8510 CFLocaleCopyPreferredLanguages();
8515 if ac_fn_c_try_link
"$LINENO"; then :
8516 gt_cv_func_CFLocaleCopyPreferredLanguages
=yes
8518 gt_cv_func_CFLocaleCopyPreferredLanguages
=no
8520 rm -f core conftest.err conftest.
$ac_objext \
8521 conftest
$ac_exeext conftest.
$ac_ext
8522 LIBS
="$gt_save_LIBS"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
8525 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
8526 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
8528 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
8532 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
8533 ||
test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
8534 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
8546 case " $gt_needs " in
8547 *" need-formatstring-macros "*) gt_api_version
=3 ;;
8548 *" need-ngettext "*) gt_api_version
=2 ;;
8549 *) gt_api_version
=1 ;;
8551 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
8552 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
8554 if test "$USE_NLS" = "yes"; then
8555 gt_use_preinstalled_gnugettext
=no
8558 if test $gt_api_version -ge 3; then
8559 gt_revision_test_code
='
8560 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8561 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
8563 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
8566 gt_revision_test_code
=
8568 if test $gt_api_version -ge 2; then
8569 gt_expression_test_code
=' + * ngettext ("", "", 0)'
8571 gt_expression_test_code
=
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
8575 $as_echo_n "checking for GNU gettext in libc... " >&6; }
8576 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
8577 $as_echo_n "(cached) " >&6
8579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8582 #include <libintl.h>
8583 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8584 extern int _nl_msg_cat_cntr;
8585 extern int *_nl_domain_bindings;
8586 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
8588 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8590 $gt_revision_test_code
8596 bindtextdomain ("", "");
8597 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8603 if ac_fn_c_try_link
"$LINENO"; then :
8604 eval "$gt_func_gnugettext_libc=yes"
8606 eval "$gt_func_gnugettext_libc=no"
8608 rm -f core conftest.err conftest.
$ac_objext \
8609 conftest
$ac_exeext conftest.
$ac_ext
8611 eval ac_res
=\$
$gt_func_gnugettext_libc
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8613 $as_echo "$ac_res" >&6; }
8615 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
8621 am_save_CPPFLAGS
="$CPPFLAGS"
8623 for element
in $INCICONV; do
8625 for x
in $CPPFLAGS; do
8627 acl_save_prefix
="$prefix"
8628 prefix
="$acl_final_prefix"
8629 acl_save_exec_prefix
="$exec_prefix"
8630 exec_prefix
="$acl_final_exec_prefix"
8632 exec_prefix
="$acl_save_exec_prefix"
8633 prefix
="$acl_save_prefix"
8635 if test "X$x" = "X$element"; then
8640 if test -z "$haveit"; then
8641 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
8647 $as_echo_n "checking for iconv... " >&6; }
8648 if ${am_cv_func_iconv+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8652 am_cv_func_iconv
="no, consider installing GNU libiconv"
8654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8663 iconv_t cd = iconv_open("","");
8664 iconv(cd,NULL,NULL,NULL,NULL);
8670 if ac_fn_c_try_link
"$LINENO"; then :
8671 am_cv_func_iconv
=yes
8673 rm -f core conftest.err conftest.
$ac_objext \
8674 conftest
$ac_exeext conftest.
$ac_ext
8675 if test "$am_cv_func_iconv" != yes; then
8676 am_save_LIBS
="$LIBS"
8677 LIBS
="$LIBS $LIBICONV"
8678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8687 iconv_t cd = iconv_open("","");
8688 iconv(cd,NULL,NULL,NULL,NULL);
8694 if ac_fn_c_try_link
"$LINENO"; then :
8696 am_cv_func_iconv
=yes
8698 rm -f core conftest.err conftest.
$ac_objext \
8699 conftest
$ac_exeext conftest.
$ac_ext
8700 LIBS
="$am_save_LIBS"
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8705 $as_echo "$am_cv_func_iconv" >&6; }
8706 if test "$am_cv_func_iconv" = yes; then
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8708 $as_echo_n "checking for working iconv... " >&6; }
8709 if ${am_cv_func_iconv_works+:} false
; then :
8710 $as_echo_n "(cached) " >&6
8713 am_save_LIBS
="$LIBS"
8714 if test $am_cv_lib_iconv = yes; then
8715 LIBS
="$LIBS $LIBICONV"
8717 am_cv_func_iconv_works
=no
8718 for ac_iconv_const
in '' 'const'; do
8719 if test "$cross_compiling" = yes; then :
8721 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
8722 *) am_cv_func_iconv_works
="guessing yes" ;;
8725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8732 # define ICONV_CONST $ac_iconv_const
8739 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
8742 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8743 if (cd_utf8_to_88591 != (iconv_t)(-1))
8745 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8747 ICONV_CONST char *inptr = input;
8748 size_t inbytesleft = strlen (input);
8750 size_t outbytesleft = sizeof (buf);
8751 size_t res = iconv (cd_utf8_to_88591,
8752 &inptr, &inbytesleft,
8753 &outptr, &outbytesleft);
8756 iconv_close (cd_utf8_to_88591);
8759 /* Test against Solaris 10 bug: Failures are not distinguishable from
8760 successful returns. */
8762 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8763 if (cd_ascii_to_88591 != (iconv_t)(-1))
8765 static ICONV_CONST char input[] = "\263";
8767 ICONV_CONST char *inptr = input;
8768 size_t inbytesleft = strlen (input);
8770 size_t outbytesleft = sizeof (buf);
8771 size_t res = iconv (cd_ascii_to_88591,
8772 &inptr, &inbytesleft,
8773 &outptr, &outbytesleft);
8776 iconv_close (cd_ascii_to_88591);
8779 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
8781 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8782 if (cd_88591_to_utf8 != (iconv_t)(-1))
8784 static ICONV_CONST char input[] = "\304";
8785 static char buf[2] = { (char)0xDE, (char)0xAD };
8786 ICONV_CONST char *inptr = input;
8787 size_t inbytesleft = 1;
8789 size_t outbytesleft = 1;
8790 size_t res = iconv (cd_88591_to_utf8,
8791 &inptr, &inbytesleft,
8792 &outptr, &outbytesleft);
8793 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8795 iconv_close (cd_88591_to_utf8);
8798 #if 0 /* This bug could be worked around by the caller. */
8799 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8801 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8802 if (cd_88591_to_utf8 != (iconv_t)(-1))
8804 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8806 ICONV_CONST char *inptr = input;
8807 size_t inbytesleft = strlen (input);
8809 size_t outbytesleft = sizeof (buf);
8810 size_t res = iconv (cd_88591_to_utf8,
8811 &inptr, &inbytesleft,
8812 &outptr, &outbytesleft);
8815 iconv_close (cd_88591_to_utf8);
8819 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8822 /* Try standardized names. */
8823 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
8824 /* Try IRIX, OSF/1 names. */
8825 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
8826 /* Try AIX names. */
8827 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
8828 /* Try HP-UX names. */
8829 iconv_t cd4 = iconv_open ("utf8", "eucJP");
8830 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
8831 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
8833 if (cd1 != (iconv_t)(-1))
8835 if (cd2 != (iconv_t)(-1))
8837 if (cd3 != (iconv_t)(-1))
8839 if (cd4 != (iconv_t)(-1))
8848 if ac_fn_c_try_run
"$LINENO"; then :
8849 am_cv_func_iconv_works
=yes
8851 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8852 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8855 test "$am_cv_func_iconv_works" = no ||
break
8857 LIBS
="$am_save_LIBS"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8861 $as_echo "$am_cv_func_iconv_works" >&6; }
8862 case "$am_cv_func_iconv_works" in
8863 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8864 *) am_func_iconv
=yes ;;
8867 am_func_iconv
=no am_cv_lib_iconv
=no
8869 if test "$am_func_iconv" = yes; then
8871 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8874 if test "$am_cv_lib_iconv" = yes; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8876 $as_echo_n "checking how to link with libiconv... " >&6; }
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8878 $as_echo "$LIBICONV" >&6; }
8880 CPPFLAGS
="$am_save_CPPFLAGS"
8896 acl_save_prefix
="$prefix"
8897 prefix
="$acl_final_prefix"
8898 acl_save_exec_prefix
="$exec_prefix"
8899 exec_prefix
="$acl_final_exec_prefix"
8901 eval additional_includedir
=\"$includedir\"
8902 eval additional_libdir
=\"$libdir\"
8903 eval additional_libdir2
=\"$exec_prefix/$acl_libdirstem2\"
8904 eval additional_libdir3
=\"$exec_prefix/$acl_libdirstem3\"
8906 exec_prefix
="$acl_save_exec_prefix"
8907 prefix
="$acl_save_prefix"
8910 # Check whether --with-libintl-prefix was given.
8911 if test "${with_libintl_prefix+set}" = set; then :
8912 withval
=$with_libintl_prefix;
8913 if test "X$withval" = "Xno"; then
8916 if test "X$withval" = "X"; then
8918 acl_save_prefix
="$prefix"
8919 prefix
="$acl_final_prefix"
8920 acl_save_exec_prefix
="$exec_prefix"
8921 exec_prefix
="$acl_final_exec_prefix"
8923 eval additional_includedir
=\"$includedir\"
8924 eval additional_libdir
=\"$libdir\"
8925 eval additional_libdir2
=\"$exec_prefix/$acl_libdirstem2\"
8926 eval additional_libdir3
=\"$exec_prefix/$acl_libdirstem3\"
8928 exec_prefix
="$acl_save_exec_prefix"
8929 prefix
="$acl_save_prefix"
8932 additional_includedir
="$withval/include"
8933 additional_libdir
="$withval/$acl_libdirstem"
8934 additional_libdir2
="$withval/$acl_libdirstem2"
8935 additional_libdir3
="$withval/$acl_libdirstem3"
8941 if test "X$additional_libdir2" = "X$additional_libdir"; then
8944 if test "X$additional_libdir3" = "X$additional_libdir"; then
8954 names_already_handled
=
8955 names_next_round
='intl '
8956 while test -n "$names_next_round"; do
8957 names_this_round
="$names_next_round"
8959 for name
in $names_this_round; do
8961 for n
in $names_already_handled; do
8962 if test "$n" = "$name"; then
8967 if test -z "$already_handled"; then
8968 names_already_handled
="$names_already_handled $name"
8969 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8970 eval value
=\"\
$HAVE_LIB$uppername\"
8971 if test -n "$value"; then
8972 if test "$value" = yes; then
8973 eval value
=\"\
$LIB$uppername\"
8974 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8975 eval value
=\"\
$LTLIB$uppername\"
8976 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8985 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8986 if test -n "$acl_shlibext"; then
8987 shrext
=".$acl_shlibext" # typically: shrext=.so
8991 if test $use_additional = yes; then
8992 for additional_libdir_variable
in additional_libdir additional_libdir2 additional_libdir3
; do
8993 if test "X$found_dir" = "X"; then
8994 eval dir
=\$
$additional_libdir_variable
8995 if test -n "$dir"; then
8996 if test -n "$acl_shlibext"; then
8997 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass
< "$dir/$libname$shrext"; then
8999 found_so
="$dir/$libname$shrext"
9001 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9002 ver
=`(cd "$dir" && \
9003 for f in "$libname$shrext".*; do echo "$f"; done \
9004 | sed -e "s,^$libname$shrext\\\\.,," \
9005 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9006 | sed 1q ) 2>/dev/null`
9007 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass
< "$dir/$libname$shrext.$ver"; then
9009 found_so
="$dir/$libname$shrext.$ver"
9012 eval library_names
=\"$acl_library_names_spec\"
9013 for f
in $library_names; do
9014 if test -f "$dir/$f" && acl_is_expected_elfclass
< "$dir/$f"; then
9023 if test "X$found_dir" = "X"; then
9024 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass
; then
9026 found_a
="$dir/$libname.$acl_libext"
9029 if test "X$found_dir" != "X"; then
9030 if test -f "$dir/$libname.la"; then
9031 found_la
="$dir/$libname.la"
9038 if test "X$found_dir" = "X"; then
9039 for x
in $LDFLAGS $LTLIBINTL; do
9041 acl_save_prefix
="$prefix"
9042 prefix
="$acl_final_prefix"
9043 acl_save_exec_prefix
="$exec_prefix"
9044 exec_prefix
="$acl_final_exec_prefix"
9046 exec_prefix
="$acl_save_exec_prefix"
9047 prefix
="$acl_save_prefix"
9051 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9052 if test -n "$acl_shlibext"; then
9053 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass
< "$dir/$libname$shrext"; then
9055 found_so
="$dir/$libname$shrext"
9057 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9058 ver
=`(cd "$dir" && \
9059 for f in "$libname$shrext".*; do echo "$f"; done \
9060 | sed -e "s,^$libname$shrext\\\\.,," \
9061 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9062 | sed 1q ) 2>/dev/null`
9063 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass
< "$dir/$libname$shrext.$ver"; then
9065 found_so
="$dir/$libname$shrext.$ver"
9068 eval library_names
=\"$acl_library_names_spec\"
9069 for f
in $library_names; do
9070 if test -f "$dir/$f" && acl_is_expected_elfclass
< "$dir/$f"; then
9079 if test "X$found_dir" = "X"; then
9080 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass
; then
9082 found_a
="$dir/$libname.$acl_libext"
9085 if test "X$found_dir" != "X"; then
9086 if test -f "$dir/$libname.la"; then
9087 found_la
="$dir/$libname.la"
9092 if test "X$found_dir" != "X"; then
9097 if test "X$found_dir" != "X"; then
9098 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
9099 if test "X$found_so" != "X"; then
9100 if test "$enable_rpath" = no \
9101 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
9102 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2" \
9103 ||
test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
9104 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9107 for x
in $ltrpathdirs; do
9108 if test "X$x" = "X$found_dir"; then
9113 if test -z "$haveit"; then
9114 ltrpathdirs
="$ltrpathdirs $found_dir"
9116 if test "$acl_hardcode_direct" = yes; then
9117 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9119 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
9120 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9122 for x
in $rpathdirs; do
9123 if test "X$x" = "X$found_dir"; then
9128 if test -z "$haveit"; then
9129 rpathdirs
="$rpathdirs $found_dir"
9133 for x
in $LDFLAGS $LIBINTL; do
9135 acl_save_prefix
="$prefix"
9136 prefix
="$acl_final_prefix"
9137 acl_save_exec_prefix
="$exec_prefix"
9138 exec_prefix
="$acl_final_exec_prefix"
9140 exec_prefix
="$acl_save_exec_prefix"
9141 prefix
="$acl_save_prefix"
9143 if test "X$x" = "X-L$found_dir"; then
9148 if test -z "$haveit"; then
9149 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
9151 if test "$acl_hardcode_minus_L" != no
; then
9152 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9154 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9160 if test "X$found_a" != "X"; then
9161 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
9163 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
9166 additional_includedir
=
9167 case "$found_dir" in
9168 */$acl_libdirstem |
*/$acl_libdirstem/)
9169 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
9170 if test "$name" = 'intl'; then
9171 LIBINTL_PREFIX
="$basedir"
9173 additional_includedir
="$basedir/include"
9175 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
9176 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
9177 if test "$name" = 'intl'; then
9178 LIBINTL_PREFIX
="$basedir"
9180 additional_includedir
="$basedir/include"
9182 */$acl_libdirstem3 |
*/$acl_libdirstem3/)
9183 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
9184 if test "$name" = 'intl'; then
9185 LIBINTL_PREFIX
="$basedir"
9187 additional_includedir
="$basedir/include"
9190 if test "X$additional_includedir" != "X"; then
9191 if test "X$additional_includedir" != "X/usr/include"; then
9193 if test "X$additional_includedir" = "X/usr/local/include"; then
9194 if test -n "$GCC"; then
9196 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9200 if test -z "$haveit"; then
9201 for x
in $CPPFLAGS $INCINTL; do
9203 acl_save_prefix
="$prefix"
9204 prefix
="$acl_final_prefix"
9205 acl_save_exec_prefix
="$exec_prefix"
9206 exec_prefix
="$acl_final_exec_prefix"
9208 exec_prefix
="$acl_save_exec_prefix"
9209 prefix
="$acl_save_prefix"
9211 if test "X$x" = "X-I$additional_includedir"; then
9216 if test -z "$haveit"; then
9217 if test -d "$additional_includedir"; then
9218 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
9224 if test -n "$found_la"; then
9225 save_libdir
="$libdir"
9227 */* |
*\\*) .
"$found_la" ;;
9228 *) .
"./$found_la" ;;
9230 libdir
="$save_libdir"
9231 for dep
in $dependency_libs; do
9234 dependency_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9235 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
9236 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
9237 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
9239 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
9240 ||
test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
9241 ||
test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
9242 if test -n "$GCC"; then
9244 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9248 if test -z "$haveit"; then
9250 for x
in $LDFLAGS $LIBINTL; do
9252 acl_save_prefix
="$prefix"
9253 prefix
="$acl_final_prefix"
9254 acl_save_exec_prefix
="$exec_prefix"
9255 exec_prefix
="$acl_final_exec_prefix"
9257 exec_prefix
="$acl_save_exec_prefix"
9258 prefix
="$acl_save_prefix"
9260 if test "X$x" = "X-L$dependency_libdir"; then
9265 if test -z "$haveit"; then
9266 if test -d "$dependency_libdir"; then
9267 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir"
9271 for x
in $LDFLAGS $LTLIBINTL; do
9273 acl_save_prefix
="$prefix"
9274 prefix
="$acl_final_prefix"
9275 acl_save_exec_prefix
="$exec_prefix"
9276 exec_prefix
="$acl_final_exec_prefix"
9278 exec_prefix
="$acl_save_exec_prefix"
9279 prefix
="$acl_save_prefix"
9281 if test "X$x" = "X-L$dependency_libdir"; then
9286 if test -z "$haveit"; then
9287 if test -d "$dependency_libdir"; then
9288 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir"
9295 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9296 if test "$enable_rpath" != no
; then
9298 for x
in $rpathdirs; do
9299 if test "X$x" = "X$dir"; then
9304 if test -z "$haveit"; then
9305 rpathdirs
="$rpathdirs $dir"
9308 for x
in $ltrpathdirs; do
9309 if test "X$x" = "X$dir"; then
9314 if test -z "$haveit"; then
9315 ltrpathdirs
="$ltrpathdirs $dir"
9320 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9323 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9326 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
9327 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9333 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9334 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9340 if test "X$rpathdirs" != "X"; then
9341 if test -n "$acl_hardcode_libdir_separator"; then
9343 for found_dir
in $rpathdirs; do
9344 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9346 acl_save_libdir
="$libdir"
9348 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
9349 libdir
="$acl_save_libdir"
9350 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9352 for found_dir
in $rpathdirs; do
9353 acl_save_libdir
="$libdir"
9355 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
9356 libdir
="$acl_save_libdir"
9357 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9361 if test "X$ltrpathdirs" != "X"; then
9362 for found_dir
in $ltrpathdirs; do
9363 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
9372 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
9373 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
9374 $as_echo_n "(cached) " >&6
9376 gt_save_CPPFLAGS
="$CPPFLAGS"
9377 CPPFLAGS
="$CPPFLAGS $INCINTL"
9378 gt_save_LIBS
="$LIBS"
9379 LIBS
="$LIBS $LIBINTL"
9380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 #include <libintl.h>
9384 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
9385 extern int _nl_msg_cat_cntr;
9390 const char *_nl_expand_alias (const char *);
9391 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
9393 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
9395 $gt_revision_test_code
9401 bindtextdomain ("", "");
9402 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
9408 if ac_fn_c_try_link
"$LINENO"; then :
9409 eval "$gt_func_gnugettext_libintl=yes"
9411 eval "$gt_func_gnugettext_libintl=no"
9413 rm -f core conftest.err conftest.
$ac_objext \
9414 conftest
$ac_exeext conftest.
$ac_ext
9415 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
9416 LIBS
="$LIBS $LIBICONV"
9417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9418 /* end confdefs.h. */
9420 #include <libintl.h>
9421 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
9422 extern int _nl_msg_cat_cntr;
9427 const char *_nl_expand_alias (const char *);
9428 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
9430 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
9432 $gt_revision_test_code
9438 bindtextdomain ("", "");
9439 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
9445 if ac_fn_c_try_link
"$LINENO"; then :
9446 LIBINTL
="$LIBINTL $LIBICONV"
9447 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
9448 eval "$gt_func_gnugettext_libintl=yes"
9451 rm -f core conftest.err conftest.
$ac_objext \
9452 conftest
$ac_exeext conftest.
$ac_ext
9454 CPPFLAGS
="$gt_save_CPPFLAGS"
9455 LIBS
="$gt_save_LIBS"
9457 eval ac_res
=\$
$gt_func_gnugettext_libintl
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9459 $as_echo "$ac_res" >&6; }
9462 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
9463 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
9464 && test "$PACKAGE" != gettext-runtime \
9465 && test "$PACKAGE" != gettext-tools
; }; then
9466 gt_use_preinstalled_gnugettext
=yes
9475 if test -n "$INTL_MACOSX_LIBS"; then
9476 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9477 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9478 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
9479 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
9483 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9484 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9486 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
9494 $as_echo_n "checking whether to use NLS... " >&6; }
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
9496 $as_echo "$USE_NLS" >&6; }
9497 if test "$USE_NLS" = "yes"; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
9499 $as_echo_n "checking where the gettext function comes from... " >&6; }
9500 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9501 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9502 gt_source
="external libintl"
9507 gt_source
="included intl directory"
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
9510 $as_echo "$gt_source" >&6; }
9513 if test "$USE_NLS" = "yes"; then
9515 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9516 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
9518 $as_echo_n "checking how to link with libintl... " >&6; }
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
9520 $as_echo "$LIBINTL" >&6; }
9522 for element
in $INCINTL; do
9524 for x
in $CPPFLAGS; do
9526 acl_save_prefix
="$prefix"
9527 prefix
="$acl_final_prefix"
9528 acl_save_exec_prefix
="$exec_prefix"
9529 exec_prefix
="$acl_final_exec_prefix"
9531 exec_prefix
="$acl_save_exec_prefix"
9532 prefix
="$acl_save_prefix"
9534 if test "X$x" = "X$element"; then
9539 if test -z "$haveit"; then
9540 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9547 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
9550 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9568 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
9570 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9571 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
9572 $as_echo_n "(cached) " >&6
9574 cat >conftest.
make <<\_ACEOF
9577 @
echo '@@@%%%=$(MAKE)=@@@%%%'
9579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
9582 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
9584 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
9588 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9590 $as_echo "yes" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 $as_echo "no" >&6; }
9595 SET_MAKE
="MAKE=${MAKE-make}"
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
9599 $as_echo_n "checking for GNU make... " >&6; }
9600 if ${_cv_gnu_make_command+:} false
; then :
9601 $as_echo_n "(cached) " >&6
9603 _cv_gnu_make_command
='' ;
9604 if test -n "$FORCE_NATIVE_MAKE" ; then
9607 MAKES
="make gmake gnumake"
9609 for a
in "$MAKE" $MAKES ; do
9610 if test -z "$a" ; then continue ; fi ;
9611 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
) ; then
9612 _cv_gnu_make_command
=$a ;
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
9619 $as_echo "$_cv_gnu_make_command" >&6; } ;
9620 if test "x$_cv_gnu_make_command" != "x" ; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
9627 $as_echo "\"Not found\"" >&6; };
9632 # Extract the first word of "ln", so it can be a program name with args.
9633 set dummy
ln; ac_word
=$2
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9635 $as_echo_n "checking for $ac_word... " >&6; }
9636 if ${ac_cv_path_LN+:} false
; then :
9637 $as_echo_n "(cached) " >&6
9641 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
9644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9648 test -z "$as_dir" && as_dir
=.
9649 for ac_exec_ext
in '' $ac_executable_extensions; do
9650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9651 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
9652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9659 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
9664 if test -n "$LN"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
9666 $as_echo "$LN" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9669 $as_echo "no" >&6; }
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9677 $as_echo_n "checking whether ln -s works... " >&6; }
9679 if test "$LN_S" = "ln -s"; then
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9681 $as_echo "yes" >&6; }
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9684 $as_echo "no, using $LN_S" >&6; }
9687 # Extract the first word of "mv", so it can be a program name with args.
9688 set dummy
mv; ac_word
=$2
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9690 $as_echo_n "checking for $ac_word... " >&6; }
9691 if ${ac_cv_path_MV+:} false
; then :
9692 $as_echo_n "(cached) " >&6
9696 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
9699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9703 test -z "$as_dir" && as_dir
=.
9704 for ac_exec_ext
in '' $ac_executable_extensions; do
9705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9706 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
9707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9714 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
9719 if test -n "$MV"; then
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
9721 $as_echo "$MV" >&6; }
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9724 $as_echo "no" >&6; }
9728 # Extract the first word of "cp", so it can be a program name with args.
9729 set dummy
cp; ac_word
=$2
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9731 $as_echo_n "checking for $ac_word... " >&6; }
9732 if ${ac_cv_path_CP+:} false
; then :
9733 $as_echo_n "(cached) " >&6
9737 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
9740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9744 test -z "$as_dir" && as_dir
=.
9745 for ac_exec_ext
in '' $ac_executable_extensions; do
9746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9747 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
9748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9755 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
9760 if test -n "$CP"; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
9762 $as_echo "$CP" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9765 $as_echo "no" >&6; }
9769 # Extract the first word of "rm", so it can be a program name with args.
9770 set dummy
rm; ac_word
=$2
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9772 $as_echo_n "checking for $ac_word... " >&6; }
9773 if ${ac_cv_path_RM+:} false
; then :
9774 $as_echo_n "(cached) " >&6
9778 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
9781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9785 test -z "$as_dir" && as_dir
=.
9786 for ac_exec_ext
in '' $ac_executable_extensions; do
9787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9788 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
9789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9796 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
9801 if test -n "$RM"; then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
9803 $as_echo "$RM" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9806 $as_echo "no" >&6; }
9810 # Extract the first word of "chmod", so it can be a program name with args.
9811 set dummy
chmod; ac_word
=$2
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9813 $as_echo_n "checking for $ac_word... " >&6; }
9814 if ${ac_cv_path_CHMOD+:} false
; then :
9815 $as_echo_n "(cached) " >&6
9819 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
9822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9826 test -z "$as_dir" && as_dir
=.
9827 for ac_exec_ext
in '' $ac_executable_extensions; do
9828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9829 ac_cv_path_CHMOD
="$as_dir/$ac_word$ac_exec_ext"
9830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9837 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
=":"
9841 CHMOD
=$ac_cv_path_CHMOD
9842 if test -n "$CHMOD"; then
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
9844 $as_echo "$CHMOD" >&6; }
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9847 $as_echo "no" >&6; }
9851 for ac_prog
in gawk mawk nawk
awk
9853 # Extract the first word of "$ac_prog", so it can be a program name with args.
9854 set dummy
$ac_prog; ac_word
=$2
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9856 $as_echo_n "checking for $ac_word... " >&6; }
9857 if ${ac_cv_prog_AWK+:} false
; then :
9858 $as_echo_n "(cached) " >&6
9860 if test -n "$AWK"; then
9861 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
9863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9867 test -z "$as_dir" && as_dir
=.
9868 for ac_exec_ext
in '' $ac_executable_extensions; do
9869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9870 ac_cv_prog_AWK
="$ac_prog"
9871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 if test -n "$AWK"; then
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9883 $as_echo "$AWK" >&6; }
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9886 $as_echo "no" >&6; }
9890 test -n "$AWK" && break
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
9894 $as_echo_n "checking for egrep... " >&6; }
9895 if ${ac_cv_path_EGREP+:} false
; then :
9896 $as_echo_n "(cached) " >&6
9898 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
9899 then ac_cv_path_EGREP
="$GREP -E"
9901 if test -z "$EGREP"; then
9902 ac_path_EGREP_found
=false
9903 # Loop through the user's path and test for each of PROGNAME-LIST
9904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9905 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
9908 test -z "$as_dir" && as_dir
=.
9909 for ac_prog
in egrep; do
9910 for ac_exec_ext
in '' $ac_executable_extensions; do
9911 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
9912 as_fn_executable_p
"$ac_path_EGREP" ||
continue
9913 # Check for GNU ac_path_EGREP and select it if it is found.
9914 # Check for GNU $ac_path_EGREP
9915 case `"$ac_path_EGREP" --version 2>&1` in
9917 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
9920 $as_echo_n 0123456789 >"conftest.in"
9923 cat "conftest.in" "conftest.in" >"conftest.tmp"
9924 mv "conftest.tmp" "conftest.in"
9925 cp "conftest.in" "conftest.nl"
9926 $as_echo 'EGREP' >> "conftest.nl"
9927 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
9928 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
9929 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
9930 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9931 # Best one so far, save it but keep looking for a better one
9932 ac_cv_path_EGREP
="$ac_path_EGREP"
9933 ac_path_EGREP_max
=$ac_count
9935 # 10*(2^10) chars as input seems more than enough
9936 test $ac_count -gt 10 && break
9938 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
9941 $ac_path_EGREP_found && break 3
9946 if test -z "$ac_cv_path_EGREP"; then
9947 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9950 ac_cv_path_EGREP
=$EGREP
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
9956 $as_echo "$ac_cv_path_EGREP" >&6; }
9957 EGREP
="$ac_cv_path_EGREP"
9960 # Extract the first word of "sed", so it can be a program name with args.
9961 set dummy
sed; ac_word
=$2
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9963 $as_echo_n "checking for $ac_word... " >&6; }
9964 if ${ac_cv_path_SED+:} false
; then :
9965 $as_echo_n "(cached) " >&6
9969 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
9972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9976 test -z "$as_dir" && as_dir
=.
9977 for ac_exec_ext
in '' $ac_executable_extensions; do
9978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9979 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
9980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9987 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
9992 if test -n "$SED"; then
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
9994 $as_echo "$SED" >&6; }
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9997 $as_echo "no" >&6; }
10001 # Extract the first word of "perl", so it can be a program name with args.
10002 set dummy perl
; ac_word
=$2
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10004 $as_echo_n "checking for $ac_word... " >&6; }
10005 if ${ac_cv_path_PERL+:} false
; then :
10006 $as_echo_n "(cached) " >&6
10010 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
10013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10014 for as_dir
in $PATH
10017 test -z "$as_dir" && as_dir
=.
10018 for ac_exec_ext
in '' $ac_executable_extensions; do
10019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10020 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
10021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10028 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl"
10032 PERL
=$ac_cv_path_PERL
10033 if test -n "$PERL"; then
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
10035 $as_echo "$PERL" >&6; }
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10038 $as_echo "no" >&6; }
10042 # Extract the first word of "ldconfig", so it can be a program name with args.
10043 set dummy ldconfig
; ac_word
=$2
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10045 $as_echo_n "checking for $ac_word... " >&6; }
10046 if ${ac_cv_path_LDCONFIG+:} false
; then :
10047 $as_echo_n "(cached) " >&6
10051 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
10054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10055 for as_dir
in $PATH
10058 test -z "$as_dir" && as_dir
=.
10059 for ac_exec_ext
in '' $ac_executable_extensions; do
10060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10061 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10069 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
=":"
10073 LDCONFIG
=$ac_cv_path_LDCONFIG
10074 if test -n "$LDCONFIG"; then
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
10076 $as_echo "$LDCONFIG" >&6; }
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10079 $as_echo "no" >&6; }
10083 if test -n "$ac_tool_prefix"; then
10084 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10085 set dummy
${ac_tool_prefix}ar; ac_word
=$2
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10087 $as_echo_n "checking for $ac_word... " >&6; }
10088 if ${ac_cv_prog_AR+:} false
; then :
10089 $as_echo_n "(cached) " >&6
10091 if test -n "$AR"; then
10092 ac_cv_prog_AR
="$AR" # Let the user override the test.
10094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10095 for as_dir
in $PATH
10098 test -z "$as_dir" && as_dir
=.
10099 for ac_exec_ext
in '' $ac_executable_extensions; do
10100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10101 ac_cv_prog_AR
="${ac_tool_prefix}ar"
10102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10112 if test -n "$AR"; then
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10114 $as_echo "$AR" >&6; }
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10117 $as_echo "no" >&6; }
10122 if test -z "$ac_cv_prog_AR"; then
10124 # Extract the first word of "ar", so it can be a program name with args.
10125 set dummy
ar; ac_word
=$2
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10127 $as_echo_n "checking for $ac_word... " >&6; }
10128 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
10129 $as_echo_n "(cached) " >&6
10131 if test -n "$ac_ct_AR"; then
10132 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
10134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10135 for as_dir
in $PATH
10138 test -z "$as_dir" && as_dir
=.
10139 for ac_exec_ext
in '' $ac_executable_extensions; do
10140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10141 ac_cv_prog_ac_ct_AR
="ar"
10142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10151 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
10152 if test -n "$ac_ct_AR"; then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10154 $as_echo "$ac_ct_AR" >&6; }
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10157 $as_echo "no" >&6; }
10160 if test "x$ac_ct_AR" = x
; then
10163 case $cross_compiling:$ac_tool_warned in
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10167 ac_tool_warned
=yes ;;
10172 AR
="$ac_cv_prog_AR"
10175 if test -n "$ac_tool_prefix"; then
10176 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10177 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10179 $as_echo_n "checking for $ac_word... " >&6; }
10180 if ${ac_cv_prog_RANLIB+:} false
; then :
10181 $as_echo_n "(cached) " >&6
10183 if test -n "$RANLIB"; then
10184 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
10186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10187 for as_dir
in $PATH
10190 test -z "$as_dir" && as_dir
=.
10191 for ac_exec_ext
in '' $ac_executable_extensions; do
10192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10193 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
10194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10203 RANLIB
=$ac_cv_prog_RANLIB
10204 if test -n "$RANLIB"; then
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10206 $as_echo "$RANLIB" >&6; }
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10209 $as_echo "no" >&6; }
10214 if test -z "$ac_cv_prog_RANLIB"; then
10215 ac_ct_RANLIB
=$RANLIB
10216 # Extract the first word of "ranlib", so it can be a program name with args.
10217 set dummy ranlib
; ac_word
=$2
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10219 $as_echo_n "checking for $ac_word... " >&6; }
10220 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
10221 $as_echo_n "(cached) " >&6
10223 if test -n "$ac_ct_RANLIB"; then
10224 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
10226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10227 for as_dir
in $PATH
10230 test -z "$as_dir" && as_dir
=.
10231 for ac_exec_ext
in '' $ac_executable_extensions; do
10232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10233 ac_cv_prog_ac_ct_RANLIB
="ranlib"
10234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
10244 if test -n "$ac_ct_RANLIB"; then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10246 $as_echo "$ac_ct_RANLIB" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10249 $as_echo "no" >&6; }
10252 if test "x$ac_ct_RANLIB" = x
; then
10255 case $cross_compiling:$ac_tool_warned in
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10259 ac_tool_warned
=yes ;;
10261 RANLIB
=$ac_ct_RANLIB
10264 RANLIB
="$ac_cv_prog_RANLIB"
10267 if test -n "$ac_tool_prefix"; then
10268 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10269 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10271 $as_echo_n "checking for $ac_word... " >&6; }
10272 if ${ac_cv_prog_STRIP+:} false
; then :
10273 $as_echo_n "(cached) " >&6
10275 if test -n "$STRIP"; then
10276 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
10278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10279 for as_dir
in $PATH
10282 test -z "$as_dir" && as_dir
=.
10283 for ac_exec_ext
in '' $ac_executable_extensions; do
10284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10285 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
10286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10295 STRIP
=$ac_cv_prog_STRIP
10296 if test -n "$STRIP"; then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10298 $as_echo "$STRIP" >&6; }
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10301 $as_echo "no" >&6; }
10306 if test -z "$ac_cv_prog_STRIP"; then
10308 # Extract the first word of "strip", so it can be a program name with args.
10309 set dummy strip
; ac_word
=$2
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10311 $as_echo_n "checking for $ac_word... " >&6; }
10312 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
10313 $as_echo_n "(cached) " >&6
10315 if test -n "$ac_ct_STRIP"; then
10316 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
10318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10319 for as_dir
in $PATH
10322 test -z "$as_dir" && as_dir
=.
10323 for ac_exec_ext
in '' $ac_executable_extensions; do
10324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10325 ac_cv_prog_ac_ct_STRIP
="strip"
10326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
10336 if test -n "$ac_ct_STRIP"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10338 $as_echo "$ac_ct_STRIP" >&6; }
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 $as_echo "no" >&6; }
10344 if test "x$ac_ct_STRIP" = x
; then
10347 case $cross_compiling:$ac_tool_warned in
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10351 ac_tool_warned
=yes ;;
10356 STRIP
="$ac_cv_prog_STRIP"
10359 # Extract the first word of "makeinfo", so it can be a program name with args.
10360 set dummy makeinfo
; ac_word
=$2
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10362 $as_echo_n "checking for $ac_word... " >&6; }
10363 if ${ac_cv_prog_MAKEINFO+:} false
; then :
10364 $as_echo_n "(cached) " >&6
10366 if test -n "$MAKEINFO"; then
10367 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
10369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10370 for as_dir
in $PATH
10373 test -z "$as_dir" && as_dir
=.
10374 for ac_exec_ext
in '' $ac_executable_extensions; do
10375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10376 ac_cv_prog_MAKEINFO
="makeinfo"
10377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10386 MAKEINFO
=$ac_cv_prog_MAKEINFO
10387 if test -n "$MAKEINFO"; then
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
10389 $as_echo "$MAKEINFO" >&6; }
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10392 $as_echo "no" >&6; }
10396 if test "_$MAKEINFO" = "_"; then
10397 MAKEINFO
="echo Makeinfo is missing. Info documentation will not be built."
10399 case "$MAKEINFO" in
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10402 *** Makeinfo is missing. Info documentation will not be built." >&5
10403 $as_echo "$as_me: WARNING:
10404 *** Makeinfo is missing. Info documentation will not be built." >&2;}
10412 # See if we need a separate native compiler.
10413 if test $cross_compiling = no
; then
10417 for ac_prog
in gcc cc
10419 # Extract the first word of "$ac_prog", so it can be a program name with args.
10420 set dummy
$ac_prog; ac_word
=$2
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10422 $as_echo_n "checking for $ac_word... " >&6; }
10423 if ${ac_cv_prog_BUILD_CC+:} false
; then :
10424 $as_echo_n "(cached) " >&6
10426 if test -n "$BUILD_CC"; then
10427 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
10429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10430 for as_dir
in $PATH
10433 test -z "$as_dir" && as_dir
=.
10434 for ac_exec_ext
in '' $ac_executable_extensions; do
10435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_BUILD_CC
="$ac_prog"
10437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10446 BUILD_CC
=$ac_cv_prog_BUILD_CC
10447 if test -n "$BUILD_CC"; then
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
10449 $as_echo "$BUILD_CC" >&6; }
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10452 $as_echo "no" >&6; }
10456 test -n "$BUILD_CC" && break
10460 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
10462 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10463 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10464 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10465 cat >>confdefs.h
<<_ACEOF
10466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a dd(1) program that supports iflag=fullblock" >&5
10474 $as_echo_n "checking for a dd(1) program that supports iflag=fullblock... " >&6; }
10476 for i
in dd gdd
; do
10477 if "$i" if=/dev
/null of
=/dev
/null count
=1 bs
=10k
2>/dev
/null iflag
=fullblock oflag
=append
; then
10482 if test -n "$DD" ; then
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DD" >&5
10484 $as_echo "$DD" >&6; }
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found, using dd" >&5
10487 $as_echo "not found, using dd" >&6; }
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No GNU-compatible dd(1) program found, expect some self-test failures." >&5
10490 $as_echo "$as_me: WARNING: No GNU-compatible dd(1) program found, expect some self-test failures." >&2;}
10494 for ac_header
in net
/if.h
10496 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
10497 #if HAVE_SYS_TYPES_H
10498 #include <sys/types.h>
10500 #if HAVE_SYS_SOCKET
10501 #include <sys/socket.h>
10505 if test "x$ac_cv_header_net_if_h" = xyes
; then :
10506 cat >>confdefs.h
<<_ACEOF
10507 #define HAVE_NET_IF_H 1
10514 for ac_func
in vprintf
10516 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
10517 if test "x$ac_cv_func_vprintf" = xyes
; then :
10518 cat >>confdefs.h
<<_ACEOF
10519 #define HAVE_VPRINTF 1
10522 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
10523 if test "x$ac_cv_func__doprnt" = xyes
; then :
10525 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10533 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#include <dirent.h>
10535 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
10537 $as_echo "#define HAVE_RECLEN_DIRENT 1" >>confdefs.h
10541 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
10542 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
10544 cat >>confdefs.h
<<_ACEOF
10545 #define HAVE_STRUCT_STAT_ST_ATIM 1
10551 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
10553 if test "x$ac_cv_type_ssize_t" = xyes
; then :
10555 $as_echo "#define HAVE_TYPE_SSIZE_T 1" >>confdefs.h
10559 ac_fn_c_check_decl
"$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
10561 if test "x$ac_cv_have_decl_llseek" = xyes
; then :
10563 $as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
10567 ac_fn_c_check_decl
"$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE
10568 #define _LARGEFILE64_SOURCE
10569 #include <unistd.h>
10571 if test "x$ac_cv_have_decl_lseek64" = xyes
; then :
10573 $as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
10577 # The cast to long int works around a bug in the HP C Compiler
10578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10580 # This bug is HP SR number 8606223364.
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
10582 $as_echo_n "checking size of short... " >&6; }
10583 if ${ac_cv_sizeof_short+:} false
; then :
10584 $as_echo_n "(cached) " >&6
10586 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
10589 if test "$ac_cv_type_short" = yes; then
10590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10592 as_fn_error
77 "cannot compute sizeof (short)
10593 See \`config.log' for more details" "$LINENO" 5; }
10595 ac_cv_sizeof_short
=0
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
10601 $as_echo "$ac_cv_sizeof_short" >&6; }
10605 cat >>confdefs.h
<<_ACEOF
10606 #define SIZEOF_SHORT $ac_cv_sizeof_short
10610 # The cast to long int works around a bug in the HP C Compiler
10611 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10612 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10613 # This bug is HP SR number 8606223364.
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
10615 $as_echo_n "checking size of int... " >&6; }
10616 if ${ac_cv_sizeof_int+:} false
; then :
10617 $as_echo_n "(cached) " >&6
10619 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
10622 if test "$ac_cv_type_int" = yes; then
10623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10625 as_fn_error
77 "cannot compute sizeof (int)
10626 See \`config.log' for more details" "$LINENO" 5; }
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
10634 $as_echo "$ac_cv_sizeof_int" >&6; }
10638 cat >>confdefs.h
<<_ACEOF
10639 #define SIZEOF_INT $ac_cv_sizeof_int
10643 # The cast to long int works around a bug in the HP C Compiler
10644 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10645 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10646 # This bug is HP SR number 8606223364.
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
10648 $as_echo_n "checking size of long... " >&6; }
10649 if ${ac_cv_sizeof_long+:} false
; then :
10650 $as_echo_n "(cached) " >&6
10652 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
10655 if test "$ac_cv_type_long" = yes; then
10656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10658 as_fn_error
77 "cannot compute sizeof (long)
10659 See \`config.log' for more details" "$LINENO" 5; }
10661 ac_cv_sizeof_long
=0
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
10667 $as_echo "$ac_cv_sizeof_long" >&6; }
10671 cat >>confdefs.h
<<_ACEOF
10672 #define SIZEOF_LONG $ac_cv_sizeof_long
10676 # The cast to long int works around a bug in the HP C Compiler
10677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10679 # This bug is HP SR number 8606223364.
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
10681 $as_echo_n "checking size of long long... " >&6; }
10682 if ${ac_cv_sizeof_long_long+:} false
; then :
10683 $as_echo_n "(cached) " >&6
10685 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
10688 if test "$ac_cv_type_long_long" = yes; then
10689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10691 as_fn_error
77 "cannot compute sizeof (long long)
10692 See \`config.log' for more details" "$LINENO" 5; }
10694 ac_cv_sizeof_long_long
=0
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
10700 $as_echo "$ac_cv_sizeof_long_long" >&6; }
10704 cat >>confdefs.h
<<_ACEOF
10705 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10709 # The cast to long int works around a bug in the HP C Compiler
10710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10712 # This bug is HP SR number 8606223364.
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
10714 $as_echo_n "checking size of off_t... " >&6; }
10715 if ${ac_cv_sizeof_off_t+:} false
; then :
10716 $as_echo_n "(cached) " >&6
10718 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
10721 if test "$ac_cv_type_off_t" = yes; then
10722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10724 as_fn_error
77 "cannot compute sizeof (off_t)
10725 See \`config.log' for more details" "$LINENO" 5; }
10727 ac_cv_sizeof_off_t
=0
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
10733 $as_echo "$ac_cv_sizeof_off_t" >&6; }
10737 cat >>confdefs.h
<<_ACEOF
10738 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
10742 # The cast to long int works around a bug in the HP C Compiler
10743 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10744 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10745 # This bug is HP SR number 8606223364.
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
10747 $as_echo_n "checking size of time_t... " >&6; }
10748 if ${ac_cv_sizeof_time_t+:} false
; then :
10749 $as_echo_n "(cached) " >&6
10751 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
10754 if test "$ac_cv_type_time_t" = yes; then
10755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10757 as_fn_error
77 "cannot compute sizeof (time_t)
10758 See \`config.log' for more details" "$LINENO" 5; }
10760 ac_cv_sizeof_time_t
=0
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
10766 $as_echo "$ac_cv_sizeof_time_t" >&6; }
10770 cat >>confdefs.h
<<_ACEOF
10771 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
10775 SIZEOF_SHORT
=$ac_cv_sizeof_short
10776 SIZEOF_INT
=$ac_cv_sizeof_int
10777 SIZEOF_LONG
=$ac_cv_sizeof_long
10778 SIZEOF_LONG_LONG
=$ac_cv_sizeof_long_long
10779 SIZEOF_OFF_T
=$ac_cv_sizeof_off_t
10780 SIZEOF_TIME_T
=$ac_cv_sizeof_time_t
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
10788 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
10789 if ${ac_cv_c_bigendian+:} false
; then :
10790 $as_echo_n "(cached) " >&6
10792 ac_cv_c_bigendian
=unknown
10793 # See if we're dealing with a universal compiler.
10794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10796 #ifndef __APPLE_CC__
10797 not a universal capable compiler
10802 if ac_fn_c_try_compile
"$LINENO"; then :
10804 # Check for potential -arch flags. It is not universal unless
10805 # there are at least two -arch flags with different values.
10808 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
10809 if test -n "$ac_prev"; then
10811 i?
86 | x86_64 | ppc | ppc64
)
10812 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
10815 ac_cv_c_bigendian
=universal
10821 elif test "x$ac_word" = "x-arch"; then
10826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10827 if test $ac_cv_c_bigendian = unknown
; then
10828 # See if sys/param.h defines the BYTE_ORDER macro.
10829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10831 #include <sys/types.h>
10832 #include <sys/param.h>
10837 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
10838 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
10840 bogus endian macros
10847 if ac_fn_c_try_compile
"$LINENO"; then :
10848 # It does; now see whether it defined to BIG_ENDIAN or not.
10849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851 #include <sys/types.h>
10852 #include <sys/param.h>
10857 #if BYTE_ORDER != BIG_ENDIAN
10865 if ac_fn_c_try_compile
"$LINENO"; then :
10866 ac_cv_c_bigendian
=yes
10868 ac_cv_c_bigendian
=no
10870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10874 if test $ac_cv_c_bigendian = unknown
; then
10875 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
10876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10878 #include <limits.h>
10883 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
10884 bogus endian macros
10891 if ac_fn_c_try_compile
"$LINENO"; then :
10892 # It does; now see whether it defined to _BIG_ENDIAN or not.
10893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10895 #include <limits.h>
10900 #ifndef _BIG_ENDIAN
10908 if ac_fn_c_try_compile
"$LINENO"; then :
10909 ac_cv_c_bigendian
=yes
10911 ac_cv_c_bigendian
=no
10913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10917 if test $ac_cv_c_bigendian = unknown
; then
10918 # Compile a test program.
10919 if test "$cross_compiling" = yes; then :
10920 # Try to guess by grepping values from an object file.
10921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10923 short int ascii_mm[] =
10924 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
10925 short int ascii_ii[] =
10926 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
10927 int use_ascii (int i) {
10928 return ascii_mm[i] + ascii_ii[i];
10930 short int ebcdic_ii[] =
10931 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
10932 short int ebcdic_mm[] =
10933 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
10934 int use_ebcdic (int i) {
10935 return ebcdic_mm[i] + ebcdic_ii[i];
10942 return use_ascii (foo) == use_ebcdic (foo);
10947 if ac_fn_c_try_compile
"$LINENO"; then :
10948 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
10949 ac_cv_c_bigendian
=yes
10951 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
10952 if test "$ac_cv_c_bigendian" = unknown
; then
10953 ac_cv_c_bigendian
=no
10955 # finding both strings is unlikely to happen, but who knows?
10956 ac_cv_c_bigendian
=unknown
10960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 $ac_includes_default
10969 /* Are we little or big endian? From Harbison&Steele. */
10973 char c[sizeof (long int)];
10976 return u.c[sizeof (long int) - 1] == 1;
10982 if ac_fn_c_try_run
"$LINENO"; then :
10983 ac_cv_c_bigendian
=no
10985 ac_cv_c_bigendian
=yes
10987 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10988 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
10994 $as_echo "$ac_cv_c_bigendian" >&6; }
10995 case $ac_cv_c_bigendian in #(
10997 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11003 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11007 as_fn_error $?
"unknown endianness
11008 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11011 if test $cross_compiling = no
; then
11012 BUILD_CC
="$BUILD_CC" CPP
="$CPP" /bin
/sh
$ac_aux_dir/parse-types.sh
11014 CROSS_COMPILE
="1" BUILD_CC
="$BUILD_CC" CPP
="$CPP" /bin
/sh
$ac_aux_dir/parse-types.sh
11016 ASM_TYPES_HEADER
=.
/asm_types.h
11018 echo "/* These defines are needed for the public ext2fs.h header file */" \
11020 if grep HAVE_SYS_TYPES_H confdefs.h
> tmp_config.$$
; then
11021 uniq tmp_config.$$
>> public_config.h
11023 echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
11025 if grep WORDS_BIGENDIAN confdefs.h
> tmp_config.$$
; then
11026 uniq tmp_config.$$
>> public_config.h
11028 echo "#undef WORDS_BIGENDIAN" >> public_config.h
11030 rm -f tmp_config.$$
11031 PUBLIC_CONFIG_HEADER
=.
/public_config.h
11033 for ac_header
in inttypes.h
11035 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
11036 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
11037 cat >>confdefs.h
<<_ACEOF
11038 #define HAVE_INTTYPES_H 1
11045 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
11046 if test "x$ac_cv_type_intptr_t" = xyes
; then :
11048 cat >>confdefs.h
<<_ACEOF
11049 #define HAVE_INTPTR_T 1
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat has a st_flags field" >&5
11056 $as_echo_n "checking whether struct stat has a st_flags field... " >&6; }
11057 if ${e2fsprogs_cv_struct_st_flags+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11062 #include <sys/stat.h>
11066 struct stat stat; stat.st_flags = 0;
11071 if ac_fn_c_try_compile
"$LINENO"; then :
11072 e2fsprogs_cv_struct_st_flags
=yes
11074 e2fsprogs_cv_struct_st_flags
=no
11076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags" >&5
11080 $as_echo "$e2fsprogs_cv_struct_st_flags" >&6; }
11081 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether st_flags field is useful" >&5
11083 $as_echo_n "checking whether st_flags field is useful... " >&6; }
11084 if ${e2fsprogs_cv_struct_st_flags_immut+:} false
; then :
11085 $as_echo_n "(cached) " >&6
11087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11089 #include <sys/stat.h>
11093 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
11098 if ac_fn_c_try_compile
"$LINENO"; then :
11099 e2fsprogs_cv_struct_st_flags_immut
=yes
11101 e2fsprogs_cv_struct_st_flags_immut
=no
11103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
11107 $as_echo "$e2fsprogs_cv_struct_st_flags_immut" >&6; }
11108 if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
11110 $as_echo "#define HAVE_STAT_FLAGS 1" >>confdefs.h
11114 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
11115 #include <sys/socket.h>
11117 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
11119 cat >>confdefs.h
<<_ACEOF
11120 #define HAVE_SA_LEN 1
11125 if test -n "$BLKID_CMT"; then
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_probe_get_topology in -lblkid" >&5
11127 $as_echo_n "checking for blkid_probe_get_topology in -lblkid... " >&6; }
11128 if ${ac_cv_lib_blkid_blkid_probe_get_topology+:} false
; then :
11129 $as_echo_n "(cached) " >&6
11131 ac_check_lib_save_LIBS
=$LIBS
11132 LIBS
="-lblkid $LIBS"
11133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11142 char blkid_probe_get_topology ();
11146 return blkid_probe_get_topology ();
11151 if ac_fn_c_try_link
"$LINENO"; then :
11152 ac_cv_lib_blkid_blkid_probe_get_topology
=yes
11154 ac_cv_lib_blkid_blkid_probe_get_topology
=no
11156 rm -f core conftest.err conftest.
$ac_objext \
11157 conftest
$ac_exeext conftest.
$ac_ext
11158 LIBS
=$ac_check_lib_save_LIBS
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_probe_get_topology" >&5
11161 $as_echo "$ac_cv_lib_blkid_blkid_probe_get_topology" >&6; }
11162 if test "x$ac_cv_lib_blkid_blkid_probe_get_topology" = xyes
; then :
11164 $as_echo "#define HAVE_BLKID_PROBE_GET_TOPOLOGY 1" >>confdefs.h
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_topology_get_dax in -lblkid" >&5
11169 $as_echo_n "checking for blkid_topology_get_dax in -lblkid... " >&6; }
11170 if ${ac_cv_lib_blkid_blkid_topology_get_dax+:} false
; then :
11171 $as_echo_n "(cached) " >&6
11173 ac_check_lib_save_LIBS
=$LIBS
11174 LIBS
="-lblkid $LIBS"
11175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11184 char blkid_topology_get_dax ();
11188 return blkid_topology_get_dax ();
11193 if ac_fn_c_try_link
"$LINENO"; then :
11194 ac_cv_lib_blkid_blkid_topology_get_dax
=yes
11196 ac_cv_lib_blkid_blkid_topology_get_dax
=no
11198 rm -f core conftest.err conftest.
$ac_objext \
11199 conftest
$ac_exeext conftest.
$ac_ext
11200 LIBS
=$ac_check_lib_save_LIBS
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_topology_get_dax" >&5
11203 $as_echo "$ac_cv_lib_blkid_blkid_topology_get_dax" >&6; }
11204 if test "x$ac_cv_lib_blkid_blkid_topology_get_dax" = xyes
; then :
11206 $as_echo "#define HAVE_BLKID_TOPOLOGY_GET_DAX 1" >>confdefs.h
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_probe_enable_partitions in -lblkid" >&5
11211 $as_echo_n "checking for blkid_probe_enable_partitions in -lblkid... " >&6; }
11212 if ${ac_cv_lib_blkid_blkid_probe_enable_partitions+:} false
; then :
11213 $as_echo_n "(cached) " >&6
11215 ac_check_lib_save_LIBS
=$LIBS
11216 LIBS
="-lblkid $LIBS"
11217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11218 /* end confdefs.h. */
11220 /* Override any GCC internal prototype to avoid an error.
11221 Use char because int might match the return type of a GCC
11222 builtin and then its argument prototype would still apply. */
11226 char blkid_probe_enable_partitions ();
11230 return blkid_probe_enable_partitions ();
11235 if ac_fn_c_try_link
"$LINENO"; then :
11236 ac_cv_lib_blkid_blkid_probe_enable_partitions
=yes
11238 ac_cv_lib_blkid_blkid_probe_enable_partitions
=no
11240 rm -f core conftest.err conftest.
$ac_objext \
11241 conftest
$ac_exeext conftest.
$ac_ext
11242 LIBS
=$ac_check_lib_save_LIBS
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_probe_enable_partitions" >&5
11245 $as_echo "$ac_cv_lib_blkid_blkid_probe_enable_partitions" >&6; }
11246 if test "x$ac_cv_lib_blkid_blkid_probe_enable_partitions" = xyes
; then :
11248 $as_echo "#define HAVE_BLKID_PROBE_ENABLE_PARTITIONS 1" >>confdefs.h
11253 if test -n "$DLOPEN_LIB" ; then
11254 ac_cv_func_dlopen
=yes
11256 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
11258 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11259 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11260 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11261 cat >>confdefs.h
<<_ACEOF
11262 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
11270 $as_echo_n "checking for socket in -lsocket... " >&6; }
11271 if ${ac_cv_lib_socket_socket+:} false
; then :
11272 $as_echo_n "(cached) " >&6
11274 ac_check_lib_save_LIBS
=$LIBS
11275 LIBS
="-lsocket $LIBS"
11276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11294 if ac_fn_c_try_link
"$LINENO"; then :
11295 ac_cv_lib_socket_socket
=yes
11297 ac_cv_lib_socket_socket
=no
11299 rm -f core conftest.err conftest.
$ac_objext \
11300 conftest
$ac_exeext conftest.
$ac_ext
11301 LIBS
=$ac_check_lib_save_LIBS
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
11304 $as_echo "$ac_cv_lib_socket_socket" >&6; }
11305 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
11306 SOCKET_LIB
=-lsocket
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
11311 $as_echo_n "checking for magic_file in -lmagic... " >&6; }
11312 if ${ac_cv_lib_magic_magic_file+:} false
; then :
11313 $as_echo_n "(cached) " >&6
11315 ac_check_lib_save_LIBS
=$LIBS
11316 LIBS
="-lmagic $LIBS"
11317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11318 /* end confdefs.h. */
11320 /* Override any GCC internal prototype to avoid an error.
11321 Use char because int might match the return type of a GCC
11322 builtin and then its argument prototype would still apply. */
11326 char magic_file ();
11330 return magic_file ();
11335 if ac_fn_c_try_link
"$LINENO"; then :
11336 ac_cv_lib_magic_magic_file
=yes
11338 ac_cv_lib_magic_magic_file
=no
11340 rm -f core conftest.err conftest.
$ac_objext \
11341 conftest
$ac_exeext conftest.
$ac_ext
11342 LIBS
=$ac_check_lib_save_LIBS
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
11345 $as_echo "$ac_cv_lib_magic_magic_file" >&6; }
11346 if test "x$ac_cv_lib_magic_magic_file" = xyes
; then :
11348 for ac_header
in magic.h
11350 ac_fn_c_check_header_mongrel
"$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
11351 if test "x$ac_cv_header_magic_h" = xyes
; then :
11352 cat >>confdefs.h
<<_ACEOF
11353 #define HAVE_MAGIC_H 1
11362 if test "$ac_cv_func_dlopen" = yes ; then
11363 MAGIC_LIB
=$DLOPEN_LIB
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
11367 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
11368 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
11369 $as_echo_n "(cached) " >&6
11371 ac_check_lib_save_LIBS
=$LIBS
11373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11382 char clock_gettime ();
11386 return clock_gettime ();
11391 if ac_fn_c_try_link
"$LINENO"; then :
11392 ac_cv_lib_rt_clock_gettime
=yes
11394 ac_cv_lib_rt_clock_gettime
=no
11396 rm -f core conftest.err conftest.
$ac_objext \
11397 conftest
$ac_exeext conftest.
$ac_ext
11398 LIBS
=$ac_check_lib_save_LIBS
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
11401 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
11402 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
11403 CLOCK_GETTIME_LIB
=-lrt
11409 # Check whether --enable-fuse2fs was given.
11410 if test "${enable_fuse2fs+set}" = set; then :
11411 enableval
=$enable_fuse2fs; if test "$enableval" = "no"
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling fuse2fs" >&5
11415 $as_echo "Disabling fuse2fs" >&6; }
11417 for ac_header
in pthread.h fuse.h
11419 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11420 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
11421 #define FUSE_USE_VERSION 29
11423 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11424 cat >>confdefs.h
<<_ACEOF
11425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11431 as_fn_error $?
"Cannot find fuse2fs headers.
11432 See \`config.log' for more details" "$LINENO" 5; }
11438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11440 #define FUSE_USE_VERSION 29
11442 #include <linux/fs.h>
11443 #include <linux/falloc.h>
11444 #include <linux/xattr.h>
11455 if ac_fn_c_try_cpp
"$LINENO"; then :
11458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11460 as_fn_error $?
"Cannot find fuse2fs Linux headers.
11461 See \`config.log' for more details" "$LINENO" 5; }
11463 rm -f conftest.err conftest.i conftest.
$ac_ext
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
11466 $as_echo_n "checking for fuse_main in -losxfuse... " >&6; }
11467 if ${ac_cv_lib_osxfuse_fuse_main+:} false
; then :
11468 $as_echo_n "(cached) " >&6
11470 ac_check_lib_save_LIBS
=$LIBS
11471 LIBS
="-losxfuse $LIBS"
11472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11475 /* Override any GCC internal prototype to avoid an error.
11476 Use char because int might match the return type of a GCC
11477 builtin and then its argument prototype would still apply. */
11485 return fuse_main ();
11490 if ac_fn_c_try_link
"$LINENO"; then :
11491 ac_cv_lib_osxfuse_fuse_main
=yes
11493 ac_cv_lib_osxfuse_fuse_main
=no
11495 rm -f core conftest.err conftest.
$ac_objext \
11496 conftest
$ac_exeext conftest.
$ac_ext
11497 LIBS
=$ac_check_lib_save_LIBS
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
11500 $as_echo "$ac_cv_lib_osxfuse_fuse_main" >&6; }
11501 if test "x$ac_cv_lib_osxfuse_fuse_main" = xyes
; then :
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
11505 $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
11506 if ${ac_cv_lib_fuse_fuse_main+:} false
; then :
11507 $as_echo_n "(cached) " >&6
11509 ac_check_lib_save_LIBS
=$LIBS
11510 LIBS
="-lfuse $LIBS"
11511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11514 /* Override any GCC internal prototype to avoid an error.
11515 Use char because int might match the return type of a GCC
11516 builtin and then its argument prototype would still apply. */
11524 return fuse_main ();
11529 if ac_fn_c_try_link
"$LINENO"; then :
11530 ac_cv_lib_fuse_fuse_main
=yes
11532 ac_cv_lib_fuse_fuse_main
=no
11534 rm -f core conftest.err conftest.
$ac_objext \
11535 conftest
$ac_exeext conftest.
$ac_ext
11536 LIBS
=$ac_check_lib_save_LIBS
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
11539 $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
11540 if test "x$ac_cv_lib_fuse_fuse_main" = xyes
; then :
11543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11545 as_fn_error $?
"Cannot find fuse library.
11546 See \`config.log' for more details" "$LINENO" 5; }
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs" >&5
11552 $as_echo "Enabling fuse2fs" >&6; }
11556 for ac_header
in pthread.h fuse.h
11558 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11559 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
11560 #define FUSE_USE_VERSION 29
11562 # include <linux/fs.h>
11563 # include <linux/falloc.h>
11564 # include <linux/xattr.h>
11567 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11568 cat >>confdefs.h
<<_ACEOF
11569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11578 if test -z "$FUSE_CMT"
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
11581 $as_echo_n "checking for fuse_main in -losxfuse... " >&6; }
11582 if ${ac_cv_lib_osxfuse_fuse_main+:} false
; then :
11583 $as_echo_n "(cached) " >&6
11585 ac_check_lib_save_LIBS
=$LIBS
11586 LIBS
="-losxfuse $LIBS"
11587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11600 return fuse_main ();
11605 if ac_fn_c_try_link
"$LINENO"; then :
11606 ac_cv_lib_osxfuse_fuse_main
=yes
11608 ac_cv_lib_osxfuse_fuse_main
=no
11610 rm -f core conftest.err conftest.
$ac_objext \
11611 conftest
$ac_exeext conftest.
$ac_ext
11612 LIBS
=$ac_check_lib_save_LIBS
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
11615 $as_echo "$ac_cv_lib_osxfuse_fuse_main" >&6; }
11616 if test "x$ac_cv_lib_osxfuse_fuse_main" = xyes
; then :
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
11620 $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
11621 if ${ac_cv_lib_fuse_fuse_main+:} false
; then :
11622 $as_echo_n "(cached) " >&6
11624 ac_check_lib_save_LIBS
=$LIBS
11625 LIBS
="-lfuse $LIBS"
11626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11639 return fuse_main ();
11644 if ac_fn_c_try_link
"$LINENO"; then :
11645 ac_cv_lib_fuse_fuse_main
=yes
11647 ac_cv_lib_fuse_fuse_main
=no
11649 rm -f core conftest.err conftest.
$ac_objext \
11650 conftest
$ac_exeext conftest.
$ac_ext
11651 LIBS
=$ac_check_lib_save_LIBS
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
11654 $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
11655 if test "x$ac_cv_lib_fuse_fuse_main" = xyes
; then :
11664 if test -z "$FUSE_CMT"
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs by default." >&5
11667 $as_echo "Enabling fuse2fs by default." >&6; }
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optreset" >&5
11675 $as_echo_n "checking for optreset... " >&6; }
11676 if ${ac_cv_have_optreset+:} false
; then :
11677 $as_echo_n "(cached) " >&6
11679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11681 #include <unistd.h>
11684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11685 $EGREP "optreset" >/dev
/null
2>&1; then :
11686 ac_cv_have_optreset
=yes
11688 ac_cv_have_optreset
=no
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_optreset" >&5
11694 $as_echo "$ac_cv_have_optreset" >&6; }
11695 if test $ac_cv_have_optreset = yes; then
11697 $as_echo "#define HAVE_OPTRESET 1" >>confdefs.h
11702 echo GL_THREADS_API
: ${gl_threads_api}
11703 if test "${gl_threads_api}" != none
11705 ac_fn_c_check_func
"$LINENO" "sem_init" "ac_cv_func_sem_init"
11706 if test "x$ac_cv_func_sem_init" = xyes
; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
11710 $as_echo_n "checking for sem_init in -lpthread... " >&6; }
11711 if ${ac_cv_lib_pthread_sem_init+:} false
; then :
11712 $as_echo_n "(cached) " >&6
11714 ac_check_lib_save_LIBS
=$LIBS
11715 LIBS
="-lpthread $LIBS"
11716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11729 return sem_init ();
11734 if ac_fn_c_try_link
"$LINENO"; then :
11735 ac_cv_lib_pthread_sem_init
=yes
11737 ac_cv_lib_pthread_sem_init
=no
11739 rm -f core conftest.err conftest.
$ac_objext \
11740 conftest
$ac_exeext conftest.
$ac_ext
11741 LIBS
=$ac_check_lib_save_LIBS
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sem_init" >&5
11744 $as_echo "$ac_cv_lib_pthread_sem_init" >&6; }
11745 if test "x$ac_cv_lib_pthread_sem_init" = xyes
; then :
11746 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11748 SEM_INIT_LIB
=-lpthread
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
11751 $as_echo_n "checking for sem_init in -lrt... " >&6; }
11752 if ${ac_cv_lib_rt_sem_init+:} false
; then :
11753 $as_echo_n "(cached) " >&6
11755 ac_check_lib_save_LIBS
=$LIBS
11757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11770 return sem_init ();
11775 if ac_fn_c_try_link
"$LINENO"; then :
11776 ac_cv_lib_rt_sem_init
=yes
11778 ac_cv_lib_rt_sem_init
=no
11780 rm -f core conftest.err conftest.
$ac_objext \
11781 conftest
$ac_exeext conftest.
$ac_ext
11782 LIBS
=$ac_check_lib_save_LIBS
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
11785 $as_echo "$ac_cv_lib_rt_sem_init" >&6; }
11786 if test "x$ac_cv_lib_rt_sem_init" = xyes
; then :
11787 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lposix4" >&5
11792 $as_echo_n "checking for sem_init in -lposix4... " >&6; }
11793 if ${ac_cv_lib_posix4_sem_init+:} false
; then :
11794 $as_echo_n "(cached) " >&6
11796 ac_check_lib_save_LIBS
=$LIBS
11797 LIBS
="-lposix4 $LIBS"
11798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11811 return sem_init ();
11816 if ac_fn_c_try_link
"$LINENO"; then :
11817 ac_cv_lib_posix4_sem_init
=yes
11819 ac_cv_lib_posix4_sem_init
=no
11821 rm -f core conftest.err conftest.
$ac_objext \
11822 conftest
$ac_exeext conftest.
$ac_ext
11823 LIBS
=$ac_check_lib_save_LIBS
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sem_init" >&5
11826 $as_echo "$ac_cv_lib_posix4_sem_init" >&6; }
11827 if test "x$ac_cv_lib_posix4_sem_init" = xyes
; then :
11828 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11830 SEM_INIT_LIB
=-lposix4
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unified diff option" >&5
11841 $as_echo_n "checking for unified diff option... " >&6; }
11842 if diff -u $0 $0 > /dev
/null
2>&1 ; then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNI_DIFF_OPTS" >&5
11848 $as_echo "$UNI_DIFF_OPTS" >&6; }
11853 $as_echo "#define HAVE_EXT2_IOCTLS 1" >>confdefs.h
11858 $as_echo_n "checking for mount 'nosuid' option... "
11859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11861 #include <sys/mount.h>
11865 void *temp = (void *)(MS_NOSUID); (void) temp;
11870 if ac_fn_c_try_compile
"$LINENO"; then :
11872 $as_echo "#define HAVE_MOUNT_NOSUID 1" >>confdefs.h
11874 ac_cv_mount_nosuid
=yes
11877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11879 #include <sys/mount.h>
11883 void *temp = (void *)(MNT_NOSUID); (void) temp;
11888 if ac_fn_c_try_compile
"$LINENO"; then :
11890 $as_echo "#define HAVE_MOUNT_NOSUID 1" >>confdefs.h
11892 ac_cv_mount_nosuid
=yes
11895 ac_cv_mount_nosuid
=no
11899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11905 $as_echo_n "checking for mount 'nodev' option... "
11906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11908 #include <sys/mount.h>
11912 void *temp = (void *)(MS_NODEV); (void) temp;
11917 if ac_fn_c_try_compile
"$LINENO"; then :
11919 $as_echo "#define HAVE_MOUNT_NODEV 1" >>confdefs.h
11921 ac_cv_mount_nodev
=yes
11924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #include <sys/mount.h>
11930 void *temp = (void *)(MNT_NODEV); (void) temp;
11935 if ac_fn_c_try_compile
"$LINENO"; then :
11937 $as_echo "#define HAVE_MOUNT_NODEV 1" >>confdefs.h
11939 ac_cv_mount_nodev
=yes
11942 ac_cv_mount_nodev
=no
11946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11951 # Check whether --enable-lto was given.
11952 if test "${enable_lto+set}" = set; then :
11953 enableval
=$enable_lto;
11958 if test "$enable_lto" = "yes" ||
test "$enable_lto" = "probe"; then
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler supports LTO" >&5
11960 $as_echo_n "checking if C compiler supports LTO... " >&6; }
11961 OLD_CFLAGS
="$CFLAGS"
11962 OLD_LDFLAGS
="$LDFLAGS"
11963 LTO_FLAGS
="-g -flto -ffat-lto-objects"
11964 CFLAGS
="$CFLAGS $LTO_FLAGS"
11965 LDFLAGS
="$LDFLAGS $LTO_FLAGS"
11966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11977 if ac_fn_c_try_link
"$LINENO"; then :
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11979 $as_echo "yes" >&6; }
11980 lto_cflags
=$LTO_FLAGS
11981 lto_ldflags
=$LTO_FLAGS
11982 # Extract the first word of "gcc-ar", so it can be a program name with args.
11983 set dummy gcc-ar
; ac_word
=$2
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11985 $as_echo_n "checking for $ac_word... " >&6; }
11986 if ${ac_cv_path_gcc_ar+:} false
; then :
11987 $as_echo_n "(cached) " >&6
11991 ac_cv_path_gcc_ar
="$gcc_ar" # Let the user override the test with a path.
11994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11995 for as_dir
in $PATH
11998 test -z "$as_dir" && as_dir
=.
11999 for ac_exec_ext
in '' $ac_executable_extensions; do
12000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12001 ac_cv_path_gcc_ar
="$as_dir/$ac_word$ac_exec_ext"
12002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12012 gcc_ar
=$ac_cv_path_gcc_ar
12013 if test -n "$gcc_ar"; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_ar" >&5
12015 $as_echo "$gcc_ar" >&6; }
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12018 $as_echo "no" >&6; }
12022 # Extract the first word of "gcc-ranlib", so it can be a program name with args.
12023 set dummy gcc-ranlib
; ac_word
=$2
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12025 $as_echo_n "checking for $ac_word... " >&6; }
12026 if ${ac_cv_path_gcc_ranlib+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 case $gcc_ranlib in
12031 ac_cv_path_gcc_ranlib
="$gcc_ranlib" # Let the user override the test with a path.
12034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12035 for as_dir
in $PATH
12038 test -z "$as_dir" && as_dir
=.
12039 for ac_exec_ext
in '' $ac_executable_extensions; do
12040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12041 ac_cv_path_gcc_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12052 gcc_ranlib
=$ac_cv_path_gcc_ranlib
12053 if test -n "$gcc_ranlib"; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_ranlib" >&5
12055 $as_echo "$gcc_ranlib" >&6; }
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12064 $as_echo "no" >&6; }
12066 rm -f core conftest.err conftest.
$ac_objext \
12067 conftest
$ac_exeext conftest.
$ac_ext
12068 if test -x "$gcc_ar" && test -x "$gcc_ranlib"; then
12071 RANLIB
="${gcc_ranlib}"
12073 CFLAGS
="${OLD_CFLAGS}"
12074 LDFLAGS
="${OLD_LDFLAGS}"
12079 if test "$enable_lto" = "yes" && test "$have_lto" != "yes"; then
12080 as_fn_error $?
"LTO not supported by compiler." "$LINENO" 5
12082 # Check whether --enable-ubsan was given.
12083 if test "${enable_ubsan+set}" = set; then :
12084 enableval
=$enable_ubsan;
12089 if test "$enable_ubsan" = "yes" ||
test "$enable_ubsan" = "probe"; then
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler supports UBSAN" >&5
12091 $as_echo_n "checking if C compiler supports UBSAN... " >&6; }
12092 OLD_CFLAGS
="$CFLAGS"
12093 OLD_LDFLAGS
="$LDFLAGS"
12094 UBSAN_FLAGS
="-fsanitize=undefined"
12095 CFLAGS
="$CFLAGS $UBSAN_FLAGS"
12096 LDFLAGS
="$LDFLAGS $UBSAN_FLAGS"
12097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12108 if ac_fn_c_try_link
"$LINENO"; then :
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12110 $as_echo "yes" >&6; }
12111 ubsan_cflags
=$UBSAN_FLAGS
12112 ubsan_ldflags
=$UBSAN_FLAGS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12116 $as_echo "no" >&6; }
12118 rm -f core conftest.err conftest.
$ac_objext \
12119 conftest
$ac_exeext conftest.
$ac_ext
12120 CFLAGS
="${OLD_CFLAGS}"
12121 LDFLAGS
="${OLD_LDFLAGS}"
12126 if test "$enable_ubsan" = "yes" && test "$have_ubsan" != "yes"; then
12127 as_fn_error $?
"UBSAN not supported by compiler." "$LINENO" 5
12129 # Check whether --enable-addrsan was given.
12130 if test "${enable_addrsan+set}" = set; then :
12131 enableval
=$enable_addrsan;
12136 if test "$enable_addrsan" = "yes" ||
test "$enable_addrsan" = "probe"; then
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler supports ADDRSAN" >&5
12138 $as_echo_n "checking if C compiler supports ADDRSAN... " >&6; }
12139 OLD_CFLAGS
="$CFLAGS"
12140 OLD_LDFLAGS
="$LDFLAGS"
12141 ADDRSAN_FLAGS
="-fsanitize=address"
12142 CFLAGS
="$CFLAGS $ADDRSAN_FLAGS"
12143 LDFLAGS
="$LDFLAGS $ADDRSAN_FLAGS"
12144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12155 if ac_fn_c_try_link
"$LINENO"; then :
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12157 $as_echo "yes" >&6; }
12158 addrsan_cflags
=$ADDRSAN_FLAGS
12159 addrsan_ldflags
=$ADDRSAN_FLAGS
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12165 rm -f core conftest.err conftest.
$ac_objext \
12166 conftest
$ac_exeext conftest.
$ac_ext
12167 CFLAGS
="${OLD_CFLAGS}"
12168 LDFLAGS
="${OLD_LDFLAGS}"
12173 if test "$enable_addrsan" = "yes" && test "$have_addrsan" != "yes"; then
12174 as_fn_error $?
"ADDRSAN not supported by compiler." "$LINENO" 5
12176 # Check whether --enable-threadsan was given.
12177 if test "${enable_threadsan+set}" = set; then :
12178 enableval
=$enable_threadsan;
12180 enable_threadsan
=no
12183 if test "$enable_threadsan" = "yes" ||
test "$enable_threadsan" = "probe"; then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler supports THREADSAN" >&5
12185 $as_echo_n "checking if C compiler supports THREADSAN... " >&6; }
12186 OLD_CFLAGS
="$CFLAGS"
12187 OLD_LDFLAGS
="$LDFLAGS"
12188 THREADSAN_FLAGS
="-fsanitize=thread"
12189 CFLAGS
="$CFLAGS $THREADSAN_FLAGS"
12190 LDFLAGS
="$LDFLAGS $THREADSAN_FLAGS"
12191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12202 if ac_fn_c_try_link
"$LINENO"; then :
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12204 $as_echo "yes" >&6; }
12205 threadsan_cflags
=$THREADSAN_FLAGS
12206 threadsan_ldflags
=$THREADSAN_FLAGS
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12212 rm -f core conftest.err conftest.
$ac_objext \
12213 conftest
$ac_exeext conftest.
$ac_ext
12214 CFLAGS
="${OLD_CFLAGS}"
12215 LDFLAGS
="${OLD_LDFLAGS}"
12220 if test "$enable_threadsan" = "yes" && test "$have_threadsan" != "yes"; then
12221 as_fn_error $?
"THREADSAN not supported by compiler." "$LINENO" 5
12223 if test "$have_threadsan" = "yes" && test "$have_addrsan" = "yes"; then
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ADDRSAN and THREADSAN are not known to work together." >&5
12225 $as_echo "$as_me: WARNING: ADDRSAN and THREADSAN are not known to work together." >&2;}
12242 E2SCRUB_CMT
="$LINUX_CMT"
12245 linux
* | gnu
* | k
*bsd
*-gnu)
12246 if test "$prefix" = NONE
-a "$root_prefix" = NONE
; then
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, root_prefix defaults to ''" >&5
12249 $as_echo "On $host_os systems, root_prefix defaults to ''" >&6; }
12254 linux
* | gnu
* | k
*bsd
*-gnu)
12255 if test "$prefix" = NONE
; then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to /usr" >&5
12258 $as_echo "On $host_os systems, prefix defaults to /usr" >&6; }
12259 if test "$mandir" = '${prefix}/man' ; then
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...and mandir defaults to /usr/share/man" >&5
12261 $as_echo "...and mandir defaults to /usr/share/man" >&6; }
12262 mandir
=/usr
/share
/man
12267 if test "$root_prefix" = NONE
; then
12268 if test "$prefix" = NONE
; then
12269 root_prefix
="$ac_default_prefix"
12271 root_prefix
="$prefix"
12273 root_bindir
=$bindir
12274 root_sbindir
=$sbindir
12275 root_libdir
=$libdir
12276 root_sysconfdir
=$sysconfdir
12278 root_bindir
='${root_prefix}/bin'
12279 root_sbindir
='${root_prefix}/sbin'
12280 root_libdir
='${root_prefix}/lib'
12281 root_sysconfdir
='${root_prefix}/etc'
12283 if test "$bindir" != '${exec_prefix}/bin'; then
12284 root_bindir
=$bindir
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_bindir to $root_bindir" >&5
12286 $as_echo "Setting root_bindir to $root_bindir" >&6; }
12288 if test "$sbindir" != '${exec_prefix}/sbin'; then
12289 root_sbindir
=$sbindir
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sbindir to $root_sbindir" >&5
12291 $as_echo "Setting root_sbindir to $root_sbindir" >&6; }
12293 if test "$libdir" != '${exec_prefix}/lib'; then
12294 root_libdir
=$libdir
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_libdir to $root_libdir" >&5
12296 $as_echo "Setting root_libdir to $root_libdir" >&6; }
12298 if test "$sysconfdir" != '${prefix}/etc'; then
12299 root_sysconfdir
=$sysconfdir
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sysconfdir to $root_sysconfdir" >&5
12301 $as_echo "Setting root_sysconfdir to $root_sysconfdir" >&6; }
12309 # Check whether --with-multiarch was given.
12310 if test "${with_multiarch+set}" = set; then :
12311 withval
=$with_multiarch; if test "$withval" = "lib64"; then
12315 libdir
=$libdir/$withval
12316 root_libdir
=$root_libdir/$withval
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link with -static" >&5
12322 $as_echo_n "checking whether we can link with -static... " >&6; }
12323 if ${ac_cv_e2fsprogs_use_static+:} false
; then :
12324 $as_echo_n "(cached) " >&6
12326 SAVE_LDFLAGS
=$LDFLAGS; LDFLAGS
="$LDFLAGS_STATIC -static"
12327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12338 if ac_fn_c_try_link
"$LINENO"; then :
12339 ac_cv_e2fsprogs_use_static
=yes
12341 ac_cv_e2fsprogs_use_static
=no
12343 rm -f core conftest.err conftest.
$ac_objext \
12344 conftest
$ac_exeext conftest.
$ac_ext
12345 LDFLAGS
=$SAVE_LDFLAGS
12350 ac_cv_e2fsprogs_use_static
=no
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_e2fsprogs_use_static" >&5
12354 $as_echo "$ac_cv_e2fsprogs_use_static" >&6; }
12355 if test $ac_cv_e2fsprogs_use_static = yes; then
12356 LDFLAGS_STATIC
="$LDFLAGS_STATIC -static"
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Apple Darwin / GNU libintl workaround" >&5
12362 $as_echo "Using Apple Darwin / GNU libintl workaround" >&6; }
12364 $as_echo "#define _INTL_REDIRECT_MACROS 1" >>confdefs.h
12368 if test "$cross_compiling" = yes ; then
12371 DO_TEST_SUITE
=check
12374 INCLUDES
='-I. -I$(top_builddir)/lib -I$(top_srcdir)/lib'
12375 if test -n "$CPPFLAGS" ; then
12376 INCLUDES
="$INCLUDES $CPPFLAGS"
12378 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
12379 INCLUDES
=$INCLUDES' -I$(top_builddir)/intl -I$(top_srcdir)/intl'
12381 if test -n "$WITH_DIET_LIBC" ; then
12382 INCLUDES
="$INCLUDES -D_REENTRANT"
12385 if test $cross_compiling = no
; then
12386 BUILD_CFLAGS
="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
12387 BUILD_LDFLAGS
="$LDFLAGS"
12391 CFLAGS_SHLIB
=${CFLAGS_SHLIB:-$CFLAGS}
12392 CFLAGS_STLIB
=${CFLAGS_STLIB:-$CFLAGS}
12393 LDFLAGS_SHLIB
=${LDFLAGS_SHLIB:-$LDFLAGS}
12399 # Check whether --with-udev_rules_dir was given.
12400 if test "${with_udev_rules_dir+set}" = set; then :
12401 withval
=$with_udev_rules_dir;
12403 with_udev_rules_dir
=yes
12406 if test "x${with_udev_rules_dir}" != "xno"; then :
12408 if test "x${with_udev_rules_dir}" = "xyes"; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev" >&5
12413 $as_echo_n "checking for udev... " >&6; }
12415 if test -n "$udev_CFLAGS"; then
12416 pkg_cv_udev_CFLAGS
="$udev_CFLAGS"
12417 elif test -n "$PKG_CONFIG"; then
12418 if test -n "$PKG_CONFIG" && \
12419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udev\""; } >&5
12420 ($PKG_CONFIG --exists --print-errors "udev") 2>&5
12422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12423 test $ac_status = 0; }; then
12424 pkg_cv_udev_CFLAGS
=`$PKG_CONFIG --cflags "udev" 2>/dev/null`
12425 test "x$?" != "x0" && pkg_failed
=yes
12432 if test -n "$udev_LIBS"; then
12433 pkg_cv_udev_LIBS
="$udev_LIBS"
12434 elif test -n "$PKG_CONFIG"; then
12435 if test -n "$PKG_CONFIG" && \
12436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udev\""; } >&5
12437 ($PKG_CONFIG --exists --print-errors "udev") 2>&5
12439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12440 test $ac_status = 0; }; then
12441 pkg_cv_udev_LIBS
=`$PKG_CONFIG --libs "udev" 2>/dev/null`
12442 test "x$?" != "x0" && pkg_failed
=yes
12452 if test $pkg_failed = yes; then
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12454 $as_echo "no" >&6; }
12456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12457 _pkg_short_errors_supported
=yes
12459 _pkg_short_errors_supported
=no
12461 if test $_pkg_short_errors_supported = yes; then
12462 udev_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "udev" 2>&1`
12464 udev_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "udev" 2>&1`
12466 # Put the nasty error message in config.log where it belongs
12467 echo "$udev_PKG_ERRORS" >&5
12470 with_udev_rules_dir
=""
12472 elif test $pkg_failed = untried
; then
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12474 $as_echo "no" >&6; }
12476 with_udev_rules_dir
=""
12479 udev_CFLAGS
=$pkg_cv_udev_CFLAGS
12480 udev_LIBS
=$pkg_cv_udev_LIBS
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12482 $as_echo "yes" >&6; }
12484 with_udev_rules_dir
="$($PKG_CONFIG --variable=udevdir udev)/rules.d"
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev rules dir" >&5
12490 $as_echo_n "checking for udev rules dir... " >&6; }
12491 pkg_udev_rules_dir
="${with_udev_rules_dir}"
12492 if test -n "${pkg_udev_rules_dir}"; then :
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${pkg_udev_rules_dir}" >&5
12495 $as_echo "${pkg_udev_rules_dir}" >&6; }
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12501 $as_echo "no" >&6; }
12508 have_udev
="disabled"
12515 # Check whether --with-crond_dir was given.
12516 if test "${with_crond_dir+set}" = set; then :
12517 withval
=$with_crond_dir;
12522 if test "x${with_crond_dir}" != "xno"; then :
12524 if test "x${with_crond_dir}" = "xyes"; then :
12526 if test -d "/etc/cron.d"; then :
12527 with_crond_dir
="/etc/cron.d"
12529 have_crond
="no"; with_crond_dir
=""
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system crontab dir" >&5
12534 $as_echo_n "checking for system crontab dir... " >&6; }
12535 crond_dir
="${with_crond_dir}"
12536 if test -n "${crond_dir}"; then :
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${crond_dir}" >&5
12539 $as_echo "${crond_dir}" >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545 $as_echo "no" >&6; }
12552 have_crond
="disabled"
12559 # Check whether --with-systemd_unit_dir was given.
12560 if test "${with_systemd_unit_dir+set}" = set; then :
12561 withval
=$with_systemd_unit_dir;
12563 with_systemd_unit_dir
=yes
12566 if test "x${with_systemd_unit_dir}" != "xno"; then :
12568 if test "x${with_systemd_unit_dir}" = "xyes"; then :
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd" >&5
12573 $as_echo_n "checking for systemd... " >&6; }
12575 if test -n "$systemd_CFLAGS"; then
12576 pkg_cv_systemd_CFLAGS
="$systemd_CFLAGS"
12577 elif test -n "$PKG_CONFIG"; then
12578 if test -n "$PKG_CONFIG" && \
12579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
12580 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
12582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12583 test $ac_status = 0; }; then
12584 pkg_cv_systemd_CFLAGS
=`$PKG_CONFIG --cflags "systemd" 2>/dev/null`
12585 test "x$?" != "x0" && pkg_failed
=yes
12592 if test -n "$systemd_LIBS"; then
12593 pkg_cv_systemd_LIBS
="$systemd_LIBS"
12594 elif test -n "$PKG_CONFIG"; then
12595 if test -n "$PKG_CONFIG" && \
12596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
12597 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
12599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12600 test $ac_status = 0; }; then
12601 pkg_cv_systemd_LIBS
=`$PKG_CONFIG --libs "systemd" 2>/dev/null`
12602 test "x$?" != "x0" && pkg_failed
=yes
12612 if test $pkg_failed = yes; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12614 $as_echo "no" >&6; }
12616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12617 _pkg_short_errors_supported
=yes
12619 _pkg_short_errors_supported
=no
12621 if test $_pkg_short_errors_supported = yes; then
12622 systemd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "systemd" 2>&1`
12624 systemd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "systemd" 2>&1`
12626 # Put the nasty error message in config.log where it belongs
12627 echo "$systemd_PKG_ERRORS" >&5
12630 with_systemd_unit_dir
=""
12632 elif test $pkg_failed = untried
; then
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12636 with_systemd_unit_dir
=""
12639 systemd_CFLAGS
=$pkg_cv_systemd_CFLAGS
12640 systemd_LIBS
=$pkg_cv_systemd_LIBS
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12642 $as_echo "yes" >&6; }
12644 with_systemd_unit_dir
="$($PKG_CONFIG --variable=systemdsystemunitdir systemd)"
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd system unit dir" >&5
12651 $as_echo_n "checking for systemd system unit dir... " >&6; }
12652 systemd_system_unit_dir
="${with_systemd_unit_dir}"
12653 if test -n "${systemd_system_unit_dir}"; then :
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${systemd_system_unit_dir}" >&5
12656 $as_echo "${systemd_system_unit_dir}" >&6; }
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12662 $as_echo "no" >&6; }
12669 have_systemd
="disabled"
12675 test -d lib || mkdir lib
12676 test -d include || mkdir include
12677 test -d include
/linux || mkdir include
/linux
12678 test -d include
/asm || mkdir include
/asm
12679 if test -z "$UUID_CMT" ; then
12680 uuid_out_list
="lib/uuid/Makefile lib/uuid/uuid.pc \
12681 lib/uuid/uuid_types.h"
12683 if test -z "$BLKID_CMT" ; then
12684 blkid_out_list
="lib/blkid/Makefile lib/blkid/blkid.pc \
12685 lib/blkid/blkid_types.h"
12687 for i
in MCONFIG Makefile \
12688 util
/Makefile util
/subst.conf util
/gen-tarball util
/install-symlink \
12689 lib
/et
/Makefile lib
/ss
/Makefile lib
/e2p
/Makefile \
12690 lib
/ext2fs
/Makefile lib
/ext2fs
/ext2_types.h \
12691 $uuid_out_list $blkid_out_list lib
/support
/Makefile \
12692 lib
/ss
/ss.pc lib
/et
/com_err.pc lib
/e2p
/e2p.pc lib
/ext2fs
/ext2fs.pc \
12693 misc
/Makefile ext2ed
/Makefile e2fsck
/Makefile \
12694 debugfs
/Makefile
tests
/Makefile
tests
/progs
/Makefile \
12695 resize
/Makefile
doc
/Makefile po
/Makefile.
in scrub
/Makefile
; do
12696 if test -d `dirname ${srcdir}/$i` ; then
12697 outlist
="$outlist $i"
12700 ac_config_files
="$ac_config_files $outlist"
12702 cat >confcache
<<\_ACEOF
12703 # This file is a shell script that caches the results of configure
12704 # tests run on this system so they can be shared between configure
12705 # scripts and configure runs, see configure's option --config-cache.
12706 # It is not useful on other systems. If it contains results you don't
12707 # want to keep, you may remove or edit it.
12709 # config.status only pays attention to the cache file if you give it
12710 # the --recheck option to rerun configure.
12712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12714 # following values.
12718 # The following way of writing the cache mishandles newlines in values,
12719 # but we know of no workaround that is simple, portable, and efficient.
12720 # So, we kill variables containing newlines.
12721 # Ultrix sh set writes to stderr and can't be redirected directly,
12722 # and sets the high bit in the cache file unless we assign to the vars.
12724 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12725 eval ac_val
=\$
$ac_var
12729 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12730 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12733 _ | IFS | as_nl
) ;; #(
12734 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12735 *) { eval $ac_var=; unset $ac_var;} ;;
12741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12742 *${as_nl}ac_space
=\
*)
12743 # `set' does not quote correctly, so add quotes: double-quote
12744 # substitution turns \\\\ into \\, and sed turns \\ into \.
12747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12750 # `set' quotes correctly as required by POSIX, so do not add quotes.
12751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12764 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12765 if test -w "$cache_file"; then
12766 if test "x$cache_file" != "x/dev/null"; then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12768 $as_echo "$as_me: updating cache $cache_file" >&6;}
12769 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12770 cat confcache
>"$cache_file"
12772 case $cache_file in #(
12774 mv -f confcache
"$cache_file"$$
&&
12775 mv -f "$cache_file"$$
"$cache_file" ;; #(
12777 mv -f confcache
"$cache_file" ;;
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12783 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12788 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12789 # Let make expand exec_prefix.
12790 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12792 DEFS
=-DHAVE_CONFIG_H
12797 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12798 # 1. Remove the extension, and $U if already installed.
12799 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12800 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12801 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12802 # will be set to the directory where LIBOBJS objects are built.
12803 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12804 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12806 LIBOBJS
=$ac_libobjs
12808 LTLIBOBJS
=$ac_ltlibobjs
12813 : "${CONFIG_STATUS=./config.status}"
12815 ac_clean_files_save
=$ac_clean_files
12816 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12818 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12820 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12822 # Generated by $as_me.
12823 # Run this file to recreate the current configuration.
12824 # Compiler output produced by configure, useful for debugging
12825 # configure, is in config.log if it exists.
12828 ac_cs_recheck=false
12831 SHELL=\${CONFIG_SHELL-$SHELL}
12834 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12835 ## -------------------- ##
12836 ## M4sh Initialization. ##
12837 ## -------------------- ##
12839 # Be more Bourne compatible
12840 DUALCASE
=1; export DUALCASE
# for MKS sh
12841 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12844 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12845 # is contrary to our usage. Disable this feature.
12846 alias -g '${1+"$@"}'='"$@"'
12847 setopt NO_GLOB_SUBST
12849 case `(set -o) 2>/dev/null` in #(
12861 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12862 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12865 # Prefer a ksh shell builtin over an external printf program on Solaris,
12866 # but without wasting forks for bash or zsh.
12867 if test -z "$BASH_VERSION$ZSH_VERSION" \
12868 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12869 as_echo='print
-r --'
12870 as_echo_n='print
-rn --'
12871 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12872 as_echo='printf %s
\n'
12873 as_echo_n='printf %s
'
12875 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12876 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12877 as_echo_n='/usr
/ucb
/echo -n'
12879 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12880 as_echo_n_body='eval
12884 expr "X$arg" : "X\\(.*\\)$as_nl";
12885 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12887 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12889 export as_echo_n_body
12890 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12892 export as_echo_body
12893 as_echo='sh
-c $as_echo_body as_echo
'
12896 # The user is always right.
12897 if test "${PATH_SEPARATOR+set}" != set; then
12899 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12900 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12907 # We need space, tab and new line, in precisely that order. Quoting is
12908 # there to prevent editors from complaining about space-tab.
12909 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12910 # splitting by setting IFS to empty value.)
12913 # Find who we are. Look in the path if we contain no directory separator.
12916 *[\\/]* ) as_myself=$0 ;;
12917 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12918 for as_dir in $PATH
12921 test -z "$as_dir" && as_dir=.
12922 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12928 # We did not find ourselves, most probably we were run as `sh COMMAND'
12929 # in which case we are not to be found in the path.
12930 if test "x$as_myself" = x
; then
12933 if test ! -f "$as_myself"; then
12934 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12938 # Unset variables that we do not need and which cause bugs (e.g. in
12939 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12940 # suppresses any "Segmentation fault" message there. '((' could
12941 # trigger a bug in pdksh 5.2.14.
12942 for as_var
in BASH_ENV ENV MAIL MAILPATH
12943 do eval test x\
${$as_var+set} = xset \
12944 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12957 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12960 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12961 # ----------------------------------------
12962 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12963 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12964 # script with STATUS, using 1 if that was 0.
12967 as_status
=$1; test $as_status -eq 0 && as_status
=1
12969 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12970 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12972 $as_echo "$as_me: error: $2" >&2
12973 as_fn_exit
$as_status
12977 # as_fn_set_status STATUS
12978 # -----------------------
12979 # Set $? to STATUS, without forking.
12980 as_fn_set_status
()
12983 } # as_fn_set_status
12985 # as_fn_exit STATUS
12986 # -----------------
12987 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12991 as_fn_set_status
$1
12997 # Portably unset VAR.
13000 { eval $1=; unset $1;}
13002 as_unset
=as_fn_unset
13003 # as_fn_append VAR VALUE
13004 # ----------------------
13005 # Append the text in VALUE to the end of the definition contained in VAR. Take
13006 # advantage of any shell optimizations that allow amortized linear growth over
13007 # repeated appends, instead of the typical quadratic growth present in naive
13009 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13010 eval 'as_fn_append ()
13021 # as_fn_arith ARG...
13022 # ------------------
13023 # Perform arithmetic evaluation on the ARGs, and store the result in the
13024 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13025 # must be portable across $(()) and expr.
13026 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13027 eval 'as_fn_arith ()
13034 as_val
=`expr "$@" || test $? -eq 1`
13039 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13040 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13046 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13047 as_basename
=basename
13052 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13058 as_me
=`$as_basename -- "$0" ||
13059 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13060 X"$0" : 'X\(//\)$' \| \
13061 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13063 sed '/^.*\/\([^/][^/]*\)\/*$/{
13077 # Avoid depending upon Character Ranges.
13078 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13079 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13080 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13081 as_cr_digits
='0123456789'
13082 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13084 ECHO_C
= ECHO_N
= ECHO_T
=
13085 case `echo -n x` in #(((((
13087 case `echo 'xy\c'` in
13088 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13090 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13097 rm -f conf$$ conf$$.exe conf$$.
file
13098 if test -d conf$$.dir
; then
13099 rm -f conf$$.dir
/conf$$.
file
13102 mkdir conf$$.dir
2>/dev
/null
13104 if (echo >conf$$.
file) 2>/dev
/null
; then
13105 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13107 # ... but there are two gotchas:
13108 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13109 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13110 # In both cases, we have to default to `cp -pR'.
13111 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13113 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13121 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13122 rmdir conf$$.dir
2>/dev
/null
13127 # Create "$as_dir" as a directory, including parents if necessary.
13132 -*) as_dir
=.
/$as_dir;;
13134 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13138 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13139 *) as_qdir
=$as_dir;;
13141 as_dirs
="'$as_qdir' $as_dirs"
13142 as_dir
=`$as_dirname -- "$as_dir" ||
13143 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13144 X"$as_dir" : 'X\(//\)[^/]' \| \
13145 X"$as_dir" : 'X\(//\)$' \| \
13146 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13147 $as_echo X"$as_dir" |
13148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13152 /^X\(\/\/\)[^/].*/{
13165 test -d "$as_dir" && break
13167 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13168 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13172 if mkdir
-p .
2>/dev
/null
; then
13173 as_mkdir_p
='mkdir -p "$as_dir"'
13175 test -d .
/-p && rmdir .
/-p
13180 # as_fn_executable_p FILE
13181 # -----------------------
13182 # Test if FILE is an executable regular file.
13183 as_fn_executable_p
()
13185 test -f "$1" && test -x "$1"
13186 } # as_fn_executable_p
13187 as_test_x
='test -x'
13188 as_executable_p
=as_fn_executable_p
13190 # Sed expression to map a string onto a valid CPP name.
13191 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13193 # Sed expression to map a string onto a valid variable name.
13194 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13198 ## ----------------------------------- ##
13199 ## Main body of $CONFIG_STATUS script. ##
13200 ## ----------------------------------- ##
13202 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13205 # Save the log message, to keep $0 and so on meaningful, and to
13206 # report actual input values of CONFIG_FILES etc. instead of their
13207 # values after options handling.
13209 This file was extended by $as_me, which was
13210 generated by GNU Autoconf 2.69. Invocation command line was
13212 CONFIG_FILES = $CONFIG_FILES
13213 CONFIG_HEADERS = $CONFIG_HEADERS
13214 CONFIG_LINKS = $CONFIG_LINKS
13215 CONFIG_COMMANDS = $CONFIG_COMMANDS
13218 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13223 case $ac_config_files in *"
13224 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13227 case $ac_config_headers in *"
13228 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13233 # Files that config.status was made for.
13234 config_files="$ac_config_files"
13235 config_headers="$ac_config_headers"
13236 config_commands="$ac_config_commands"
13240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13242 \`$as_me' instantiates files and other configuration actions
13243 from templates according to the current configuration. Unless the files
13244 and actions are specified as TAGs, all are instantiated by default.
13246 Usage: $0 [OPTION]... [TAG]...
13248 -h, --help print this help, then exit
13249 -V, --version print version number and configuration settings, then exit
13250 --config print configuration, then exit
13251 -q, --quiet, --silent
13252 do not print progress messages
13253 -d, --debug don't remove temporary files
13254 --recheck update $as_me by reconfiguring in the same conditions
13255 --file=FILE[:TEMPLATE]
13256 instantiate the configuration file FILE
13257 --header=FILE[:TEMPLATE]
13258 instantiate the configuration header FILE
13260 Configuration files:
13263 Configuration headers:
13266 Configuration commands:
13269 Report bugs to the package provider."
13272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13273 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13276 configured by $0, generated by GNU Autoconf 2.69,
13277 with options \\"\$ac_cs_config\\"
13279 Copyright (C) 2012 Free Software Foundation, Inc.
13280 This config.status script is free software; the Free Software Foundation
13281 gives unlimited permission to copy, distribute and modify it."
13288 test -n "\$AWK" || AWK=awk
13291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13292 # The default lists apply if the user does not specify any file.
13298 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13299 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13303 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13315 # Handling of the options.
13316 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13318 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13319 $as_echo "$ac_cs_version"; exit ;;
13320 --config |
--confi |
--conf |
--con |
--co |
--c )
13321 $as_echo "$ac_cs_config"; exit ;;
13322 --debug |
--debu |
--deb |
--de |
--d |
-d )
13324 --file |
--fil |
--fi |
--f )
13327 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13328 '') as_fn_error $?
"missing file argument" ;;
13330 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13331 ac_need_defaults
=false
;;
13332 --header |
--heade |
--head |
--hea )
13335 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13337 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13338 ac_need_defaults
=false
;;
13340 # Conflict between --help and --header
13341 as_fn_error $?
"ambiguous option: \`$1'
13342 Try \`$0 --help' for more information.";;
13343 --help |
--hel |
-h )
13344 $as_echo "$ac_cs_usage"; exit ;;
13345 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13346 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13349 # This is an error.
13350 -*) as_fn_error $?
"unrecognized option: \`$1'
13351 Try \`$0 --help' for more information." ;;
13353 *) as_fn_append ac_config_targets
" $1"
13354 ac_need_defaults
=false
;;
13360 ac_configure_extra_args
=
13362 if $ac_cs_silent; then
13364 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13369 if \$ac_cs_recheck; then
13370 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13372 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13373 CONFIG_SHELL='$SHELL'
13374 export CONFIG_SHELL
13379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13383 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13384 ## Running $as_me. ##
13390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13394 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13395 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
13396 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
13397 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13398 LINGUAS="${LINGUAS-%UNSET%}"
13403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13405 # Handling of arguments.
13406 for ac_config_target
in $ac_config_targets
13408 case $ac_config_target in
13409 "lib/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/config.h" ;;
13410 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
13411 "$outlist") CONFIG_FILES
="$CONFIG_FILES $outlist" ;;
13413 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13418 # If the user did not use the arguments to specify the items to instantiate,
13419 # then the envvar interface is used. Set only those that are not.
13420 # We use the long form for the default assignment because of an extremely
13421 # bizarre bug on SunOS 4.1.3.
13422 if $ac_need_defaults; then
13423 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13424 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13425 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13428 # Have a temporary directory for convenience. Make it in the build tree
13429 # simply because there is no reason against having it here, and in addition,
13430 # creating and moving files from /tmp can sometimes cause problems.
13431 # Hook for its removal unless debugging.
13432 # Note that there is a small window in which the directory will not be cleaned:
13433 # after its creation but before its name has been assigned to `$tmp'.
13437 trap 'exit_status=$?
13438 : "${ac_tmp:=$tmp}"
13439 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13441 trap 'as_fn_exit 1' 1 2 13 15
13443 # Create a (secure) tmp directory for tmp files.
13446 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13450 tmp
=.
/conf$$
-$RANDOM
13451 (umask 077 && mkdir
"$tmp")
13452 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13455 # Set up the scripts for CONFIG_FILES section.
13456 # No need to generate them if there are no CONFIG_FILES.
13457 # This happens for instance with `./config.status config.h'.
13458 if test -n "$CONFIG_FILES"; then
13460 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
13461 ac_cs_awk_getline
=:
13462 ac_cs_awk_pipe_init
=
13463 ac_cs_awk_read_file
='
13464 while ((getline aline < (F[key])) > 0)
13467 ac_cs_awk_pipe_fini
=
13469 ac_cs_awk_getline
=false
13470 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
13471 ac_cs_awk_read_file
='
13473 print "cat " F[key] " &&"
13474 '$ac_cs_awk_pipe_init
13475 # The final `:' finishes the AND list.
13476 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
13478 ac_cr
=`echo X | tr X '\015'`
13479 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13480 # But we know of no other shell where ac_cr would be empty at this
13481 # point, so we can use a bashism as a fallback.
13482 if test "x$ac_cr" = x
; then
13483 eval ac_cr
=\$
\'\\r
\'
13485 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13486 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13489 ac_cs_awk_cr
=$ac_cr
13492 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13495 # Create commands to substitute file output variables.
13497 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
13498 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
13499 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
13502 } >conf$
$files.sh
&&
13503 . .
/conf$
$files.sh ||
13504 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
13505 rm -f conf$
$files.sh
13508 echo "cat >conf$$subs.awk <<_ACEOF" &&
13509 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13511 } >conf$$subs.sh ||
13512 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13513 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13515 for ac_last_try in false false false false false :; do
13516 . ./conf$$subs.sh ||
13517 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13519 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13520 if test $ac_delim_n = $ac_delim_num; then
13522 elif $ac_last_try; then
13523 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13525 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13528 rm -f conf$$subs.sh
13530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13531 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13535 s/^/S["/; s
/!.
*/"]=/
13545 s/\(.\{148\}\)..*/\1/
13547 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13552 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13559 s/\(.\{148\}\)..*/\1/
13561 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13565 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13570 ' <conf$$subs.awk | sed '
13575 ' >>$CONFIG_STATUS || ac_write_fail=1
13576 rm -f conf$$subs.awk
13577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13579 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13580 for (key in S) S_is_set[key] = 1
13582 \$ac_cs_awk_pipe_init
13586 nfields = split(line, field, "@
")
13588 len = length(field[1])
13589 for (i = 2; i < nfields; i++) {
13591 keylen = length(key)
13592 if (S_is_set[key]) {
13594 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13595 len += length(value) + length(field[++i])
13600 if (nfields == 3 && !substed) {
13602 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
13603 \$ac_cs_awk_read_file
13609 \$ac_cs_awk_pipe_fini
13612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13613 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13614 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13617 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13618 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13621 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13622 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13623 # trailing colons and then remove the whole line if VPATH becomes empty
13624 # (actually we leave an empty line to preserve line numbers).
13625 if test "x
$srcdir" = x.; then
13626 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13645 fi # test -n "$CONFIG_FILES"
13647 # Set up the scripts for CONFIG_HEADERS section.
13648 # No need to generate them if there are no CONFIG_HEADERS.
13649 # This happens for instance with `./config.status Makefile'.
13650 if test -n "$CONFIG_HEADERS"; then
13651 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13655 # Transform confdefs.h into an awk script `defines.awk', embedded as
13656 # here-document in config.status, that substitutes the proper values into
13657 # config.h.in to produce config.h.
13659 # Create a delimiter string that does not exist in confdefs.h, to ease
13660 # handling of long lines.
13662 for ac_last_try in false false :; do
13663 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13664 if test -z "$ac_tt"; then
13666 elif $ac_last_try; then
13667 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13669 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13673 # For the awk script, D is an array of macro values keyed by name,
13674 # likewise P contains macro parameters if any. Preserve backslash
13675 # newline sequences.
13677 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13679 s/.\{148\}/&'"$ac_delim"'/g
13682 s/^[ ]*#[ ]*define[ ][ ]*/ /
13689 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13691 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13695 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13696 D["\
1"]=" \
3\\\\\\n
"\\/p
13698 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13703 s/.\{148\}/&'"$ac_delim"'/g
13708 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13711 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13713 ' <confdefs.h | sed '
13714 s/'"$ac_delim"'/"\\\
13715 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13718 for (key in D) D_is_set[key] = 1
13721 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13723 split(line, arg, " ")
13724 if (arg[1] == "#") {
13728 defundef
= substr
(arg
[1], 2)
13731 split(mac1
, mac2
, "(") #)
13733 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13734 if (D_is_set
[macro
]) {
13735 # Preserve the white space surrounding the "#".
13736 print prefix
"define", macro P
[macro
] D
[macro
]
13739 # Replace #undef with comments. This is necessary, for example,
13740 # in the case of _POSIX_SOURCE, which is predefined and required
13741 # on some systems where configure will not decide to define it.
13742 if (defundef
== "undef") {
13743 print
"/*", prefix defundef
, macro
, "*/"
13751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13752 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13753 fi # test -n "$CONFIG_HEADERS"
13756 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13761 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13763 case $ac_mode$ac_tag in
13765 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13766 :[FH
]-) ac_tag
=-:-;;
13767 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13784 -) ac_f
="$ac_tmp/stdin";;
13785 *) # Look for the file first in the build tree, then in the source tree
13786 # (if the path is not absolute). The absolute path cannot be DOS-style,
13787 # because $ac_f cannot contain `:'.
13791 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13793 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13795 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13796 as_fn_append ac_file_inputs
" '$ac_f'"
13799 # Let's still pretend it is `configure' which instantiates (i.e., don't
13800 # use $as_me), people would be surprised to read:
13801 # /* config.h. Generated by config.status. */
13802 configure_input
='Generated from '`
13803 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13805 if test x
"$ac_file" != x-
; then
13806 configure_input
="$ac_file. $configure_input"
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13808 $as_echo "$as_me: creating $ac_file" >&6;}
13810 # Neutralize special characters interpreted by sed in replacement strings.
13811 case $configure_input in #(
13812 *\
&* |
*\|
* |
*\\* )
13813 ac_sed_conf_input
=`$as_echo "$configure_input" |
13814 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13815 *) ac_sed_conf_input
=$configure_input;;
13819 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13820 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13825 ac_dir
=`$as_dirname -- "$ac_file" ||
13826 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13827 X"$ac_file" : 'X\(//\)[^/]' \| \
13828 X"$ac_file" : 'X\(//\)$' \| \
13829 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13830 $as_echo X"$ac_file" |
13831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13835 /^X\(\/\/\)[^/].*/{
13848 as_dir
="$ac_dir"; as_fn_mkdir_p
13852 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13854 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13855 # A ".." for each directory in $ac_dir_suffix.
13856 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13857 case $ac_top_builddir_sub in
13858 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13859 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13862 ac_abs_top_builddir
=$ac_pwd
13863 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13864 # for backward compatibility:
13865 ac_top_builddir
=$ac_top_build_prefix
13868 .
) # We are building in place.
13870 ac_top_srcdir
=$ac_top_builddir_sub
13871 ac_abs_top_srcdir
=$ac_pwd ;;
13872 [\\/]* | ?
:[\\/]* ) # Absolute name.
13873 ac_srcdir
=$srcdir$ac_dir_suffix;
13874 ac_top_srcdir
=$srcdir
13875 ac_abs_top_srcdir
=$srcdir ;;
13876 *) # Relative name.
13877 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13878 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13879 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13881 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13891 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13892 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13894 ac_MKDIR_P
=$MKDIR_P
13896 [\\/$
]* | ?
:[\\/]* ) ;;
13897 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13902 # If the template does not know about datarootdir, expand it.
13903 # FIXME: This hack should be removed a few years after 2.60.
13904 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13915 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13916 *datarootdir
*) ac_datarootdir_seen
=yes;;
13917 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13919 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13922 ac_datarootdir_hack='
13923 s&@datadir@&$datadir&g
13924 s&@docdir@&$docdir&g
13925 s&@infodir@&$infodir&g
13926 s&@localedir@&$localedir&g
13927 s&@mandir@&$mandir&g
13928 s&\\\${datarootdir}&$datarootdir&g' ;;
13932 # Neutralize VPATH when `$srcdir' = `.'.
13933 # Shell code in configure.ac might set extrasub.
13934 # FIXME: do we really want to maintain this feature?
13935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13936 ac_sed_extra="$ac_vpsub
13939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13941 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13942 s|@configure_input@|
$ac_sed_conf_input|
;t t
13943 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13944 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13945 s
&@srcdir@
&$ac_srcdir&;t t
13946 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13947 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13948 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13949 s
&@builddir@
&$ac_builddir&;t t
13950 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13951 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13952 s
&@INSTALL@
&$ac_INSTALL&;t t
13953 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13954 $ac_datarootdir_hack
13956 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
13957 if $ac_cs_awk_getline; then
13958 $AWK -f "$ac_tmp/subs.
awk"
13960 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
13962 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13964 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13965 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13966 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13967 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13969 which seems to be undefined. Please make sure it is defined" >&5
13970 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13971 which seems to be undefined. Please make sure it is defined" >&2;}
13973 rm -f "$ac_tmp/stdin"
13975 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13976 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13978 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13984 if test x"$ac_file" != x-; then
13986 $as_echo "/* $configure_input */" \
13987 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13988 } >"$ac_tmp/config.h" \
13989 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13990 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13992 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13995 mv "$ac_tmp/config.h" "$ac_file" \
13996 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13999 $as_echo "/* $configure_input */" \
14000 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14001 || as_fn_error $? "could not create -" "$LINENO" 5
14005 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14006 $as_echo "$as_me: executing $ac_file commands" >&6;}
14011 case $ac_file$ac_mode in
14012 "po-directories":C)
14013 for ac_file in $CONFIG_FILES; do
14014 # Support "outfile[:infile[:infile...]]"
14016 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
14018 # PO directories have a Makefile.in generated from Makefile.in.in.
14019 case "$ac_file" in */Makefile.in)
14020 # Adjust a relative srcdir.
14021 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
14022 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
14023 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
14024 # In autoconf-2.13 it is called $ac_given_srcdir.
14025 # In autoconf-2.50 it is called $srcdir.
14026 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14027 case "$ac_given_srcdir" in
14028 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
14029 /*) top_srcdir="$ac_given_srcdir" ;;
14030 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
14032 # Treat a directory as a PO directory if and only if it has a
14033 # POTFILES.in file. This allows packages to have multiple PO
14034 # directories under different names or in different locations.
14035 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14036 rm -f "$ac_dir/POTFILES"
14037 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
14038 gt_tab=`printf '\t'`
14039 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"
14040 POMAKEFILEDEPS="POTFILES.in"
14041 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14042 # on $ac_dir but don't depend on user-specified configuration
14044 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14045 # The LINGUAS file contains the set of available languages.
14046 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14047 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14049 ALL_LINGUAS
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14050 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14052 # The set of available languages was given in configure.in.
14053 ALL_LINGUAS
=$OBSOLETE_ALL_LINGUAS
14056 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14057 # Compute UPDATEPOFILES
14058 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14059 # Compute DUMMYPOFILES
14060 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14062 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14063 case "$ac_given_srcdir" in
14065 *) srcdirpre
='$(srcdir)/' ;;
14071 for lang
in $ALL_LINGUAS; do
14072 POFILES
="$POFILES $srcdirpre$lang.po"
14073 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14074 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14075 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14077 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14078 # environment variable.
14080 if test -n "$ALL_LINGUAS"; then
14081 for presentlang
in $ALL_LINGUAS; do
14083 if test "%UNSET%" != "$LINGUAS"; then
14084 desiredlanguages
="$LINGUAS"
14086 desiredlanguages
="$ALL_LINGUAS"
14088 for desiredlang
in $desiredlanguages; do
14089 # Use the presentlang catalog if desiredlang is
14090 # a. equal to presentlang, or
14091 # b. a variant of presentlang (because in this case,
14092 # presentlang can be used as a fallback for messages
14093 # which are not translated in the desiredlang catalog).
14094 case "$desiredlang" in
14095 "$presentlang"*) useit
=yes;;
14098 if test $useit = yes; then
14099 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14104 if test -n "$INST_LINGUAS"; then
14105 for lang
in $INST_LINGUAS; do
14106 CATALOGS
="$CATALOGS $lang.gmo"
14109 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14110 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"
14111 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14112 if test -f "$f"; then
14114 *.orig |
*.bak |
*~
) ;;
14115 *) cat "$f" >> "$ac_dir/Makefile" ;;
14130 ac_clean_files
=$ac_clean_files_save
14132 test $ac_write_fail = 0 ||
14133 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14136 # configure is writing to config.log, and then calls config.status.
14137 # config.status does its own redirection, appending to config.log.
14138 # Unfortunately, on DOS this fails, as config.log is still kept open
14139 # by configure, so config.status won't be able to write to it; its
14140 # output is simply discarded. So we exec the FD to /dev/null,
14141 # effectively closing config.log, so it can be properly (re)opened and
14142 # appended to by config.status. When coming back to configure, we
14143 # need to make the FD available again.
14144 if test "$no_create" != yes; then
14146 ac_config_status_args
=
14147 test "$silent" = yes &&
14148 ac_config_status_args
="$ac_config_status_args --quiet"
14150 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14152 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14153 # would make configure fail if this is the last instruction.
14154 $ac_cs_success || as_fn_exit
1
14156 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14158 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14161 if test -f util
/gen-tarball
; then chmod +x util
/gen-tarball
; fi