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
670 INTL_LIBTOOL_SUFFIX_PREFIX
677 BUILD_INCLUDED_LIBINTL
804 program_transform_name
815 ac_subst_files='MCONFIG
821 PUBLIC_CONFIG_HEADER'
823 enable_option_checking
829 enable_maintainer_mode
830 enable_symlink_install
831 enable_relative_symlinks
832 enable_symlink_relative_symlinks
834 enable_verbose_makecmds
854 enable_e2initrd_helper
861 with_included_gettext
866 ac_precious_vars='build_alias
878 # Initialize some variables set by options.
880 ac_init_version=false
881 ac_unrecognized_opts=
883 # The variables have the same names as the options, with
884 # dashes changed to underlines.
892 program_transform_name=s,x,x,
900 # Installation directory options.
901 # These are left unexpanded so users can "make install exec_prefix=/foo"
902 # and all the variables that are supposed to be based on exec_prefix
903 # by default will actually change.
904 # Use braces instead of parens because sh, perl, etc. also accept them.
905 # (The list follows the same order as the GNU Coding Standards.)
906 bindir='${exec_prefix}/bin'
907 sbindir='${exec_prefix}/sbin'
908 libexecdir='${exec_prefix}/libexec'
909 datarootdir='${prefix}/share'
910 datadir='${datarootdir}'
911 sysconfdir='${prefix}/etc'
912 sharedstatedir='${prefix}/com'
913 localstatedir='${prefix}/var'
914 includedir='${prefix}/include'
915 oldincludedir='/usr/include'
916 docdir='${datarootdir}/doc/${PACKAGE}'
917 infodir='${datarootdir}/info'
922 libdir='${exec_prefix}/lib'
923 localedir='${datarootdir}/locale'
924 mandir='${datarootdir}/man'
930 # If the previous option needs an argument, assign it.
931 if test -n "$ac_prev"; then
932 eval $ac_prev=\$ac_option
938 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
943 # Accept the important Cygnus configure options, so we can diagnose typos.
945 case $ac_dashdash$ac_option in
949 -bindir | --bindir | --bindi | --bind | --bin | --bi)
951 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
954 -build | --build | --buil | --bui | --bu)
955 ac_prev=build_alias ;;
956 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
957 build_alias=$ac_optarg ;;
959 -cache-file | --cache-file | --cache-fil | --cache-fi \
960 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
961 ac_prev=cache_file ;;
962 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
963 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
964 cache_file=$ac_optarg ;;
967 cache_file=config.cache ;;
969 -datadir | --datadir | --datadi | --datad)
971 -datadir=* | --datadir=* | --datadi=* | --datad=*)
972 datadir=$ac_optarg ;;
974 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
975 | --dataroo | --dataro | --datar)
976 ac_prev=datarootdir ;;
977 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
978 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
979 datarootdir=$ac_optarg ;;
981 -disable-* | --disable-*)
982 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
985 as_fn_error $? "invalid feature name: $ac_useropt"
986 ac_useropt_orig=$ac_useropt
987 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
993 ac_unrecognized_sep=', ';;
995 eval enable_$ac_useropt=no ;;
997 -docdir | --docdir | --docdi | --doc | --do)
999 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1000 docdir=$ac_optarg ;;
1002 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1004 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1005 dvidir=$ac_optarg ;;
1007 -enable-* | --enable-*)
1008 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011 as_fn_error $? "invalid feature name: $ac_useropt"
1012 ac_useropt_orig=$ac_useropt
1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1016 "enable_$ac_useropt"
1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1019 ac_unrecognized_sep=', ';;
1021 eval enable_$ac_useropt=\$ac_optarg ;;
1023 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1024 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1025 | --exec | --exe | --ex)
1026 ac_prev=exec_prefix ;;
1027 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1028 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1029 | --exec=* | --exe=* | --ex=*)
1030 exec_prefix=$ac_optarg ;;
1032 -gas | --gas | --ga | --g)
1033 # Obsolete; use --with-gas.
1036 -help | --help | --hel | --he | -h)
1037 ac_init_help=long ;;
1038 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1039 ac_init_help=recursive ;;
1040 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1041 ac_init_help=short ;;
1043 -host | --host | --hos | --ho)
1044 ac_prev=host_alias ;;
1045 -host=* | --host=* | --hos=* | --ho=*)
1046 host_alias=$ac_optarg ;;
1048 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1050 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1052 htmldir=$ac_optarg ;;
1054 -includedir | --includedir | --includedi | --included | --include \
1055 | --includ | --inclu | --incl | --inc)
1056 ac_prev=includedir ;;
1057 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1058 | --includ=* | --inclu=* | --incl=* | --inc=*)
1059 includedir=$ac_optarg ;;
1061 -infodir | --infodir | --infodi | --infod | --info | --inf)
1063 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1064 infodir=$ac_optarg ;;
1066 -libdir | --libdir | --libdi | --libd)
1068 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1069 libdir=$ac_optarg ;;
1071 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1072 | --libexe | --libex | --libe)
1073 ac_prev=libexecdir ;;
1074 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1075 | --libexe=* | --libex=* | --libe=*)
1076 libexecdir=$ac_optarg ;;
1078 -localedir | --localedir | --localedi | --localed | --locale)
1079 ac_prev=localedir ;;
1080 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1081 localedir=$ac_optarg ;;
1083 -localstatedir | --localstatedir | --localstatedi | --localstated \
1084 | --localstate | --localstat | --localsta | --localst | --locals)
1085 ac_prev=localstatedir ;;
1086 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1087 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1088 localstatedir=$ac_optarg ;;
1090 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1092 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1093 mandir=$ac_optarg ;;
1095 -nfp | --nfp | --nf)
1096 # Obsolete; use --without-fp.
1099 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1100 | --no-cr | --no-c | -n)
1103 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1104 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1107 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1108 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1109 | --oldin | --oldi | --old | --ol | --o)
1110 ac_prev=oldincludedir ;;
1111 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1112 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1113 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1114 oldincludedir=$ac_optarg ;;
1116 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1118 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1119 prefix=$ac_optarg ;;
1121 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1122 | --program-pre | --program-pr | --program-p)
1123 ac_prev=program_prefix ;;
1124 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1125 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1126 program_prefix=$ac_optarg ;;
1128 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1129 | --program-suf | --program-su | --program-s)
1130 ac_prev=program_suffix ;;
1131 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1132 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1133 program_suffix=$ac_optarg ;;
1135 -program-transform-name | --program-transform-name \
1136 | --program-transform-nam | --program-transform-na \
1137 | --program-transform-n | --program-transform- \
1138 | --program-transform | --program-transfor \
1139 | --program-transfo | --program-transf \
1140 | --program-trans | --program-tran \
1141 | --progr-tra | --program-tr | --program-t)
1142 ac_prev=program_transform_name ;;
1143 -program-transform-name=* | --program-transform-name=* \
1144 | --program-transform-nam=* | --program-transform-na=* \
1145 | --program-transform-n=* | --program-transform-=* \
1146 | --program-transform=* | --program-transfor=* \
1147 | --program-transfo=* | --program-transf=* \
1148 | --program-trans=* | --program-tran=* \
1149 | --progr-tra=* | --program-tr=* | --program-t=*)
1150 program_transform_name=$ac_optarg ;;
1152 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1154 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1155 pdfdir=$ac_optarg ;;
1157 -psdir | --psdir | --psdi | --psd | --ps)
1159 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1163 | -silent | --silent | --silen | --sile | --sil)
1166 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1168 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1170 sbindir=$ac_optarg ;;
1172 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1173 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1174 | --sharedst | --shareds | --shared | --share | --shar \
1176 ac_prev=sharedstatedir ;;
1177 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1178 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1179 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1181 sharedstatedir=$ac_optarg ;;
1183 -site | --site | --sit)
1185 -site=* | --site=* | --sit=*)
1188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1191 srcdir=$ac_optarg ;;
1193 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1194 | --syscon | --sysco | --sysc | --sys | --sy)
1195 ac_prev=sysconfdir ;;
1196 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1197 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1198 sysconfdir=$ac_optarg ;;
1200 -target | --target | --targe | --targ | --tar | --ta | --t)
1201 ac_prev=target_alias ;;
1202 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1203 target_alias=$ac_optarg ;;
1205 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1208 -version | --version | --versio | --versi | --vers | -V)
1209 ac_init_version=: ;;
1212 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1215 as_fn_error $? "invalid package name: $ac_useropt"
1216 ac_useropt_orig=$ac_useropt
1217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 case $ac_user_opts in
1222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1223 ac_unrecognized_sep=', ';;
1225 eval with_$ac_useropt=\$ac_optarg ;;
1227 -without-* | --without-*)
1228 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1231 as_fn_error $? "invalid package name: $ac_useropt"
1232 ac_useropt_orig=$ac_useropt
1233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234 case $ac_user_opts in
1238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1239 ac_unrecognized_sep=', ';;
1241 eval with_$ac_useropt=no ;;
1244 # Obsolete; use --with-x.
1247 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1248 | --x-incl | --x-inc | --x-in | --x-i)
1249 ac_prev=x_includes ;;
1250 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1251 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1252 x_includes=$ac_optarg ;;
1254 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1255 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1256 ac_prev=x_libraries ;;
1257 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1258 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1259 x_libraries=$ac_optarg ;;
1261 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1262 Try \`$0 --help' for more information"
1266 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1267 # Reject names that are not valid shell variable names.
1268 case $ac_envvar in #(
1269 '' | [0-9]* | *[!_$as_cr_alnum]* )
1270 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1272 eval $ac_envvar=\$ac_optarg
1273 export $ac_envvar ;;
1276 # FIXME: should be removed in autoconf 3.0.
1277 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1278 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1279 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1280 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1286 if test -n "$ac_prev"; then
1287 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1288 as_fn_error $? "missing argument to $ac_option"
1291 if test -n "$ac_unrecognized_opts"; then
1292 case $enable_option_checking in
1294 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1295 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1299 # Check all directory arguments for consistency.
1300 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1301 datadir sysconfdir sharedstatedir localstatedir includedir \
1302 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1303 libdir localedir mandir
1305 eval ac_val=\$$ac_var
1306 # Remove trailing slashes.
1309 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1310 eval $ac_var=\$ac_val;;
1312 # Be sure to have absolute directory names.
1314 [\\/$]* | ?:[\\/]* ) continue;;
1315 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1317 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1320 # There might be people who depend on the old broken behavior: `$host'
1321 # used to hold the argument of --host etc.
1322 # FIXME: To remove some day.
1325 target=$target_alias
1327 # FIXME: To remove some day.
1328 if test "x$host_alias" != x; then
1329 if test "x$build_alias" = x; then
1330 cross_compiling=maybe
1331 elif test "x$build_alias" != "x$host_alias"; then
1337 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1339 test "$silent" = yes && exec 6>/dev/null
1342 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1343 ac_ls_di=`ls -di .` &&
1344 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1345 as_fn_error $? "working directory cannot be determined"
1346 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1347 as_fn_error $? "pwd does not report name of working directory"
1350 # Find the source files, if location was not specified.
1351 if test -z "$srcdir"; then
1352 ac_srcdir_defaulted=yes
1353 # Try the directory containing this script, then the parent directory.
1354 ac_confdir=`$as_dirname -- "$as_myself" ||
1355 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1356 X"$as_myself" : 'X\(//\)[^/]' \| \
1357 X"$as_myself" : 'X\(//\)$' \| \
1358 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1359 $as_echo X"$as_myself" |
1360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1378 if test ! -r "$srcdir/$ac_unique_file"; then
1382 ac_srcdir_defaulted=no
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1385 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1386 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1388 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1390 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1392 # When building in place, set srcdir=.
1393 if test "$ac_abs_confdir" = "$ac_pwd"; then
1396 # Remove unnecessary trailing slashes from srcdir.
1397 # Double slashes in file names in object file debugging info
1398 # mess up M-x gdb in Emacs.
1400 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1402 for ac_var in $ac_precious_vars; do
1403 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1404 eval ac_env_${ac_var}_value=\$${ac_var}
1405 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1406 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1410 # Report the --help message.
1412 if test "$ac_init_help" = "long"; then
1413 # Omit some internal or obsolete options to make the list less imposing.
1414 # This message is too long to be a string in the A/UX 3.1 sh.
1416 \`configure' configures this package to adapt to many kinds of systems.
1418 Usage: $0 [OPTION]... [VAR=VALUE]...
1420 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1421 VAR=VALUE. See below for descriptions of some of the useful variables.
1423 Defaults for the options are specified in brackets.
1426 -h, --help display this help and exit
1427 --help=short display options specific to this package
1428 --help=recursive display the short help of all the included packages
1429 -V, --version display version information and exit
1430 -q, --quiet, --silent do not print \`checking ...' messages
1431 --cache-file=FILE cache test results in FILE [disabled]
1432 -C, --config-cache alias for \`--cache-file=config.cache'
1433 -n, --no-create do not create output files
1434 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1436 Installation directories:
1437 --prefix=PREFIX install architecture-independent files in PREFIX
1438 [$ac_default_prefix]
1439 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1442 By default, \`make install' will install all the files in
1443 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1444 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1445 for instance \`--prefix=\$HOME'.
1447 For better control, use the options below.
1449 Fine tuning of the installation directories:
1450 --bindir=DIR user executables [EPREFIX/bin]
1451 --sbindir=DIR system admin executables [EPREFIX/sbin]
1452 --libexecdir=DIR program executables [EPREFIX/libexec]
1453 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1454 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1455 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1456 --libdir=DIR object code libraries [EPREFIX/lib]
1457 --includedir=DIR C header files [PREFIX/include]
1458 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1459 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1460 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1461 --infodir=DIR info documentation [DATAROOTDIR/info]
1462 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1463 --mandir=DIR man documentation [DATAROOTDIR/man]
1464 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1465 --htmldir=DIR html documentation [DOCDIR]
1466 --dvidir=DIR dvi documentation [DOCDIR]
1467 --pdfdir=DIR pdf documentation [DOCDIR]
1468 --psdir=DIR ps documentation [DOCDIR]
1474 --build=BUILD configure for building on BUILD [guessed]
1475 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1479 if test -n "$ac_init_help"; then
1484 --disable-option-checking ignore unrecognized --enable/--with options
1485 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1486 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1487 --enable-maintainer-mode enable makefile rules useful for maintainers
1488 --enable-symlink-install use symlinks when installing instead of hard links
1489 --enable-relative-symlinks use relative symlinks when installing
1491 --enable-symlink-build use symlinks while building instead of hard links
1492 --enable-verbose-makecmds enable verbose make command output
1493 --enable-compression enable EXPERIMENTAL compression support
1494 --enable-htree enable EXPERIMENTAL htree directory support
1495 --enable-elf-shlibs select ELF shared libraries
1496 --enable-bsd-shlibs select BSD shared libraries
1497 --enable-profile build profiling libraries
1498 --enable-gcov build for coverage testing using gcov
1499 --enable-jbd-debug enable journal debugging
1500 --enable-blkid-debug enable blkid debugging
1501 --disable-testio-debug disable the use of the test I/O manager for debugging
1502 --disable-libuuid do not build private uuid library
1503 --disable-libblkid do not build private blkid library
1504 --disable-quota disable quota support
1505 --disable-backtrace disable use backtrace
1506 --disable-debugfs disable support of debugfs program
1507 --disable-e2scan disable support of e2scan program
1508 --disable-imager disable support of e2image program
1509 --disable-resizer disable support of e2resize program
1510 --disable-defrag disable support of e4defrag program
1511 --enable-fsck build fsck wrapper program
1512 --enable-e2initrd-helper build e2initrd-helper program
1513 --disable-tls disable use of thread local support
1514 --disable-uuidd disable building the uuid daemon
1515 --disable-nls do not use Native Language Support
1516 --disable-rpath do not hardcode runtime library paths
1519 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1520 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1521 --with-diet-libc use diet libc
1522 --with-cc no longer supported, use CC= instead
1523 --with-ccopts no longer supported, use CFLAGS= instead
1524 --with-ldopts no longer supported, use LDFLAGS= instead
1525 --with-root-prefix=PREFIX override prefix variable for files to be placed in the root
1526 --with-gnu-ld assume the C compiler uses GNU ld default=no
1527 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1528 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1529 --with-included-gettext use the GNU gettext library included here
1530 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1531 --without-libintl-prefix don't search for libintl in includedir and libdir
1532 --with-sqlite3=DIR location of sqlite3 library (default /usr/lib)
1533 --with-multiarch=ARCH specify the multiarch triplet
1535 Some influential environment variables:
1536 CC C compiler command
1537 CFLAGS C compiler flags
1538 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1539 nonstandard directory <lib dir>
1540 LIBS libraries to pass to the linker, e.g. -l<library>
1541 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1542 you have headers in a nonstandard directory <include dir>
1544 PKG_CONFIG path to pkg-config utility
1546 Use these variables to override the choices made by `configure' or to help
1547 it to find libraries and programs with nonstandard names/locations.
1549 Report bugs to the package provider.
1554 if test "$ac_init_help" = "recursive"; then
1555 # If there are subdirs, report their specific --help.
1556 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1557 test -d "$ac_dir" ||
1558 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1563 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1565 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1566 # A ".." for each directory in $ac_dir_suffix.
1567 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1568 case $ac_top_builddir_sub in
1569 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1570 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1573 ac_abs_top_builddir=$ac_pwd
1574 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1575 # for backward compatibility:
1576 ac_top_builddir=$ac_top_build_prefix
1579 .) # We are building in place.
1581 ac_top_srcdir=$ac_top_builddir_sub
1582 ac_abs_top_srcdir=$ac_pwd ;;
1583 [\\/]* | ?:[\\/]* ) # Absolute name.
1584 ac_srcdir=$srcdir$ac_dir_suffix;
1585 ac_top_srcdir=$srcdir
1586 ac_abs_top_srcdir=$srcdir ;;
1588 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1589 ac_top_srcdir=$ac_top_build_prefix$srcdir
1590 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1592 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1594 cd "$ac_dir" || { ac_status=$?; continue; }
1595 # Check for guested configure.
1596 if test -f "$ac_srcdir/configure.gnu"; then
1598 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1599 elif test -f "$ac_srcdir/configure"; then
1601 $SHELL "$ac_srcdir/configure" --help=recursive
1603 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1605 cd "$ac_pwd" || { ac_status=$?; break; }
1609 test -n "$ac_init_help" && exit $ac_status
1610 if $ac_init_version; then
1613 generated by GNU Autoconf 2.69
1615 Copyright (C) 2012 Free Software Foundation, Inc.
1616 This configure script is free software; the Free Software Foundation
1617 gives unlimited permission to copy, distribute and modify it.
1622 ## ------------------------ ##
1623 ## Autoconf initialization. ##
1624 ## ------------------------ ##
1626 # ac_fn_c_try_compile LINENO
1627 # --------------------------
1628 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1629 ac_fn_c_try_compile ()
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 rm -f conftest.$ac_objext
1633 if { { ac_try="$ac_compile"
1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_compile") 2>conftest.err
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && {
1649 test -z "$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1651 } && test -s conftest.$ac_objext; then :
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1662 } # ac_fn_c_try_compile
1664 # ac_fn_c_try_link LINENO
1665 # -----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded.
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 rm -f conftest.$ac_objext conftest$ac_exeext
1671 if { { ac_try="$ac_link"
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_link") 2>conftest.err
1680 if test -s conftest.err; then
1681 grep -v '^ *+' conftest.err >conftest.er1
1682 cat conftest.er1 >&5
1683 mv -f conftest.er1 conftest.err
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && {
1687 test -z "$ac_c_werror_flag" ||
1688 test ! -s conftest.err
1689 } && test -s conftest$ac_exeext && {
1690 test "$cross_compiling" = yes ||
1691 test -x conftest$ac_exeext
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1701 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1702 # interfere with the next link command; also delete a directory that is
1703 # left behind by Apple's compiler. We do this before executing the actions.
1704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status $ac_retval
1708 } # ac_fn_c_try_link
1710 # ac_fn_c_try_cpp LINENO
1711 # ----------------------
1712 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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; } > conftest.i && {
1732 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1733 test ! -s conftest.err
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
1747 # ac_fn_c_try_run LINENO
1748 # ----------------------
1749 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1750 # that executables *can* be run.
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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>&5
1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1765 { { case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_try") 2>&5
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; }; }; then :
1777 $as_echo "$as_me: program exited with status $ac_status" >&5
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1781 ac_retval=$ac_status
1783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 as_fn_set_status $ac_retval
1789 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1790 # -------------------------------------------
1791 # Tests whether TYPE exists after having included INCLUDES, setting cache
1792 # variable VAR accordingly.
1793 ac_fn_c_check_type ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \${$3+:} false; then :
1799 $as_echo_n "(cached) " >&6
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1827 if ac_fn_c_try_compile "$LINENO"; then :
1832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 } # ac_fn_c_check_type
1843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists and can be compiled using the include files in
1846 # INCLUDES, setting the cache variable VAR accordingly.
1847 ac_fn_c_check_header_compile ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if eval \${$3+:} false; then :
1853 $as_echo_n "(cached) " >&6
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1860 if ac_fn_c_try_compile "$LINENO"; then :
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 } # ac_fn_c_check_header_compile
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883 $as_echo_n "(cached) " >&6
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1889 #define $2 innocuous_$2
1891 /* System header to define __stub macros and hopefully few prototypes,
1892 which can conflict with char $2 (); below.
1893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1894 <limits.h> exists even on freestanding compilers. */
1897 # include <limits.h>
1899 # include <assert.h>
1904 /* Override any GCC internal prototype to avoid an error.
1905 Use char because int might match the return type of a GCC
1906 builtin and then its argument prototype would still apply. */
1911 /* The GNU C library defines this for functions which it implements
1912 to always fail with ENOSYS. Some functions are actually named
1913 something starting with __ and the normal name is an alias. */
1914 #if defined __stub_$2 || defined __stub___$2
1926 if ac_fn_c_try_link "$LINENO"; then :
1931 rm -f core conftest.err conftest.$ac_objext \
1932 conftest$ac_exeext conftest.$ac_ext
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 } # ac_fn_c_check_func
1941 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1942 # -------------------------------------------------------
1943 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1944 # the include files in INCLUDES and setting the cache variable VAR
1946 ac_fn_c_check_header_mongrel ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 if eval \${$3+:} false; then :
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if eval \${$3+:} false; then :
1953 $as_echo_n "(cached) " >&6
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; }
1959 # Is the header compilable?
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1961 $as_echo_n "checking $2 usability... " >&6; }
1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h. */
1967 if ac_fn_c_try_compile "$LINENO"; then :
1968 ac_header_compiler=yes
1970 ac_header_compiler=no
1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1974 $as_echo "$ac_header_compiler" >&6; }
1976 # Is the header present?
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1978 $as_echo_n "checking $2 presence... " >&6; }
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1983 if ac_fn_c_try_cpp "$LINENO"; then :
1984 ac_header_preproc=yes
1986 ac_header_preproc=no
1988 rm -f conftest.err conftest.i conftest.$ac_ext
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1990 $as_echo "$ac_header_preproc" >&6; }
1992 # So? What about this header?
1993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1996 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1998 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2002 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2004 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2006 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2008 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2010 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2014 $as_echo_n "checking for $2... " >&6; }
2015 if eval \${$3+:} false; then :
2016 $as_echo_n "(cached) " >&6
2018 eval "$3=\$ac_header_compiler"
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 } # ac_fn_c_check_header_mongrel
2028 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2029 # --------------------------------------------
2030 # Tries to find the compile-time value of EXPR in a program that includes
2031 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2033 ac_fn_c_compute_int ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 if test "$cross_compiling" = yes; then
2037 # Depending upon the size, compute the lo and hi bounds.
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h. */
2044 static int test_array [1 - 2 * !(($2) >= 0)];
2046 return test_array [0];
2052 if ac_fn_c_try_compile "$LINENO"; then :
2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056 /* end confdefs.h. */
2061 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2063 return test_array [0];
2069 if ac_fn_c_try_compile "$LINENO"; then :
2070 ac_hi=$ac_mid; break
2072 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2073 if test $ac_lo -le $ac_mid; then
2077 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 static int test_array [1 - 2 * !(($2) < 0)];
2090 return test_array [0];
2096 if ac_fn_c_try_compile "$LINENO"; then :
2099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2100 /* end confdefs.h. */
2105 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2107 return test_array [0];
2113 if ac_fn_c_try_compile "$LINENO"; then :
2114 ac_lo=$ac_mid; break
2116 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2117 if test $ac_mid -le $ac_hi; then
2121 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 # Binary search between lo and hi bounds.
2132 while test "x$ac_lo" != "x$ac_hi"; do
2133 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2140 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2142 return test_array [0];
2148 if ac_fn_c_try_compile "$LINENO"; then :
2151 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2163 static long int longval () { return $2; }
2164 static unsigned long int ulongval () { return $2; }
2171 FILE *f = fopen ("conftest.val", "w");
2176 long int i = longval ();
2179 fprintf (f, "%ld", i);
2183 unsigned long int i = ulongval ();
2186 fprintf (f, "%lu", i);
2188 /* Do not output a trailing newline, as this causes \r\n confusion
2189 on some platforms. */
2190 return ferror (f) || fclose (f) != 0;
2196 if ac_fn_c_try_run "$LINENO"; then :
2197 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2202 conftest.$ac_objext conftest.beam conftest.$ac_ext
2206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2207 as_fn_set_status $ac_retval
2209 } # ac_fn_c_compute_int
2211 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2212 # ----------------------------------------------------
2213 # Tries to find if the field MEMBER exists in type AGGR, after including
2214 # INCLUDES, setting cache variable VAR accordingly.
2215 ac_fn_c_check_member ()
2217 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2219 $as_echo_n "checking for $2.$3... " >&6; }
2220 if eval \${$4+:} false; then :
2221 $as_echo_n "(cached) " >&6
2223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2236 if ac_fn_c_try_compile "$LINENO"; then :
2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2246 if (sizeof ac_aggr.$3)
2252 if ac_fn_c_try_compile "$LINENO"; then :
2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2263 $as_echo "$ac_res" >&6; }
2264 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2266 } # ac_fn_c_check_member
2268 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2269 # ---------------------------------------------
2270 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2272 ac_fn_c_check_decl ()
2274 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2275 as_decl_name=`echo $2|sed 's/ *(.*//'`
2276 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2278 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2279 if eval \${$3+:} false; then :
2280 $as_echo_n "(cached) " >&6
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2288 #ifndef $as_decl_name
2290 (void) $as_decl_use;
2292 (void) $as_decl_name;
2300 if ac_fn_c_try_compile "$LINENO"; then :
2305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2309 $as_echo "$ac_res" >&6; }
2310 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2312 } # ac_fn_c_check_decl
2313 cat >config.log <<_ACEOF
2314 This file contains any messages produced by compilers while
2315 running configure, to aid debugging if configure makes a mistake.
2317 It was created by $as_me, which was
2318 generated by GNU Autoconf 2.69. Invocation command line was
2330 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2331 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2332 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2333 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2334 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2336 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2337 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2339 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2340 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2341 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2342 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2343 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2344 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2345 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 test -z "$as_dir" && as_dir=.
2354 $as_echo "PATH: $as_dir"
2370 # Keep a trace of the command line.
2371 # Strip out --no-create and --no-recursion so they do not pile up.
2372 # Strip out --silent because we don't want to record it for future runs.
2373 # Also quote any args containing shell meta-characters.
2374 # Make two passes to allow for proper duplicate-argument suppression.
2378 ac_must_keep_next=false
2384 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2385 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2386 | -silent | --silent | --silen | --sile | --sil)
2389 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2392 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2394 as_fn_append ac_configure_args1 " '$ac_arg'"
2395 if test $ac_must_keep_next = true; then
2396 ac_must_keep_next=false # Got value, back to normal.
2399 *=* | --config-cache | -C | -disable-* | --disable-* \
2400 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2401 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2402 | -with-* | --with-* | -without-* | --without-* | --x)
2403 case "$ac_configure_args0 " in
2404 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2407 -* ) ac_must_keep_next=true ;;
2410 as_fn_append ac_configure_args " '$ac_arg'"
2415 { ac_configure_args0=; unset ac_configure_args0;}
2416 { ac_configure_args1=; unset ac_configure_args1;}
2418 # When interrupted or exit'd, cleanup temporary files, and complete
2419 # config.log. We remove comments because anyway the quotes in there
2420 # would cause problems or look ugly.
2421 # WARNING: Use '\'' to represent an apostrophe within the trap.
2422 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2423 trap 'exit_status=$?
2424 # Save into config.log some information that might help in debugging.
2428 $as_echo "## ---------------- ##
2429 ## Cache variables. ##
2430 ## ---------------- ##"
2432 # The following way of writing the cache mishandles newlines in values,
2434 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2435 eval ac_val=\$$ac_var
2439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2440 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2443 _ | IFS | as_nl) ;; #(
2444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2445 *) { eval $ac_var=; unset $ac_var;} ;;
2450 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2451 *${as_nl}ac_space=\ *)
2453 "s/'\''/'\''\\\\'\'''\''/g;
2454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2464 $as_echo "## ----------------- ##
2465 ## Output variables. ##
2466 ## ----------------- ##"
2468 for ac_var in $ac_subst_vars
2470 eval ac_val=\$$ac_var
2472 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2474 $as_echo "$ac_var='\''$ac_val'\''"
2478 if test -n "$ac_subst_files"; then
2479 $as_echo "## ------------------- ##
2480 ## File substitutions. ##
2481 ## ------------------- ##"
2483 for ac_var in $ac_subst_files
2485 eval ac_val=\$$ac_var
2487 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2489 $as_echo "$ac_var='\''$ac_val'\''"
2494 if test -s confdefs.h; then
2495 $as_echo "## ----------- ##
2502 test "$ac_signal" != 0 &&
2503 $as_echo "$as_me: caught signal $ac_signal"
2504 $as_echo "$as_me: exit $exit_status"
2506 rm -f core *.core core.conftest.* &&
2507 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2510 for ac_signal in 1 2 13 15; do
2511 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2515 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2516 rm -f -r conftest* confdefs.h
2518 $as_echo "/* confdefs.h */" > confdefs.h
2520 # Predefined preprocessor variables.
2522 cat >>confdefs.h <<_ACEOF
2523 #define PACKAGE_NAME "$PACKAGE_NAME"
2526 cat >>confdefs.h <<_ACEOF
2527 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2530 cat >>confdefs.h <<_ACEOF
2531 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2534 cat >>confdefs.h <<_ACEOF
2535 #define PACKAGE_STRING "$PACKAGE_STRING"
2538 cat >>confdefs.h <<_ACEOF
2539 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2542 cat >>confdefs.h <<_ACEOF
2543 #define PACKAGE_URL "$PACKAGE_URL"
2547 # Let the site file select an alternate cache file if it wants to.
2548 # Prefer an explicitly selected file to automatically selected ones.
2551 if test -n "$CONFIG_SITE"; then
2552 # We do not want a PATH search for config.site.
2553 case $CONFIG_SITE in #((
2554 -*) ac_site_file1=./$CONFIG_SITE;;
2555 */*) ac_site_file1=$CONFIG_SITE;;
2556 *) ac_site_file1=./$CONFIG_SITE;;
2558 elif test "x$prefix" != xNONE; then
2559 ac_site_file1=$prefix/share/config.site
2560 ac_site_file2=$prefix/etc/config.site
2562 ac_site_file1=$ac_default_prefix/share/config.site
2563 ac_site_file2=$ac_default_prefix/etc/config.site
2565 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2567 test "x$ac_site_file" = xNONE && continue
2568 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2570 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2571 sed 's/^/| /' "$ac_site_file" >&5
2573 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2575 as_fn_error $? "failed to load site script $ac_site_file
2576 See \`config.log' for more details" "$LINENO" 5; }
2580 if test -r "$cache_file"; then
2581 # Some versions of bash will fail to source /dev/null (special files
2582 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2583 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2585 $as_echo "$as_me: loading cache $cache_file" >&6;}
2587 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2588 *) . "./$cache_file";;
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2593 $as_echo "$as_me: creating cache $cache_file" >&6;}
2597 as_fn_append ac_header_list " stdlib.h"
2598 as_fn_append ac_header_list " unistd.h"
2599 as_fn_append ac_header_list " sys/param.h"
2600 # Check that the precious variables saved in the cache have kept the same
2602 ac_cache_corrupted=false
2603 for ac_var in $ac_precious_vars; do
2604 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2605 eval ac_new_set=\$ac_env_${ac_var}_set
2606 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2607 eval ac_new_val=\$ac_env_${ac_var}_value
2608 case $ac_old_set,$ac_new_set in
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2611 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2612 ac_cache_corrupted=: ;;
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2615 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2616 ac_cache_corrupted=: ;;
2619 if test "x$ac_old_val" != "x$ac_new_val"; then
2620 # differences in whitespace do not lead to failure.
2621 ac_old_val_w=`echo x $ac_old_val`
2622 ac_new_val_w=`echo x $ac_new_val`
2623 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2625 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2626 ac_cache_corrupted=:
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2629 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2630 eval $ac_var=\$ac_old_val
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2633 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2635 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2638 # Pass precious variables to config.status.
2639 if test "$ac_new_set" = set; then
2641 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2642 *) ac_arg=$ac_var=$ac_new_val ;;
2644 case " $ac_configure_args " in
2645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2646 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2650 if $ac_cache_corrupted; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2654 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2655 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2657 ## -------------------- ##
2658 ## Main body of script. ##
2659 ## -------------------- ##
2662 ac_cpp='$CPP $CPPFLAGS'
2663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2670 for ac_dir in config "$srcdir"/config; do
2671 if test -f "$ac_dir/install-sh"; then
2673 ac_install_sh="$ac_aux_dir/install-sh -c"
2675 elif test -f "$ac_dir/install.sh"; then
2677 ac_install_sh="$ac_aux_dir/install.sh -c"
2679 elif test -f "$ac_dir/shtool"; then
2681 ac_install_sh="$ac_aux_dir/shtool install -c"
2685 if test -z "$ac_aux_dir"; then
2686 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2689 # These three variables are undocumented and unsupported,
2690 # and are intended to be withdrawn in a future Autoconf release.
2691 # They can cause serious problems if a builder's source tree is in a directory
2692 # whose full name contains unusual characters.
2693 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2694 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2695 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2698 ac_config_headers="$ac_config_headers lib/config.h"
2704 E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION ${srcdir}/version.h \
2705 | awk '{print $3}' | tr \" " " | awk '{print $1}'`
2706 DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
2708 E2FSPROGS_DAY=`echo $DATE | awk -F- '{print $1}'`
2709 MONTH=`echo $DATE | awk -F- '{print $2}'`
2710 YEAR=`echo $DATE | awk -F- '{print $3}'`
2712 if expr $YEAR ">" 1900 > /dev/null ; then
2713 E2FSPROGS_YEAR=$YEAR
2714 elif expr $YEAR ">" 90 >/dev/null ; then
2715 E2FSPROGS_YEAR=19$YEAR
2717 E2FSPROGS_YEAR=20$YEAR
2721 Jan) MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
2722 Feb) MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
2723 Mar) MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
2724 Apr) MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
2725 May) MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
2726 Jun) MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
2727 Jul) MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
2728 Aug) MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
2729 Sep) MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
2730 Oct) MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
2731 Nov) MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
2732 Dec) MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
2733 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
2734 $as_echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
2737 base_ver=`echo $E2FSPROGS_VERSION | \
2738 sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
2740 date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
2742 case $E2FSPROGS_VERSION in
2744 E2FSPROGS_PKGVER="$base_ver~WIP-$E2FSPROGS_YEAR-$MONTH_NUM-$E2FSPROGS_DAY"
2747 E2FSPROGS_PKGVER="$base_ver"
2751 unset DATE MONTH YEAR base_ver pre_vers date_spec
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
2753 $as_echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
2755 $as_echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
2763 # Check whether --with-diet-libc was given.
2764 if test "${with_diet_libc+set}" = set; then :
2765 withval=$with_diet_libc; CC="diet cc -nostdinc"
2771 LIBS="$LIBS -lcompat"
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$CC" >&5
2774 $as_echo "CC=$CC" >&6; }
2776 # Make sure we can run config.sub.
2777 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2778 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2781 $as_echo_n "checking build system type... " >&6; }
2782 if ${ac_cv_build+:} false; then :
2783 $as_echo_n "(cached) " >&6
2785 ac_build_alias=$build_alias
2786 test "x$ac_build_alias" = x &&
2787 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2788 test "x$ac_build_alias" = x &&
2789 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2790 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2791 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2795 $as_echo "$ac_cv_build" >&6; }
2796 case $ac_cv_build in
2798 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2801 ac_save_IFS=$IFS; IFS='-'
2807 # Remember, the first character of IFS is used to create $*,
2808 # except with old shells:
2811 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2815 $as_echo_n "checking host system type... " >&6; }
2816 if ${ac_cv_host+:} false; then :
2817 $as_echo_n "(cached) " >&6
2819 if test "x$host_alias" = x; then
2820 ac_cv_host=$ac_cv_build
2822 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2823 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2828 $as_echo "$ac_cv_host" >&6; }
2831 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2834 ac_save_IFS=$IFS; IFS='-'
2840 # Remember, the first character of IFS is used to create $*,
2841 # except with old shells:
2844 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2849 ac_cpp='$CPP $CPPFLAGS'
2850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2853 if test -n "$ac_tool_prefix"; then
2854 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2855 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if ${ac_cv_prog_CC+:} false; then :
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$CC"; then
2862 ac_cv_prog_CC="$CC" # Let the user override the test.
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir=.
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2871 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 if test -n "$CC"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2884 $as_echo "$CC" >&6; }
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 $as_echo "no" >&6; }
2892 if test -z "$ac_cv_prog_CC"; then
2894 # Extract the first word of "gcc", so it can be a program name with args.
2895 set dummy gcc; ac_word=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$ac_ct_CC"; then
2902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir=.
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911 ac_cv_prog_ac_ct_CC="gcc"
2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2922 if test -n "$ac_ct_CC"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2924 $as_echo "$ac_ct_CC" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2930 if test "x$ac_ct_CC" = x; then
2933 case $cross_compiling:$ac_tool_warned in
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2937 ac_tool_warned=yes ;;
2945 if test -z "$CC"; then
2946 if test -n "$ac_tool_prefix"; then
2947 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2948 set dummy ${ac_tool_prefix}cc; ac_word=$2
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if ${ac_cv_prog_CC+:} false; then :
2952 $as_echo_n "(cached) " >&6
2954 if test -n "$CC"; then
2955 ac_cv_prog_CC="$CC" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 ac_cv_prog_CC="${ac_tool_prefix}cc"
2965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 if test -n "$CC"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2977 $as_echo "$CC" >&6; }
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 $as_echo "no" >&6; }
2986 if test -z "$CC"; then
2987 # Extract the first word of "cc", so it can be a program name with args.
2988 set dummy cc; ac_word=$2
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if ${ac_cv_prog_CC+:} false; then :
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$CC"; then
2995 ac_cv_prog_CC="$CC" # Let the user override the test.
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir=.
3003 for ac_exec_ext in '' $ac_executable_extensions; do
3004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3005 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3006 ac_prog_rejected=yes
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 if test $ac_prog_rejected = yes; then
3018 # We found a bogon in the path, so make sure we never use it.
3019 set dummy $ac_cv_prog_CC
3021 if test $# != 0; then
3022 # We chose a different compiler from the bogus one.
3023 # However, it has the same basename, so the bogon will be chosen
3024 # first if we set CC to just the basename; use the full file name.
3026 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3032 if test -n "$CC"; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3034 $as_echo "$CC" >&6; }
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3042 if test -z "$CC"; then
3043 if test -n "$ac_tool_prefix"; then
3044 for ac_prog in cl.exe
3046 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3047 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if ${ac_cv_prog_CC+:} false; then :
3051 $as_echo_n "(cached) " >&6
3053 if test -n "$CC"; then
3054 ac_cv_prog_CC="$CC" # Let the user override the test.
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 if test -n "$CC"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3083 test -n "$CC" && break
3086 if test -z "$CC"; then
3088 for ac_prog in cl.exe
3090 # Extract the first word of "$ac_prog", so it can be a program name with args.
3091 set dummy $ac_prog; ac_word=$2
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093 $as_echo_n "checking for $ac_word... " >&6; }
3094 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3095 $as_echo_n "(cached) " >&6
3097 if test -n "$ac_ct_CC"; then
3098 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 test -z "$as_dir" && as_dir=.
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107 ac_cv_prog_ac_ct_CC="$ac_prog"
3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3118 if test -n "$ac_ct_CC"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3120 $as_echo "$ac_ct_CC" >&6; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123 $as_echo "no" >&6; }
3127 test -n "$ac_ct_CC" && break
3130 if test "x$ac_ct_CC" = x; then
3133 case $cross_compiling:$ac_tool_warned in
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3137 ac_tool_warned=yes ;;
3146 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 as_fn_error $? "no acceptable C compiler found in \$PATH
3149 See \`config.log' for more details" "$LINENO" 5; }
3151 # Provide some information about the compiler.
3152 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3155 for ac_option in --version -v -V -qversion; do
3156 { { ac_try="$ac_compiler $ac_option >&5"
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162 $as_echo "$ac_try_echo"; } >&5
3163 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3165 if test -s conftest.err; then
3167 ... rest of stderr output deleted ...
3168 10q' conftest.err >conftest.er1
3169 cat conftest.er1 >&5
3171 rm -f conftest.er1 conftest.err
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 ac_clean_files_save=$ac_clean_files
3188 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3189 # Try to create an executable without -o first, disregard a.out.
3190 # It will help us diagnose broken compilers, and finding out an intuition
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3193 $as_echo_n "checking whether the C compiler works... " >&6; }
3194 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3196 # The possible output files:
3197 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3200 for ac_file in $ac_files
3203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3204 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3209 if { { ac_try="$ac_link_default"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_link_default") 2>&5
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }; then :
3220 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3221 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3222 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3223 # so that the user can short-circuit this test for compilers unknown to
3225 for ac_file in $ac_files ''
3227 test -f "$ac_file" || continue
3229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3232 # We found the default executable, but exeext='' is most
3236 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3238 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3240 # We set ac_cv_exeext here because the later test for it is not
3241 # safe: cross compilers may not add the suffix if given an `-o'
3242 # argument, so we may need to know it at that point already.
3243 # Even if this section looks crufty: it has the advantage of
3250 test "$ac_cv_exeext" = no && ac_cv_exeext=
3255 if test -z "$ac_file"; then :
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3258 $as_echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263 as_fn_error 77 "C compiler cannot create executables
3264 See \`config.log' for more details" "$LINENO" 5; }
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3267 $as_echo "yes" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3270 $as_echo_n "checking for C compiler default output file name... " >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3272 $as_echo "$ac_file" >&6; }
3273 ac_exeext=$ac_cv_exeext
3275 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3276 ac_clean_files=$ac_clean_files_save
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3278 $as_echo_n "checking for suffix of executables... " >&6; }
3279 if { { ac_try="$ac_link"
3281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_link") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }; then :
3290 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3291 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3292 # work properly (i.e., refer to `conftest.exe'), while it won't with
3294 for ac_file in conftest.exe conftest conftest.*; do
3295 test -f "$ac_file" || continue
3297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3298 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3306 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3307 See \`config.log' for more details" "$LINENO" 5; }
3309 rm -f conftest conftest$ac_cv_exeext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3311 $as_echo "$ac_cv_exeext" >&6; }
3313 rm -f conftest.$ac_ext
3314 EXEEXT=$ac_cv_exeext
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3322 FILE *f = fopen ("conftest.out", "w");
3323 return ferror (f) || fclose (f) != 0;
3329 ac_clean_files="$ac_clean_files conftest.out"
3330 # Check that the compiler produces executables we can run. If not, either
3331 # the compiler is broken, or we cross compile.
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3333 $as_echo_n "checking whether we are cross compiling... " >&6; }
3334 if test "$cross_compiling" != yes; then
3335 { { ac_try="$ac_link"
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_link") 2>&5
3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 test $ac_status = 0; }
3346 if { ac_try='./conftest$ac_cv_exeext'
3347 { { case "(($ac_try" in
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_try") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; }; then
3359 if test "$cross_compiling" = maybe; then
3362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364 as_fn_error $? "cannot run C compiled programs.
3365 If you meant to cross compile, use \`--host'.
3366 See \`config.log' for more details" "$LINENO" 5; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3371 $as_echo "$cross_compiling" >&6; }
3373 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3374 ac_clean_files=$ac_clean_files_save
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3376 $as_echo_n "checking for suffix of object files... " >&6; }
3377 if ${ac_cv_objext+:} false; then :
3378 $as_echo_n "(cached) " >&6
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3391 rm -f conftest.o conftest.obj
3392 if { { ac_try="$ac_compile"
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398 $as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_compile") 2>&5
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; then :
3403 for ac_file in conftest.o conftest.obj conftest.*; do
3404 test -f "$ac_file" || continue;
3406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3407 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3412 $as_echo "$as_me: failed program was:" >&5
3413 sed 's/^/| /' conftest.$ac_ext >&5
3415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3417 as_fn_error $? "cannot compute suffix of object files: cannot compile
3418 See \`config.log' for more details" "$LINENO" 5; }
3420 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3423 $as_echo "$ac_cv_objext" >&6; }
3424 OBJEXT=$ac_cv_objext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3427 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3428 if ${ac_cv_c_compiler_gnu+:} false; then :
3429 $as_echo_n "(cached) " >&6
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3445 if ac_fn_c_try_compile "$LINENO"; then :
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3455 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3456 if test $ac_compiler_gnu = yes; then
3461 ac_test_CFLAGS=${CFLAGS+set}
3462 ac_save_CFLAGS=$CFLAGS
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3464 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3465 if ${ac_cv_prog_cc_g+:} false; then :
3466 $as_echo_n "(cached) " >&6
3468 ac_save_c_werror_flag=$ac_c_werror_flag
3469 ac_c_werror_flag=yes
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3483 if ac_fn_c_try_compile "$LINENO"; then :
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3498 if ac_fn_c_try_compile "$LINENO"; then :
3501 ac_c_werror_flag=$ac_save_c_werror_flag
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 if ac_fn_c_try_compile "$LINENO"; then :
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 ac_c_werror_flag=$ac_save_c_werror_flag
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3525 $as_echo "$ac_cv_prog_cc_g" >&6; }
3526 if test "$ac_test_CFLAGS" = set; then
3527 CFLAGS=$ac_save_CFLAGS
3528 elif test $ac_cv_prog_cc_g = yes; then
3529 if test "$GCC" = yes; then
3535 if test "$GCC" = yes; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3542 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3543 if ${ac_cv_prog_cc_c89+:} false; then :
3544 $as_echo_n "(cached) " >&6
3546 ac_cv_prog_cc_c89=no
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3553 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3554 struct buf { int x; };
3555 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3556 static char *e (p, i)
3562 static char *f (char * (*g) (char **, int), char **p, ...)
3567 s = g (p, va_arg (v,int));
3572 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3573 function prototypes and stuff, but not '\xHH' hex character constants.
3574 These don't provoke an error unfortunately, instead are silently treated
3575 as 'x'. The following induces an error, until -std is added to get
3576 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3577 array size at least. It's necessary to write '\x00'==0 to get something
3578 that's true only with -std. */
3579 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3581 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3582 inside strings and character constants. */
3584 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3586 int test (int i, double x);
3587 struct s1 {int (*f) (int a);};
3588 struct s2 {int (*f) (double a);};
3589 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3595 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3600 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3601 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3603 CC="$ac_save_CC $ac_arg"
3604 if ac_fn_c_try_compile "$LINENO"; then :
3605 ac_cv_prog_cc_c89=$ac_arg
3607 rm -f core conftest.err conftest.$ac_objext
3608 test "x$ac_cv_prog_cc_c89" != "xno" && break
3610 rm -f conftest.$ac_ext
3615 case "x$ac_cv_prog_cc_c89" in
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3618 $as_echo "none needed" >&6; } ;;
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3621 $as_echo "unsupported" >&6; } ;;
3623 CC="$CC $ac_cv_prog_cc_c89"
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3625 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3627 if test "x$ac_cv_prog_cc_c89" != xno; then :
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
3639 $as_echo_n "checking for dlopen in -ldl... " >&6; }
3640 if ${ac_cv_lib_dl_dlopen+:} false; then :
3641 $as_echo_n "(cached) " >&6
3643 ac_check_lib_save_LIBS=$LIBS
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3648 /* Override any GCC internal prototype to avoid an error.
3649 Use char because int might match the return type of a GCC
3650 builtin and then its argument prototype would still apply. */
3663 if ac_fn_c_try_link "$LINENO"; then :
3664 ac_cv_lib_dl_dlopen=yes
3666 ac_cv_lib_dl_dlopen=no
3668 rm -f core conftest.err conftest.$ac_objext \
3669 conftest$ac_exeext conftest.$ac_ext
3670 LIBS=$ac_check_lib_save_LIBS
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
3673 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
3674 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
3677 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
3683 # Check whether --with-cc was given.
3684 if test "${with_cc+set}" = set; then :
3685 withval=$with_cc; as_fn_error $? "--with-cc no longer supported; use CC= instead" "$LINENO" 5
3689 # Check whether --with-ccopts was given.
3690 if test "${with_ccopts+set}" = set; then :
3691 withval=$with_ccopts; as_fn_error $? "--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
3695 # Check whether --with-ldopts was given.
3696 if test "${with_ldopts+set}" = set; then :
3697 withval=$with_ldopts; as_fn_error $? "--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
3701 ac_cpp='$CPP $CPPFLAGS'
3702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3705 if test -n "$ac_tool_prefix"; then
3706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3707 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3709 $as_echo_n "checking for $ac_word... " >&6; }
3710 if ${ac_cv_prog_CC+:} false; then :
3711 $as_echo_n "(cached) " >&6
3713 if test -n "$CC"; then
3714 ac_cv_prog_CC="$CC" # Let the user override the test.
3716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 test -z "$as_dir" && as_dir=.
3721 for ac_exec_ext in '' $ac_executable_extensions; do
3722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3723 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 if test -n "$CC"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3736 $as_echo "$CC" >&6; }
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3744 if test -z "$ac_cv_prog_CC"; then
3746 # Extract the first word of "gcc", so it can be a program name with args.
3747 set dummy gcc; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$ac_ct_CC"; then
3754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3763 ac_cv_prog_ac_ct_CC="gcc"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3774 if test -n "$ac_ct_CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3776 $as_echo "$ac_ct_CC" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3782 if test "x$ac_ct_CC" = x; then
3785 case $cross_compiling:$ac_tool_warned in
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3789 ac_tool_warned=yes ;;
3797 if test -z "$CC"; then
3798 if test -n "$ac_tool_prefix"; then
3799 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3800 set dummy ${ac_tool_prefix}cc; ac_word=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_CC+:} false; then :
3804 $as_echo_n "(cached) " >&6
3806 if test -n "$CC"; then
3807 ac_cv_prog_CC="$CC" # Let the user override the test.
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir=.
3814 for ac_exec_ext in '' $ac_executable_extensions; do
3815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_CC="${ac_tool_prefix}cc"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 if test -n "$CC"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3829 $as_echo "$CC" >&6; }
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3838 if test -z "$CC"; then
3839 # Extract the first word of "cc", so it can be a program name with args.
3840 set dummy cc; ac_word=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if ${ac_cv_prog_CC+:} false; then :
3844 $as_echo_n "(cached) " >&6
3846 if test -n "$CC"; then
3847 ac_cv_prog_CC="$CC" # Let the user override the test.
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3858 ac_prog_rejected=yes
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 if test $ac_prog_rejected = yes; then
3870 # We found a bogon in the path, so make sure we never use it.
3871 set dummy $ac_cv_prog_CC
3873 if test $# != 0; then
3874 # We chose a different compiler from the bogus one.
3875 # However, it has the same basename, so the bogon will be chosen
3876 # first if we set CC to just the basename; use the full file name.
3878 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3884 if test -n "$CC"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3886 $as_echo "$CC" >&6; }
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3894 if test -z "$CC"; then
3895 if test -n "$ac_tool_prefix"; then
3896 for ac_prog in cl.exe
3898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901 $as_echo_n "checking for $ac_word... " >&6; }
3902 if ${ac_cv_prog_CC+:} false; then :
3903 $as_echo_n "(cached) " >&6
3905 if test -n "$CC"; then
3906 ac_cv_prog_CC="$CC" # Let the user override the test.
3908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir=.
3913 for ac_exec_ext in '' $ac_executable_extensions; do
3914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3915 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 if test -n "$CC"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3928 $as_echo "$CC" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3935 test -n "$CC" && break
3938 if test -z "$CC"; then
3940 for ac_prog in cl.exe
3942 # Extract the first word of "$ac_prog", so it can be a program name with args.
3943 set dummy $ac_prog; ac_word=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3947 $as_echo_n "(cached) " >&6
3949 if test -n "$ac_ct_CC"; then
3950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 test -z "$as_dir" && as_dir=.
3957 for ac_exec_ext in '' $ac_executable_extensions; do
3958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_ac_ct_CC="$ac_prog"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3970 if test -n "$ac_ct_CC"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3972 $as_echo "$ac_ct_CC" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3979 test -n "$ac_ct_CC" && break
3982 if test "x$ac_ct_CC" = x; then
3985 case $cross_compiling:$ac_tool_warned in
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3989 ac_tool_warned=yes ;;
3998 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4000 as_fn_error $? "no acceptable C compiler found in \$PATH
4001 See \`config.log' for more details" "$LINENO" 5; }
4003 # Provide some information about the compiler.
4004 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4007 for ac_option in --version -v -V -qversion; do
4008 { { ac_try="$ac_compiler $ac_option >&5"
4010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4017 if test -s conftest.err; then
4019 ... rest of stderr output deleted ...
4020 10q' conftest.err >conftest.er1
4021 cat conftest.er1 >&5
4023 rm -f conftest.er1 conftest.err
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4029 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4030 if ${ac_cv_c_compiler_gnu+:} false; then :
4031 $as_echo_n "(cached) " >&6
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4047 if ac_fn_c_try_compile "$LINENO"; then :
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4057 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4058 if test $ac_compiler_gnu = yes; then
4063 ac_test_CFLAGS=${CFLAGS+set}
4064 ac_save_CFLAGS=$CFLAGS
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4066 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4067 if ${ac_cv_prog_cc_g+:} false; then :
4068 $as_echo_n "(cached) " >&6
4070 ac_save_c_werror_flag=$ac_c_werror_flag
4071 ac_c_werror_flag=yes
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4085 if ac_fn_c_try_compile "$LINENO"; then :
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4100 if ac_fn_c_try_compile "$LINENO"; then :
4103 ac_c_werror_flag=$ac_save_c_werror_flag
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4116 if ac_fn_c_try_compile "$LINENO"; then :
4119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4124 ac_c_werror_flag=$ac_save_c_werror_flag
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4127 $as_echo "$ac_cv_prog_cc_g" >&6; }
4128 if test "$ac_test_CFLAGS" = set; then
4129 CFLAGS=$ac_save_CFLAGS
4130 elif test $ac_cv_prog_cc_g = yes; then
4131 if test "$GCC" = yes; then
4137 if test "$GCC" = yes; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4144 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4145 if ${ac_cv_prog_cc_c89+:} false; then :
4146 $as_echo_n "(cached) " >&6
4148 ac_cv_prog_cc_c89=no
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4155 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4156 struct buf { int x; };
4157 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4158 static char *e (p, i)
4164 static char *f (char * (*g) (char **, int), char **p, ...)
4169 s = g (p, va_arg (v,int));
4174 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4175 function prototypes and stuff, but not '\xHH' hex character constants.
4176 These don't provoke an error unfortunately, instead are silently treated
4177 as 'x'. The following induces an error, until -std is added to get
4178 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4179 array size at least. It's necessary to write '\x00'==0 to get something
4180 that's true only with -std. */
4181 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4183 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4184 inside strings and character constants. */
4186 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4188 int test (int i, double x);
4189 struct s1 {int (*f) (int a);};
4190 struct s2 {int (*f) (double a);};
4191 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4197 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4202 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4203 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4205 CC="$ac_save_CC $ac_arg"
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207 ac_cv_prog_cc_c89=$ac_arg
4209 rm -f core conftest.err conftest.$ac_objext
4210 test "x$ac_cv_prog_cc_c89" != "xno" && break
4212 rm -f conftest.$ac_ext
4217 case "x$ac_cv_prog_cc_c89" in
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4220 $as_echo "none needed" >&6; } ;;
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4223 $as_echo "unsupported" >&6; } ;;
4225 CC="$CC $ac_cv_prog_cc_c89"
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4227 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4229 if test "x$ac_cv_prog_cc_c89" != xno; then :
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4239 if test "$GCC" = yes; then
4240 RDYNAMIC="-rdynamic"
4244 ac_cpp='$CPP $CPPFLAGS'
4245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4249 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4250 # On Suns, sometimes $CPP names a directory.
4251 if test -n "$CPP" && test -d "$CPP"; then
4254 if test -z "$CPP"; then
4255 if ${ac_cv_prog_CPP+:} false; then :
4256 $as_echo_n "(cached) " >&6
4258 # Double quotes because CPP needs to be expanded
4259 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4262 for ac_c_preproc_warn_flag in '' yes
4264 # Use a header file that comes with gcc, so configuring glibc
4265 # with a fresh cross-compiler works.
4266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4267 # <limits.h> exists even on freestanding compilers.
4268 # On the NeXT, cc -E runs the code through the compiler's parser,
4269 # not just through cpp. "Syntax error" is here to catch this case.
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4273 # include <limits.h>
4275 # include <assert.h>
4279 if ac_fn_c_try_cpp "$LINENO"; then :
4282 # Broken: fails on valid input.
4285 rm -f conftest.err conftest.i conftest.$ac_ext
4287 # OK, works on sane cases. Now check whether nonexistent headers
4288 # can be detected and how.
4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4291 #include <ac_nonexistent.h>
4293 if ac_fn_c_try_cpp "$LINENO"; then :
4294 # Broken: success on invalid input.
4297 # Passes both tests.
4301 rm -f conftest.err conftest.i conftest.$ac_ext
4304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4305 rm -f conftest.i conftest.err conftest.$ac_ext
4306 if $ac_preproc_ok; then :
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4319 $as_echo "$CPP" >&6; }
4321 for ac_c_preproc_warn_flag in '' yes
4323 # Use a header file that comes with gcc, so configuring glibc
4324 # with a fresh cross-compiler works.
4325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4326 # <limits.h> exists even on freestanding compilers.
4327 # On the NeXT, cc -E runs the code through the compiler's parser,
4328 # not just through cpp. "Syntax error" is here to catch this case.
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4332 # include <limits.h>
4334 # include <assert.h>
4338 if ac_fn_c_try_cpp "$LINENO"; then :
4341 # Broken: fails on valid input.
4344 rm -f conftest.err conftest.i conftest.$ac_ext
4346 # OK, works on sane cases. Now check whether nonexistent headers
4347 # can be detected and how.
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4350 #include <ac_nonexistent.h>
4352 if ac_fn_c_try_cpp "$LINENO"; then :
4353 # Broken: success on invalid input.
4356 # Passes both tests.
4360 rm -f conftest.err conftest.i conftest.$ac_ext
4363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4364 rm -f conftest.i conftest.err conftest.$ac_ext
4365 if $ac_preproc_ok; then :
4368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4370 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4371 See \`config.log' for more details" "$LINENO" 5; }
4375 ac_cpp='$CPP $CPPFLAGS'
4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
4381 $as_echo_n "checking for additional special compiler flags... " >&6; }
4382 if test "$GCC" = yes
4385 alpha) addcflags="-mieee" ;;
4388 if test "x$addcflags" != x
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
4391 $as_echo "$addcflags" >&6; }
4392 CFLAGS="$addcflags $CFLAGS"
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
4395 $as_echo "(none)" >&6; }
4401 # Check whether --with-root-prefix was given.
4402 if test "${with_root_prefix+set}" = set; then :
4403 withval=$with_root_prefix; root_prefix=$withval
4407 # Check whether --enable-maintainer-mode was given.
4408 if test "${enable_maintainer_mode+set}" = set; then :
4409 enableval=$enable_maintainer_mode; if test "$enableval" = "no"
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode" >&5
4413 $as_echo "Disabling maintainer mode" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling maintainer mode" >&5
4417 $as_echo "Enabling maintainer mode" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode by default" >&5
4423 $as_echo "Disabling maintainer mode by default" >&6; }
4428 # Check whether --enable-symlink-install was given.
4429 if test "${enable_symlink_install+set}" = set; then :
4430 enableval=$enable_symlink_install; if test "$enableval" = "no"
4432 LINK_INSTALL_FLAGS=-f
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
4434 $as_echo "Disabling symlinks for install" >&6; }
4436 LINK_INSTALL_FLAGS=-sf
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for install" >&5
4438 $as_echo "Enabling symlinks for install" >&6; }
4442 LINK_INSTALL_FLAGS=-f
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install by default" >&5
4444 $as_echo "Disabling symlinks for install by default" >&6; }
4449 relative_symlink_defined=
4450 # Check whether --enable-relative-symlinks was given.
4451 if test "${enable_relative_symlinks+set}" = set; then :
4452 enableval=$enable_relative_symlinks; if test "$enableval" = "no"
4455 relative_symlink_defined=yes
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
4457 $as_echo "Disabling relative symlinks for install" >&6; }
4459 SYMLINK_RELATIVE=--relative
4460 relative_symlink_defined=yes
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
4462 $as_echo "Enabling relative symlinks for install" >&6; }
4466 # Check whether --enable-symlink-relative-symlinks was given.
4467 if test "${enable_symlink_relative_symlinks+set}" = set; then :
4468 enableval=$enable_symlink_relative_symlinks; if test "$enableval" = "no"
4470 SYMLINK_RELATIVE=yes
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
4472 $as_echo "Disabling relative symlinks for install" >&6; }
4474 SYMLINK_RELATIVE=--relative
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
4476 $as_echo "Enabling relative symlinks for install" >&6; }
4480 if test -z "$relative_symlink_defined"
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install by default" >&5
4484 $as_echo "Disabling relative symlinks for install by default" >&6; }
4490 # Check whether --enable-symlink-build was given.
4491 if test "${enable_symlink_build+set}" = set; then :
4492 enableval=$enable_symlink_build; if test "$enableval" = "no"
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
4496 $as_echo "Disabling symlinks for build" >&6; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for build" >&5
4500 $as_echo "Enabling symlinks for build" >&6; }
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build by default" >&5
4506 $as_echo "Disabling symlinks for build by default" >&6; }
4511 # Check whether --enable-verbose-makecmds was given.
4512 if test "${enable_verbose_makecmds+set}" = set; then :
4513 enableval=$enable_verbose_makecmds; if test "$enableval" = "no"
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
4516 $as_echo "Disabling verbose make commands" >&6; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling verbose make commands" >&5
4522 $as_echo "Enabling verbose make commands" >&6; }
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
4530 $as_echo "Disabling verbose make commands" >&6; }
4540 # Check whether --enable-compression was given.
4541 if test "${enable_compression+set}" = set; then :
4542 enableval=$enable_compression; if test "$enableval" = "no"
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling compression support" >&5
4545 $as_echo "Disabling compression support" >&6; }
4548 $as_echo "#define ENABLE_COMPRESSION 1" >>confdefs.h
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling compression support" >&5
4551 $as_echo "Enabling compression support" >&6; }
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compression support is experimental" >&5
4553 $as_echo "$as_me: WARNING: Compression support is experimental" >&2;}
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling compression support by default" >&5
4558 $as_echo "Disabling compression support by default" >&6; }
4563 # Check whether --enable-htree was given.
4564 if test "${enable_htree+set}" = set; then :
4565 enableval=$enable_htree; if test "$enableval" = "no"
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling htree directory support" >&5
4569 $as_echo "Disabling htree directory support" >&6; }
4572 $as_echo "#define ENABLE_HTREE 1" >>confdefs.h
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling htree directory support" >&5
4575 $as_echo "Enabling htree directory support" >&6; }
4580 $as_echo "#define ENABLE_HTREE 1" >>confdefs.h
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling htree directory support by default" >&5
4583 $as_echo "Enabling htree directory support by default" >&6; }
4588 E2_PKG_CONFIG_STATIC=--static
4591 # Check whether --enable-elf-shlibs was given.
4592 if test "${enable_elf_shlibs+set}" = set; then :
4593 enableval=$enable_elf_shlibs; if test "$enableval" = "no"
4596 MAKEFILE_ELF=/dev/null
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries" >&5
4598 $as_echo "Disabling ELF shared libraries" >&6; }
4600 E2_PKG_CONFIG_STATIC=
4602 MAKEFILE_ELF=$srcdir/lib/Makefile.elf-lib
4605 MAKEFILE_ELF=$srcdir/lib/Makefile.solaris-lib
4611 LDFLAG_DYNAMIC='-Wl,-rpath-link,$(top_builddir)/lib'
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ELF shared libraries" >&5
4613 $as_echo "Enabling ELF shared libraries" >&6; }
4617 MAKEFILE_ELF=/dev/null
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries by default" >&5
4620 $as_echo "Disabling ELF shared libraries by default" >&6; }
4626 # Check whether --enable-bsd-shlibs was given.
4627 if test "${enable_bsd_shlibs+set}" = set; then :
4628 enableval=$enable_bsd_shlibs; if test "$enableval" = "no"
4631 MAKEFILE_BSDLIB=/dev/null
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries" >&5
4633 $as_echo "Disabling BSD shared libraries" >&6; }
4635 E2_PKG_CONFIG_STATIC=
4637 MAKEFILE_BSDLIB=$srcdir/lib/Makefile.bsd-lib
4641 MAKEFILE_BSDLIB=$srcdir/lib/Makefile.darwin-lib
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling BSD shared libraries" >&5
4646 $as_echo "Enabling BSD shared libraries" >&6; }
4650 MAKEFILE_BSDLIB=/dev/null
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries by default" >&5
4653 $as_echo "Disabling BSD shared libraries by default" >&6; }
4659 # Check whether --enable-profile was given.
4660 if test "${enable_profile+set}" = set; then :
4661 enableval=$enable_profile; if test "$enableval" = "no"
4664 MAKEFILE_PROFILE=/dev/null
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries" >&5
4666 $as_echo "Disabling profiling libraries" >&6; }
4669 MAKEFILE_PROFILE=$srcdir/lib/Makefile.profile
4670 PROFILED_LIB_EXT=_p.a
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building profiling libraries" >&5
4672 $as_echo "Building profiling libraries" >&6; }
4677 MAKEFILE_PROFILE=/dev/null
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries by default" >&5
4679 $as_echo "Disabling profiling libraries by default" >&6; }
4685 # Check whether --enable-gcov was given.
4686 if test "${enable_gcov+set}" = set; then :
4687 enableval=$enable_gcov; if test "$enableval" = "yes"
4689 CFLAGS="-g -fprofile-arcs -ftest-coverage"
4690 LDFLAGS="-fprofile-arcs -ftest-coverage"
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling gcov support" >&5
4692 $as_echo "Enabling gcov support" >&6; }
4703 # Check whether --enable-jbd-debug was given.
4704 if test "${enable_jbd_debug+set}" = set; then :
4705 enableval=$enable_jbd_debug; if test "$enableval" = "no"
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging" >&5
4708 $as_echo "Disabling journal debugging" >&6; }
4711 $as_echo "#define CONFIG_JBD_DEBUG 1" >>confdefs.h
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling journal debugging" >&5
4714 $as_echo "Enabling journal debugging" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging by default" >&5
4719 $as_echo "Disabling journal debugging by default" >&6; }
4723 # Check whether --enable-blkid-debug was given.
4724 if test "${enable_blkid_debug+set}" = set; then :
4725 enableval=$enable_blkid_debug; if test "$enableval" = "no"
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging" >&5
4728 $as_echo "Disabling blkid debugging" >&6; }
4731 $as_echo "#define CONFIG_BLKID_DEBUG 1" >>confdefs.h
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling blkid debugging" >&5
4734 $as_echo "Enabling blkid debugging" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging by default" >&5
4739 $as_echo "Disabling blkid debugging by default" >&6; }
4743 # Check whether --enable-testio-debug was given.
4744 if test "${enable_testio_debug+set}" = set; then :
4745 enableval=$enable_testio_debug;
4746 if test "$enableval" = "no"
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling testio debugging" >&5
4749 $as_echo "Disabling testio debugging" >&6; }
4753 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging" >&5
4756 $as_echo "Enabling testio debugging" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging by default" >&5
4761 $as_echo "Enabling testio debugging by default" >&6; }
4762 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
4771 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4772 if test -n "$ac_tool_prefix"; then
4773 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4774 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 $as_echo_n "checking for $ac_word... " >&6; }
4777 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4778 $as_echo_n "(cached) " >&6
4782 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789 test -z "$as_dir" && as_dir=.
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4792 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4804 if test -n "$PKG_CONFIG"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4806 $as_echo "$PKG_CONFIG" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4814 if test -z "$ac_cv_path_PKG_CONFIG"; then
4815 ac_pt_PKG_CONFIG=$PKG_CONFIG
4816 # Extract the first word of "pkg-config", so it can be a program name with args.
4817 set dummy pkg-config; ac_word=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4821 $as_echo_n "(cached) " >&6
4823 case $ac_pt_PKG_CONFIG in
4825 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4847 if test -n "$ac_pt_PKG_CONFIG"; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4849 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4855 if test "x$ac_pt_PKG_CONFIG" = x; then
4858 case $cross_compiling:$ac_tool_warned in
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4862 ac_tool_warned=yes ;;
4864 PKG_CONFIG=$ac_pt_PKG_CONFIG
4867 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4871 if test -n "$PKG_CONFIG"; then
4872 _pkg_min_version=0.9.0
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4874 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4875 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4877 $as_echo "yes" >&6; }
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4890 DEPPROFILED_LIBUUID=
4892 # Check whether --enable-libuuid was given.
4893 if test "${enable_libuuid+set}" = set; then :
4894 enableval=$enable_libuuid; if test "$enableval" = "no"
4896 if test -z "$PKG_CONFIG"; then
4897 as_fn_error $? "pkg-config not installed; please install it." "$LINENO" 5
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
4901 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
4902 if ${ac_cv_lib_uuid_uuid_generate+:} false; then :
4903 $as_echo_n "(cached) " >&6
4905 ac_check_lib_save_LIBS=$LIBS
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4910 /* Override any GCC internal prototype to avoid an error.
4911 Use char because int might match the return type of a GCC
4912 builtin and then its argument prototype would still apply. */
4916 char uuid_generate ();
4920 return uuid_generate ();
4925 if ac_fn_c_try_link "$LINENO"; then :
4926 ac_cv_lib_uuid_uuid_generate=yes
4928 ac_cv_lib_uuid_uuid_generate=no
4930 rm -f core conftest.err conftest.$ac_objext \
4931 conftest$ac_exeext conftest.$ac_ext
4932 LIBS=$ac_check_lib_save_LIBS
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
4935 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
4936 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then :
4937 LIBUUID=`$PKG_CONFIG --libs uuid`;
4938 STATIC_LIBUUID=`$PKG_CONFIG --static --libs uuid`
4940 as_fn_error $? "external uuid library not found" "$LINENO" 5
4943 PROFILED_LIBUUID=$LIBUUID
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private uuid library" >&5
4946 $as_echo "Disabling private uuid library" >&6; }
4948 LIBUUID='$(LIB)/libuuid'$LIB_EXT
4950 STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
4951 DEPSTATIC_LIBUUID=$STATIC_LIBUUID
4952 PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
4953 DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library" >&5
4955 $as_echo "Enabling private uuid library" >&6; }
4959 LIBUUID='$(LIB)/libuuid'$LIB_EXT
4961 STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
4962 DEPSTATIC_LIBUUID=$STATIC_LIBUUID
4963 PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
4964 DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library by default" >&5
4966 $as_echo "Enabling private uuid library by default" >&6; }
4979 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4982 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4986 $as_echo_n "(cached) " >&6
4990 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5012 if test -n "$PKG_CONFIG"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5014 $as_echo "$PKG_CONFIG" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5022 if test -z "$ac_cv_path_PKG_CONFIG"; then
5023 ac_pt_PKG_CONFIG=$PKG_CONFIG
5024 # Extract the first word of "pkg-config", so it can be a program name with args.
5025 set dummy pkg-config; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5029 $as_echo_n "(cached) " >&6
5031 case $ac_pt_PKG_CONFIG in
5033 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5055 if test -n "$ac_pt_PKG_CONFIG"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5057 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5063 if test "x$ac_pt_PKG_CONFIG" = x; then
5066 case $cross_compiling:$ac_tool_warned in
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5070 ac_tool_warned=yes ;;
5072 PKG_CONFIG=$ac_pt_PKG_CONFIG
5075 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5079 if test -n "$PKG_CONFIG"; then
5080 _pkg_min_version=0.9.0
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5082 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5083 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5085 $as_echo "yes" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5098 DEPPROFILED_LIBBLKID=
5101 # Check whether --enable-libblkid was given.
5102 if test "${enable_libblkid+set}" = set; then :
5103 enableval=$enable_libblkid; if test "$enableval" = "no"
5105 if test -z "$PKG_CONFIG"; then
5106 as_fn_error $? "pkg-config not installed; please install it." "$LINENO" 5
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
5110 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
5111 if ${ac_cv_lib_blkid_blkid_get_cache+:} false; then :
5112 $as_echo_n "(cached) " >&6
5114 ac_check_lib_save_LIBS=$LIBS
5115 LIBS="-lblkid -luuid $LIBS"
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5119 /* Override any GCC internal prototype to avoid an error.
5120 Use char because int might match the return type of a GCC
5121 builtin and then its argument prototype would still apply. */
5125 char blkid_get_cache ();
5129 return blkid_get_cache ();
5134 if ac_fn_c_try_link "$LINENO"; then :
5135 ac_cv_lib_blkid_blkid_get_cache=yes
5137 ac_cv_lib_blkid_blkid_get_cache=no
5139 rm -f core conftest.err conftest.$ac_objext \
5140 conftest$ac_exeext conftest.$ac_ext
5141 LIBS=$ac_check_lib_save_LIBS
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
5144 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
5145 if test "x$ac_cv_lib_blkid_blkid_get_cache" = xyes; then :
5146 LIBBLKID=`$PKG_CONFIG --libs blkid`;
5147 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`
5149 as_fn_error $? "external blkid library not found" "$LINENO" 5
5153 PROFILED_LIBBLKID=$LIBBLKID
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private blkid library" >&5
5155 $as_echo "Disabling private blkid library" >&6; }
5157 LIBBLKID='$(LIB)/libblkid'$LIB_EXT
5158 DEPLIBBLKID=$LIBBLKID
5159 STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
5160 DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
5161 PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
5162 DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
5163 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library" >&5
5166 $as_echo "Enabling private blkid library" >&6; }
5170 LIBBLKID='$(LIB)/libblkid'$LIB_EXT
5171 DEPLIBBLKID=$LIBBLKID
5172 STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
5173 DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
5174 PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
5175 DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
5176 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library by default" >&5
5179 $as_echo "Enabling private blkid library by default" >&6; }
5190 QUOTA_MAN_COMMENT='.\"'
5195 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5202 $as_echo_n "(cached) " >&6
5206 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5228 if test -n "$PKG_CONFIG"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5230 $as_echo "$PKG_CONFIG" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5238 if test -z "$ac_cv_path_PKG_CONFIG"; then
5239 ac_pt_PKG_CONFIG=$PKG_CONFIG
5240 # Extract the first word of "pkg-config", so it can be a program name with args.
5241 set dummy pkg-config; ac_word=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5245 $as_echo_n "(cached) " >&6
5247 case $ac_pt_PKG_CONFIG in
5249 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5271 if test -n "$ac_pt_PKG_CONFIG"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5273 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5279 if test "x$ac_pt_PKG_CONFIG" = x; then
5282 case $cross_compiling:$ac_tool_warned in
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5286 ac_tool_warned=yes ;;
5288 PKG_CONFIG=$ac_pt_PKG_CONFIG
5291 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5295 if test -n "$PKG_CONFIG"; then
5296 _pkg_min_version=0.9.0
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5298 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5299 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5301 $as_echo "yes" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5310 # Check whether --enable-quota was given.
5311 if test "${enable_quota+set}" = set; then :
5312 enableval=$enable_quota; if test "$enableval" = "no"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling quota support" >&5
5316 $as_echo "Disabling quota support" >&6; }
5320 $as_echo "#define CONFIG_QUOTA 1" >>confdefs.h
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling quota support" >&5
5324 $as_echo "Enabling quota support" >&6; }
5325 QUOTA_MAN_COMMENT=""
5330 $as_echo "#define CONFIG_QUOTA 1" >>confdefs.h
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling quota support by default" >&5
5334 $as_echo "Enabling quota support by default" >&6; }
5338 LIBQUOTA='$(LIB)/libquota'$LIB_EXT
5339 DEPLIBQUOTA=$LIBQUOTA
5340 STATIC_LIBQUOTA='$(LIB)/libquota'$STATIC_LIB_EXT
5341 DEPSTATIC_LIBQUOTA=$STATIC_LIBQUOTA
5342 PROFILED_LIBQUOTA='$(LIB)/libquota'$PROFILED_LIB_EXT
5343 DEPPROFILED_LIBQUOTA=$PROFILED_LIBQUOTA
5352 # Check whether --enable-backtrace was given.
5353 if test "${enable_backtrace+set}" = set; then :
5354 enableval=$enable_backtrace; if test "$enableval" = "no"
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling use of backtrace" >&5
5357 $as_echo "Disabling use of backtrace" >&6; }
5358 $as_echo "#define DISABLE_BACKTRACE 1" >>confdefs.h
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace" >&5
5362 $as_echo "Enabling use of backtrace" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace by default" >&5
5367 $as_echo "Enabling use of backtrace by default" >&6; }
5371 # Check whether --enable-debugfs was given.
5372 if test "${enable_debugfs+set}" = set; then :
5373 enableval=$enable_debugfs; if test "$enableval" = "no"
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling debugfs support" >&5
5376 $as_echo "Disabling debugfs support" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support" >&5
5381 $as_echo "Enabling debugfs support" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support by default" >&5
5386 $as_echo "Enabling debugfs support by default" >&6; }
5392 # Check whether --enable-e2scan was given.
5393 if test "${enable_e2scan+set}" = set; then :
5394 enableval=$enable_e2scan; if test "$enableval" = "no"
5396 echo "Disabling e2scan support"
5402 echo "Enabling e2scan support"
5406 echo "Enabling e2scan support by default"
5414 # Check whether --enable-imager was given.
5415 if test "${enable_imager+set}" = set; then :
5416 enableval=$enable_imager; if test "$enableval" = "no"
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2image support" >&5
5419 $as_echo "Disabling e2image support" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support" >&5
5424 $as_echo "Enabling e2image support" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support by default" >&5
5429 $as_echo "Enabling e2image support by default" >&6; }
5435 # Check whether --enable-resizer was given.
5436 if test "${enable_resizer+set}" = set; then :
5437 enableval=$enable_resizer; if test "$enableval" = "no"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2resize support" >&5
5440 $as_echo "Disabling e2resize support" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support" >&5
5445 $as_echo "Enabling e2resize support" >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support by default" >&5
5450 $as_echo "Enabling e2resize support by default" >&6; }
5456 # Check whether --enable-defrag was given.
5457 if test "${enable_defrag+set}" = set; then :
5458 enableval=$enable_defrag; if test "$enableval" = "no"
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support" >&5
5461 $as_echo "Disabling e4defrag support" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support" >&5
5466 $as_echo "Enabling e4defrag support" >&6; }
5470 if test -z "$WITH_DIET_LIBC"
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support by default" >&5
5473 $as_echo "Enabling e4defrag support by default" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support by default" >&5
5477 $as_echo "Disabling e4defrag support by default" >&6; }
5484 # Check whether --enable-fsck was given.
5485 if test "${enable_fsck+set}" = set; then :
5486 enableval=$enable_fsck; if test "$enableval" = "no"
5488 FSCK_PROG='' FSCK_MAN=''
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper" >&5
5490 $as_echo "Not building fsck wrapper" >&6; }
5492 FSCK_PROG=fsck FSCK_MAN=fsck.8
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper" >&5
5494 $as_echo "Building fsck wrapper" >&6; }
5500 FSCK_PROG='' FSCK_MAN=''
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper by default" >&5
5502 $as_echo "Not building fsck wrapper by default" >&6; }
5505 FSCK_PROG=fsck FSCK_MAN=fsck.8
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper by default" >&5
5507 $as_echo "Building fsck wrapper by default" >&6; }
5514 # Check whether --enable-e2initrd-helper was given.
5515 if test "${enable_e2initrd_helper+set}" = set; then :
5516 enableval=$enable_e2initrd_helper; if test "$enableval" = "no"
5518 E2INITRD_PROG='' E2INITRD_MAN=''
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building e2initrd helper" >&5
5520 $as_echo "Not building e2initrd helper" >&6; }
5522 E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper" >&5
5524 $as_echo "Building e2initrd helper" >&6; }
5528 E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper by default" >&5
5530 $as_echo "Building e2initrd helper by default" >&6; }
5536 # Check whether --enable-tls was given.
5537 if test "${enable_tls+set}" = set; then :
5538 enableval=$enable_tls; if test "$enableval" = "no"
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling thread local support" >&5
5542 $as_echo "Disabling thread local support" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling thread local support" >&5
5546 $as_echo "Enabling thread local support" >&6; }
5550 if test -n "$WITH_DIET_LIBC"
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Diet libc does not support thread local support" >&5
5554 $as_echo "Diet libc does not support thread local support" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Try using thread local support by default" >&5
5558 $as_echo "Try using thread local support by default" >&6; }
5563 if test "$try_tls" = "yes"
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
5567 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
5568 if ${ac_cv_tls+:} false; then :
5569 $as_echo_n "(cached) " >&6
5572 ax_tls_keywords="__thread __declspec(thread) none"
5573 for ax_tls_keyword in $ax_tls_keywords; do
5574 case $ax_tls_keyword in
5575 none) ac_cv_tls=none ; break ;;
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5582 static $ax_tls_keyword int bar;
5593 if ac_fn_c_try_compile "$LINENO"; then :
5594 ac_cv_tls=$ax_tls_keyword ; break
5599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5606 if test "$ac_cv_tls" != "none"; then
5608 cat >>confdefs.h <<_ACEOF
5609 #define TLS $ac_cv_tls
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
5614 $as_echo "$ac_cv_tls" >&6; }
5618 # Check whether --enable-uuidd was given.
5619 if test "${enable_uuidd+set}" = set; then :
5620 enableval=$enable_uuidd; if test "$enableval" = "no"
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building uuidd" >&5
5623 $as_echo "Not building uuidd" >&6; }
5626 $as_echo "#define USE_UUIDD 1" >>confdefs.h
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd" >&5
5630 $as_echo "Building uuidd" >&6; }
5634 $as_echo "#define USE_UUIDD 1" >>confdefs.h
5636 if test -z "$UUID_CMT"
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd by default" >&5
5640 $as_echo "Building uuidd by default" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling uuidd by default" >&5
5644 $as_echo "Disabling uuidd by default" >&6; }
5650 MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
5652 GETTEXT_PACKAGE=e2fsprogs
5654 VERSION="$E2FSPROGS_VERSION"
5657 cat >>confdefs.h <<_ACEOF
5658 #define PACKAGE "$PACKAGE"
5662 cat >>confdefs.h <<_ACEOF
5663 #define VERSION "$VERSION"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5671 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5673 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5674 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5675 $as_echo_n "(cached) " >&6
5677 cat >conftest.make <<\_ACEOF
5680 @echo '@@@%%%=$(MAKE)=@@@%%%'
5682 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5683 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5685 eval ac_cv_prog_make_${ac_make}_set=yes;;
5687 eval ac_cv_prog_make_${ac_make}_set=no;;
5691 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5693 $as_echo "yes" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5698 SET_MAKE="MAKE=${MAKE-make}"
5701 # Find a good install program. We prefer a C program (faster),
5702 # so one script is as good as another. But avoid the broken or
5703 # incompatible versions:
5704 # SysV /etc/install, /usr/sbin/install
5705 # SunOS /usr/etc/install
5706 # IRIX /sbin/install
5708 # AmigaOS /C/install, which installs bootblocks on floppy discs
5709 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5710 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5711 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5712 # OS/2's system install, which has a completely different semantic
5713 # ./install, which can be erroneously created by make from ./install.sh.
5714 # Reject install programs that cannot install multiple files.
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5716 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5717 if test -z "$INSTALL"; then
5718 if ${ac_cv_path_install+:} false; then :
5719 $as_echo_n "(cached) " >&6
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 # Account for people who put trailing slashes in PATH elements.
5727 case $as_dir/ in #((
5728 ./ | .// | /[cC]/* | \
5729 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5730 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5733 # OSF1 and SCO ODT 3.0 have their own names for install.
5734 # Don't use installbsd from OSF since it installs stuff as root
5736 for ac_prog in ginstall scoinst install; do
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5739 if test $ac_prog = install &&
5740 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5741 # AIX install. It has an incompatible calling convention.
5743 elif test $ac_prog = install &&
5744 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5745 # program-specific install script used by HP pwplus--don't use.
5748 rm -rf conftest.one conftest.two conftest.dir
5749 echo one > conftest.one
5750 echo two > conftest.two
5752 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5753 test -s conftest.one && test -s conftest.two &&
5754 test -s conftest.dir/conftest.one &&
5755 test -s conftest.dir/conftest.two
5757 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5770 rm -rf conftest.one conftest.two conftest.dir
5773 if test "${ac_cv_path_install+set}" = set; then
5774 INSTALL=$ac_cv_path_install
5776 # As a last resort, use the slow shell script. Don't cache a
5777 # value for INSTALL within a source directory, because that will
5778 # break other packages using the cache if that directory is
5779 # removed, or if the value is a relative name.
5780 INSTALL=$ac_install_sh
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5784 $as_echo "$INSTALL" >&6; }
5786 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5787 # It thinks the first close brace ends the variable substitution.
5788 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5790 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5792 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5796 if test -n "$ac_aux_dir"; then
5797 case "$ac_aux_dir" in
5798 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
5799 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5802 if test -z "$MKINSTALLDIRS"; then
5803 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5809 $as_echo_n "checking whether NLS is requested... " >&6; }
5810 # Check whether --enable-nls was given.
5811 if test "${enable_nls+set}" = set; then :
5812 enableval=$enable_nls; USE_NLS=$enableval
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5818 $as_echo "$USE_NLS" >&6; }
5825 # Prepare PATH_SEPARATOR.
5826 # The user is always right.
5827 if test "${PATH_SEPARATOR+set}" != set; then
5828 echo "#! /bin/sh" >conf$$.sh
5829 echo "exit 0" >>conf$$.sh
5831 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5839 # Find out how to test for executable files. Don't use a zero-byte file,
5840 # as systems may use methods other than mode bits to determine executability.
5841 cat >conf$$.file <<_ASEOF
5845 chmod +x conf$$.file
5846 if test -x conf$$.file >/dev/null 2>&1; then
5847 ac_executable_p="test -x"
5849 ac_executable_p="test -f"
5853 # Extract the first word of "msgfmt", so it can be a program name with args.
5854 set dummy msgfmt; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_path_MSGFMT+:} false; then :
5858 $as_echo_n "(cached) " >&6
5862 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5865 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5866 for ac_dir in $PATH; do
5868 test -z "$ac_dir" && ac_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5871 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5872 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5873 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5880 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5884 MSGFMT="$ac_cv_path_MSGFMT"
5885 if test "$MSGFMT" != ":"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5887 $as_echo "$MSGFMT" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5893 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5894 set dummy gmsgfmt; ac_word=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if ${ac_cv_path_GMSGFMT+:} false; then :
5898 $as_echo_n "(cached) " >&6
5902 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5924 GMSGFMT=$ac_cv_path_GMSGFMT
5925 if test -n "$GMSGFMT"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5927 $as_echo "$GMSGFMT" >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5936 # Prepare PATH_SEPARATOR.
5937 # The user is always right.
5938 if test "${PATH_SEPARATOR+set}" != set; then
5939 echo "#! /bin/sh" >conf$$.sh
5940 echo "exit 0" >>conf$$.sh
5942 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5950 # Find out how to test for executable files. Don't use a zero-byte file,
5951 # as systems may use methods other than mode bits to determine executability.
5952 cat >conf$$.file <<_ASEOF
5956 chmod +x conf$$.file
5957 if test -x conf$$.file >/dev/null 2>&1; then
5958 ac_executable_p="test -x"
5960 ac_executable_p="test -f"
5964 # Extract the first word of "xgettext", so it can be a program name with args.
5965 set dummy xgettext; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if ${ac_cv_path_XGETTEXT+:} false; then :
5969 $as_echo_n "(cached) " >&6
5973 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5976 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5977 for ac_dir in $PATH; do
5979 test -z "$ac_dir" && ac_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5982 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5983 (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
5984 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5991 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5995 XGETTEXT="$ac_cv_path_XGETTEXT"
5996 if test "$XGETTEXT" != ":"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5998 $as_echo "$XGETTEXT" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6007 # Prepare PATH_SEPARATOR.
6008 # The user is always right.
6009 if test "${PATH_SEPARATOR+set}" != set; then
6010 echo "#! /bin/sh" >conf$$.sh
6011 echo "exit 0" >>conf$$.sh
6013 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6021 # Find out how to test for executable files. Don't use a zero-byte file,
6022 # as systems may use methods other than mode bits to determine executability.
6023 cat >conf$$.file <<_ASEOF
6027 chmod +x conf$$.file
6028 if test -x conf$$.file >/dev/null 2>&1; then
6029 ac_executable_p="test -x"
6031 ac_executable_p="test -f"
6035 # Extract the first word of "msgmerge", so it can be a program name with args.
6036 set dummy msgmerge; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if ${ac_cv_path_MSGMERGE+:} false; then :
6040 $as_echo_n "(cached) " >&6
6044 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6047 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6048 for ac_dir in $PATH; do
6050 test -z "$ac_dir" && ac_dir=.
6051 for ac_exec_ext in '' $ac_executable_extensions; do
6052 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6053 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
6054 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
6061 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
6065 MSGMERGE="$ac_cv_path_MSGMERGE"
6066 if test "$MSGMERGE" != ":"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6068 $as_echo "$MSGMERGE" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6075 if test "$GMSGFMT" != ":"; then
6076 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
6077 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6080 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6082 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
6087 if test "$XGETTEXT" != ":"; then
6088 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
6089 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6093 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6099 ac_config_commands="$ac_config_commands default-1"
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_RANLIB+:} false; then :
6108 $as_echo_n "(cached) " >&6
6110 if test -n "$RANLIB"; then
6111 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 RANLIB=$ac_cv_prog_RANLIB
6131 if test -n "$RANLIB"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6133 $as_echo "$RANLIB" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if test -z "$ac_cv_prog_RANLIB"; then
6142 ac_ct_RANLIB=$RANLIB
6143 # Extract the first word of "ranlib", so it can be a program name with args.
6144 set dummy ranlib; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6148 $as_echo_n "(cached) " >&6
6150 if test -n "$ac_ct_RANLIB"; then
6151 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_RANLIB="ranlib"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6171 if test -n "$ac_ct_RANLIB"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6173 $as_echo "$ac_ct_RANLIB" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6179 if test "x$ac_ct_RANLIB" = x; then
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned=yes ;;
6188 RANLIB=$ac_ct_RANLIB
6191 RANLIB="$ac_cv_prog_RANLIB"
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
6196 $as_echo_n "checking for strerror in -lcposix... " >&6; }
6197 if ${ac_cv_lib_cposix_strerror+:} false; then :
6198 $as_echo_n "(cached) " >&6
6200 ac_check_lib_save_LIBS=$LIBS
6201 LIBS="-lcposix $LIBS"
6202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6203 /* end confdefs.h. */
6205 /* Override any GCC internal prototype to avoid an error.
6206 Use char because int might match the return type of a GCC
6207 builtin and then its argument prototype would still apply. */
6220 if ac_fn_c_try_link "$LINENO"; then :
6221 ac_cv_lib_cposix_strerror=yes
6223 ac_cv_lib_cposix_strerror=no
6225 rm -f core conftest.err conftest.$ac_objext \
6226 conftest$ac_exeext conftest.$ac_ext
6227 LIBS=$ac_check_lib_save_LIBS
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
6230 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
6231 if test "x$ac_cv_lib_cposix_strerror" = xyes; then :
6232 LIBS="$LIBS -lcposix"
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6239 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6240 if ${ac_cv_path_GREP+:} false; then :
6241 $as_echo_n "(cached) " >&6
6243 if test -z "$GREP"; then
6244 ac_path_GREP_found=false
6245 # Loop through the user's path and test for each of PROGNAME-LIST
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6250 test -z "$as_dir" && as_dir=.
6251 for ac_prog in grep ggrep; do
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6254 as_fn_executable_p "$ac_path_GREP" || continue
6255 # Check for GNU ac_path_GREP and select it if it is found.
6256 # Check for GNU $ac_path_GREP
6257 case `"$ac_path_GREP" --version 2>&1` in
6259 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6262 $as_echo_n 0123456789 >"conftest.in"
6265 cat "conftest.in" "conftest.in" >"conftest.tmp"
6266 mv "conftest.tmp" "conftest.in"
6267 cp "conftest.in" "conftest.nl"
6268 $as_echo 'GREP' >> "conftest.nl"
6269 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6271 as_fn_arith $ac_count + 1 && ac_count=$as_val
6272 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6273 # Best one so far, save it but keep looking for a better one
6274 ac_cv_path_GREP="$ac_path_GREP"
6275 ac_path_GREP_max=$ac_count
6277 # 10*(2^10) chars as input seems more than enough
6278 test $ac_count -gt 10 && break
6280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6283 $ac_path_GREP_found && break 3
6288 if test -z "$ac_cv_path_GREP"; then
6289 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6292 ac_cv_path_GREP=$GREP
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6297 $as_echo "$ac_cv_path_GREP" >&6; }
6298 GREP="$ac_cv_path_GREP"
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6302 $as_echo_n "checking for egrep... " >&6; }
6303 if ${ac_cv_path_EGREP+:} false; then :
6304 $as_echo_n "(cached) " >&6
6306 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6307 then ac_cv_path_EGREP="$GREP -E"
6309 if test -z "$EGREP"; then
6310 ac_path_EGREP_found=false
6311 # Loop through the user's path and test for each of PROGNAME-LIST
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6316 test -z "$as_dir" && as_dir=.
6317 for ac_prog in egrep; do
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6320 as_fn_executable_p "$ac_path_EGREP" || continue
6321 # Check for GNU ac_path_EGREP and select it if it is found.
6322 # Check for GNU $ac_path_EGREP
6323 case `"$ac_path_EGREP" --version 2>&1` in
6325 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6328 $as_echo_n 0123456789 >"conftest.in"
6331 cat "conftest.in" "conftest.in" >"conftest.tmp"
6332 mv "conftest.tmp" "conftest.in"
6333 cp "conftest.in" "conftest.nl"
6334 $as_echo 'EGREP' >> "conftest.nl"
6335 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6337 as_fn_arith $ac_count + 1 && ac_count=$as_val
6338 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6339 # Best one so far, save it but keep looking for a better one
6340 ac_cv_path_EGREP="$ac_path_EGREP"
6341 ac_path_EGREP_max=$ac_count
6343 # 10*(2^10) chars as input seems more than enough
6344 test $ac_count -gt 10 && break
6346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6349 $ac_path_EGREP_found && break 3
6354 if test -z "$ac_cv_path_EGREP"; then
6355 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6358 ac_cv_path_EGREP=$EGREP
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6364 $as_echo "$ac_cv_path_EGREP" >&6; }
6365 EGREP="$ac_cv_path_EGREP"
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6369 $as_echo_n "checking for ANSI C header files... " >&6; }
6370 if ${ac_cv_header_stdc+:} false; then :
6371 $as_echo_n "(cached) " >&6
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6388 if ac_fn_c_try_compile "$LINENO"; then :
6389 ac_cv_header_stdc=yes
6391 ac_cv_header_stdc=no
6393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6395 if test $ac_cv_header_stdc = yes; then
6396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6403 $EGREP "memchr" >/dev/null 2>&1; then :
6406 ac_cv_header_stdc=no
6412 if test $ac_cv_header_stdc = yes; then
6413 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6415 /* end confdefs.h. */
6419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6420 $EGREP "free" >/dev/null 2>&1; then :
6423 ac_cv_header_stdc=no
6429 if test $ac_cv_header_stdc = yes; then
6430 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6431 if test "$cross_compiling" = yes; then :
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6438 #if ((' ' & 0x0FF) == 0x020)
6439 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6440 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6442 # define ISLOWER(c) \
6443 (('a' <= (c) && (c) <= 'i') \
6444 || ('j' <= (c) && (c) <= 'r') \
6445 || ('s' <= (c) && (c) <= 'z'))
6446 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6449 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6454 for (i = 0; i < 256; i++)
6455 if (XOR (islower (i), ISLOWER (i))
6456 || toupper (i) != TOUPPER (i))
6461 if ac_fn_c_try_run "$LINENO"; then :
6464 ac_cv_header_stdc=no
6466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6467 conftest.$ac_objext conftest.beam conftest.$ac_ext
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6473 $as_echo "$ac_cv_header_stdc" >&6; }
6474 if test $ac_cv_header_stdc = yes; then
6476 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6481 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6482 if ${ac_cv_c_const+:} false; then :
6483 $as_echo_n "(cached) " >&6
6485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6486 /* end confdefs.h. */
6493 /* Ultrix mips cc rejects this sort of thing. */
6494 typedef int charset[2];
6495 const charset cs = { 0, 0 };
6496 /* SunOS 4.1.1 cc rejects this. */
6497 char const *const *pcpcc;
6499 /* NEC SVR4.0.2 mips cc rejects this. */
6500 struct point {int x, y;};
6501 static struct point const zero = {0,0};
6502 /* AIX XL C 1.02.0.0 rejects this.
6503 It does not let you subtract one const X* pointer from another in
6504 an arm of an if-expression whose if-part is not a constant
6506 const char *g = "string";
6507 pcpcc = &g + (g ? g-g : 0);
6508 /* HPUX 7.0 cc rejects these. */
6510 ppc = (char**) pcpcc;
6511 pcpcc = (char const *const *) ppc;
6512 { /* SCO 3.2v4 cc rejects this sort of thing. */
6515 char const *s = 0 ? (char *) 0 : (char const *) 0;
6520 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6522 const int *foo = &x[0];
6525 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6526 typedef const int *iptr;
6530 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6531 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6532 struct s { int j; const int *ap[3]; } bx;
6533 struct s *b = &bx; b->j = 5;
6535 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6539 return !cs[0] && !zero.x;
6546 if ac_fn_c_try_compile "$LINENO"; then :
6551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6554 $as_echo "$ac_cv_c_const" >&6; }
6555 if test $ac_cv_c_const = no; then
6557 $as_echo "#define const /**/" >>confdefs.h
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed" >&5
6563 $as_echo_n "checking for signed... " >&6; }
6564 if ${bh_cv_c_signed+:} false; then :
6565 $as_echo_n "(cached) " >&6
6567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6578 if ac_fn_c_try_compile "$LINENO"; then :
6583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bh_cv_c_signed" >&5
6586 $as_echo "$bh_cv_c_signed" >&6; }
6587 if test $bh_cv_c_signed = no; then
6589 $as_echo "#define signed /**/" >>confdefs.h
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6594 $as_echo_n "checking for inline... " >&6; }
6595 if ${ac_cv_c_inline+:} false; then :
6596 $as_echo_n "(cached) " >&6
6599 for ac_kw in inline __inline__ __inline; do
6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6604 static $ac_kw foo_t static_foo () {return 0; }
6605 $ac_kw foo_t foo () {return 0; }
6609 if ac_fn_c_try_compile "$LINENO"; then :
6610 ac_cv_c_inline=$ac_kw
6612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6613 test "$ac_cv_c_inline" != no && break
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6618 $as_echo "$ac_cv_c_inline" >&6; }
6620 case $ac_cv_c_inline in
6623 case $ac_cv_c_inline in
6625 *) ac_val=$ac_cv_c_inline;;
6627 cat >>confdefs.h <<_ACEOF
6629 #define inline $ac_val
6635 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6636 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6637 inttypes.h stdint.h unistd.h
6639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6640 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6643 cat >>confdefs.h <<_ACEOF
6644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6652 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6653 if test "x$ac_cv_type_off_t" = xyes; then :
6657 cat >>confdefs.h <<_ACEOF
6658 #define off_t long int
6663 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6664 if test "x$ac_cv_type_size_t" = xyes; then :
6668 cat >>confdefs.h <<_ACEOF
6669 #define size_t unsigned int
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
6676 $as_echo_n "checking for long long... " >&6; }
6677 if ${ac_cv_type_long_long+:} false; then :
6678 $as_echo_n "(cached) " >&6
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 long long ll = 1LL; int i = 63;
6686 long long llmax = (long long) -1;
6687 return ll << i | ll >> i | llmax / ll | llmax % ll;
6692 if ac_fn_c_try_link "$LINENO"; then :
6693 ac_cv_type_long_long=yes
6695 ac_cv_type_long_long=no
6697 rm -f core conftest.err conftest.$ac_objext \
6698 conftest$ac_exeext conftest.$ac_ext
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long" >&5
6701 $as_echo "$ac_cv_type_long_long" >&6; }
6702 if test $ac_cv_type_long_long = yes; then
6704 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
6710 $as_echo_n "checking for long double... " >&6; }
6711 if ${gt_cv_c_long_double+:} false; then :
6712 $as_echo_n "(cached) " >&6
6714 if test "$GCC" = yes; then
6715 gt_cv_c_long_double=yes
6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6720 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
6721 long double foo = 0.0;
6722 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
6723 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
6733 if ac_fn_c_try_compile "$LINENO"; then :
6734 gt_cv_c_long_double=yes
6736 gt_cv_c_long_double=no
6738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
6742 $as_echo "$gt_cv_c_long_double" >&6; }
6743 if test $gt_cv_c_long_double = yes; then
6745 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
6751 $as_echo_n "checking for wchar_t... " >&6; }
6752 if ${gt_cv_c_wchar_t+:} false; then :
6753 $as_echo_n "(cached) " >&6
6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6758 wchar_t foo = (wchar_t)'\0';
6767 if ac_fn_c_try_compile "$LINENO"; then :
6772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
6775 $as_echo "$gt_cv_c_wchar_t" >&6; }
6776 if test $gt_cv_c_wchar_t = yes; then
6778 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
6784 $as_echo_n "checking for wint_t... " >&6; }
6785 if ${gt_cv_c_wint_t+:} false; then :
6786 $as_echo_n "(cached) " >&6
6788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6789 /* end confdefs.h. */
6791 wint_t foo = (wchar_t)'\0';
6800 if ac_fn_c_try_compile "$LINENO"; then :
6805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
6808 $as_echo "$gt_cv_c_wint_t" >&6; }
6809 if test $gt_cv_c_wint_t = yes; then
6811 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
6817 $as_echo_n "checking for inttypes.h... " >&6; }
6818 if ${jm_ac_cv_header_inttypes_h+:} false; then :
6819 $as_echo_n "(cached) " >&6
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6823 #include <sys/types.h>
6824 #include <inttypes.h>
6828 uintmax_t i = (uintmax_t) -1;
6833 if ac_fn_c_try_compile "$LINENO"; then :
6834 jm_ac_cv_header_inttypes_h=yes
6836 jm_ac_cv_header_inttypes_h=no
6838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
6841 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
6842 if test $jm_ac_cv_header_inttypes_h = yes; then
6844 cat >>confdefs.h <<_ACEOF
6845 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
6852 $as_echo_n "checking for stdint.h... " >&6; }
6853 if ${jm_ac_cv_header_stdint_h+:} false; then :
6854 $as_echo_n "(cached) " >&6
6856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6857 /* end confdefs.h. */
6858 #include <sys/types.h>
6863 uintmax_t i = (uintmax_t) -1;
6868 if ac_fn_c_try_compile "$LINENO"; then :
6869 jm_ac_cv_header_stdint_h=yes
6871 jm_ac_cv_header_stdint_h=no
6873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
6876 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
6877 if test $jm_ac_cv_header_stdint_h = yes; then
6879 cat >>confdefs.h <<_ACEOF
6880 #define HAVE_STDINT_H_WITH_UINTMAX 1
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
6889 $as_echo_n "checking for intmax_t... " >&6; }
6890 if ${gt_cv_c_intmax_t+:} false; then :
6891 $as_echo_n "(cached) " >&6
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6898 #if HAVE_STDINT_H_WITH_UINTMAX
6901 #if HAVE_INTTYPES_H_WITH_UINTMAX
6902 #include <inttypes.h>
6913 if ac_fn_c_try_compile "$LINENO"; then :
6914 gt_cv_c_intmax_t=yes
6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
6921 $as_echo "$gt_cv_c_intmax_t" >&6; }
6922 if test $gt_cv_c_intmax_t = yes; then
6924 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
6931 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
6932 if ${gt_cv_func_printf_posix+:} false; then :
6933 $as_echo_n "(cached) " >&6
6936 if test "$cross_compiling" = yes; then :
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6941 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
6946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6947 $EGREP "notposix" >/dev/null 2>&1; then :
6948 gt_cv_func_printf_posix="guessing no"
6950 gt_cv_func_printf_posix="guessing yes"
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6961 /* The string "%2$d %1$d", with dollar characters protected from the shell's
6962 dollar expansion (possibly an autoconf bug). */
6963 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
6964 static char buf[100];
6967 sprintf (buf, format, 33, 55);
6968 return (strcmp (buf, "55 33") != 0);
6971 if ac_fn_c_try_run "$LINENO"; then :
6972 gt_cv_func_printf_posix=yes
6974 gt_cv_func_printf_posix=no
6976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6977 conftest.$ac_objext conftest.beam conftest.$ac_ext
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
6983 $as_echo "$gt_cv_func_printf_posix" >&6; }
6984 case $gt_cv_func_printf_posix in
6987 $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
6992 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6993 # for constant arguments. Useless!
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6995 $as_echo_n "checking for working alloca.h... " >&6; }
6996 if ${ac_cv_working_alloca_h+:} false; then :
6997 $as_echo_n "(cached) " >&6
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000 /* end confdefs.h. */
7005 char *p = (char *) alloca (2 * sizeof (int));
7011 if ac_fn_c_try_link "$LINENO"; then :
7012 ac_cv_working_alloca_h=yes
7014 ac_cv_working_alloca_h=no
7016 rm -f core conftest.err conftest.$ac_objext \
7017 conftest$ac_exeext conftest.$ac_ext
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7020 $as_echo "$ac_cv_working_alloca_h" >&6; }
7021 if test $ac_cv_working_alloca_h = yes; then
7023 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7028 $as_echo_n "checking for alloca... " >&6; }
7029 if ${ac_cv_func_alloca_works+:} false; then :
7030 $as_echo_n "(cached) " >&6
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7035 # define alloca __builtin_alloca
7038 # include <malloc.h>
7039 # define alloca _alloca
7041 # ifdef HAVE_ALLOCA_H
7042 # include <alloca.h>
7047 # ifndef alloca /* predefined by HP cc +Olibcalls */
7048 void *alloca (size_t);
7058 char *p = (char *) alloca (1);
7064 if ac_fn_c_try_link "$LINENO"; then :
7065 ac_cv_func_alloca_works=yes
7067 ac_cv_func_alloca_works=no
7069 rm -f core conftest.err conftest.$ac_objext \
7070 conftest$ac_exeext conftest.$ac_ext
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
7073 $as_echo "$ac_cv_func_alloca_works" >&6; }
7075 if test $ac_cv_func_alloca_works = yes; then
7077 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
7080 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7081 # that cause trouble. Some versions do not even contain alloca or
7082 # contain a buggy version. If you still want to use their alloca,
7083 # use ar to extract alloca.o from them instead of compiling alloca.c.
7085 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7087 $as_echo "#define C_ALLOCA 1" >>confdefs.h
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7091 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7092 if ${ac_cv_os_cray+:} false; then :
7093 $as_echo_n "(cached) " >&6
7095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7096 /* end confdefs.h. */
7097 #if defined CRAY && ! defined CRAY2
7104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7105 $EGREP "webecray" >/dev/null 2>&1; then :
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
7114 $as_echo "$ac_cv_os_cray" >&6; }
7115 if test $ac_cv_os_cray = yes; then
7116 for ac_func in _getb67 GETB67 getb67; do
7117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7119 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7121 cat >>confdefs.h <<_ACEOF
7122 #define CRAY_STACKSEG_END $ac_func
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7132 $as_echo_n "checking stack direction for C alloca... " >&6; }
7133 if ${ac_cv_c_stack_direction+:} false; then :
7134 $as_echo_n "(cached) " >&6
7136 if test "$cross_compiling" = yes; then :
7137 ac_cv_c_stack_direction=0
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 $ac_includes_default
7143 find_stack_direction (int *addr, int depth)
7148 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7149 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7154 main (int argc, char **argv)
7156 return find_stack_direction (0, argc + !argv + 20) < 0;
7159 if ac_fn_c_try_run "$LINENO"; then :
7160 ac_cv_c_stack_direction=1
7162 ac_cv_c_stack_direction=-1
7164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7165 conftest.$ac_objext conftest.beam conftest.$ac_ext
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
7170 $as_echo "$ac_cv_c_stack_direction" >&6; }
7171 cat >>confdefs.h <<_ACEOF
7172 #define STACK_DIRECTION $ac_cv_c_stack_direction
7181 for ac_header in $ac_header_list
7183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7184 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7186 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7187 cat >>confdefs.h <<_ACEOF
7188 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7202 for ac_func in getpagesize
7204 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7205 if test "x$ac_cv_func_getpagesize" = xyes; then :
7206 cat >>confdefs.h <<_ACEOF
7207 #define HAVE_GETPAGESIZE 1
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7214 $as_echo_n "checking for working mmap... " >&6; }
7215 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
7216 $as_echo_n "(cached) " >&6
7218 if test "$cross_compiling" = yes; then :
7219 ac_cv_func_mmap_fixed_mapped=no
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7223 $ac_includes_default
7224 /* malloc might have been renamed as rpl_malloc. */
7227 /* Thanks to Mike Haertel and Jim Avera for this test.
7228 Here is a matrix of mmap possibilities:
7229 mmap private not fixed
7230 mmap private fixed at somewhere currently unmapped
7231 mmap private fixed at somewhere already mapped
7232 mmap shared not fixed
7233 mmap shared fixed at somewhere currently unmapped
7234 mmap shared fixed at somewhere already mapped
7235 For private mappings, we should verify that changes cannot be read()
7236 back from the file, nor mmap's back from the file at a different
7237 address. (There have been systems where private was not correctly
7238 implemented like the infamous i386 svr4.0, and systems where the
7239 VM page cache was not coherent with the file system buffer cache
7240 like early versions of FreeBSD and possibly contemporary NetBSD.)
7241 For shared mappings, we should conversely verify that changes get
7242 propagated back to all the places they're supposed to be.
7244 Grep wants private fixed already mapped.
7245 The main things grep needs to know about mmap are:
7246 * does it exist and is it safe to write into the mmap'd area
7247 * how to use it (BSD variants) */
7250 #include <sys/mman.h>
7252 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7256 /* This mess was copied from the GNU getpagesize.h. */
7257 #ifndef HAVE_GETPAGESIZE
7258 # ifdef _SC_PAGESIZE
7259 # define getpagesize() sysconf(_SC_PAGESIZE)
7260 # else /* no _SC_PAGESIZE */
7261 # ifdef HAVE_SYS_PARAM_H
7262 # include <sys/param.h>
7263 # ifdef EXEC_PAGESIZE
7264 # define getpagesize() EXEC_PAGESIZE
7265 # else /* no EXEC_PAGESIZE */
7267 # define getpagesize() NBPG * CLSIZE
7270 # endif /* no CLSIZE */
7271 # else /* no NBPG */
7273 # define getpagesize() NBPC
7274 # else /* no NBPC */
7276 # define getpagesize() PAGESIZE
7277 # endif /* PAGESIZE */
7278 # endif /* no NBPC */
7279 # endif /* no NBPG */
7280 # endif /* no EXEC_PAGESIZE */
7281 # else /* no HAVE_SYS_PARAM_H */
7282 # define getpagesize() 8192 /* punt totally */
7283 # endif /* no HAVE_SYS_PARAM_H */
7284 # endif /* no _SC_PAGESIZE */
7286 #endif /* no HAVE_GETPAGESIZE */
7291 char *data, *data2, *data3;
7296 pagesize = getpagesize ();
7298 /* First, make a file with some known garbage in it. */
7299 data = (char *) malloc (pagesize);
7302 for (i = 0; i < pagesize; ++i)
7303 *(data + i) = rand ();
7305 fd = creat ("conftest.mmap", 0600);
7308 if (write (fd, data, pagesize) != pagesize)
7312 /* Next, check that the tail of a page is zero-filled. File must have
7313 non-zero length, otherwise we risk SIGBUS for entire page. */
7314 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7318 if (write (fd2, cdata2, 1) != 1)
7320 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7321 if (data2 == MAP_FAILED)
7323 for (i = 0; i < pagesize; ++i)
7327 if (munmap (data2, pagesize))
7330 /* Next, try to mmap the file at a fixed address which already has
7331 something else allocated at it. If we can, also make sure that
7332 we see the same garbage. */
7333 fd = open ("conftest.mmap", O_RDWR);
7336 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7337 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7339 for (i = 0; i < pagesize; ++i)
7340 if (*(data + i) != *(data2 + i))
7343 /* Finally, make sure that changes to the mapped area do not
7344 percolate back to the file as seen by read(). (This is a bug on
7345 some variants of i386 svr4.0.) */
7346 for (i = 0; i < pagesize; ++i)
7347 *(data2 + i) = *(data2 + i) + 1;
7348 data3 = (char *) malloc (pagesize);
7351 if (read (fd, data3, pagesize) != pagesize)
7353 for (i = 0; i < pagesize; ++i)
7354 if (*(data + i) != *(data3 + i))
7360 if ac_fn_c_try_run "$LINENO"; then :
7361 ac_cv_func_mmap_fixed_mapped=yes
7363 ac_cv_func_mmap_fixed_mapped=no
7365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7366 conftest.$ac_objext conftest.beam conftest.$ac_ext
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7371 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7372 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7374 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7377 rm -f conftest.mmap conftest.txt
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
7381 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
7382 if ${ac_cv_gnu_library_2_1+:} false; then :
7383 $as_echo_n "(cached) " >&6
7385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h. */
7388 #include <features.h>
7389 #ifdef __GNU_LIBRARY__
7390 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
7396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7397 $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
7398 ac_cv_gnu_library_2_1=yes
7400 ac_cv_gnu_library_2_1=no
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
7408 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
7410 GLIBC21="$ac_cv_gnu_library_2_1"
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
7416 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
7417 if ${gt_cv_int_divbyzero_sigfpe+:} false; then :
7418 $as_echo_n "(cached) " >&6
7421 if test "$cross_compiling" = yes; then :
7423 # Guess based on the CPU.
7425 alpha* | i3456786 | m68k | s390*)
7426 gt_cv_int_divbyzero_sigfpe="guessing yes";;
7428 gt_cv_int_divbyzero_sigfpe="guessing no";;
7432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7440 sigfpe_handler (int sig)
7442 sigfpe_handler (sig) int sig;
7445 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
7446 exit (sig != SIGFPE);
7456 signal (SIGFPE, sigfpe_handler);
7457 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
7458 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
7459 signal (SIGTRAP, sigfpe_handler);
7461 /* Linux/SPARC yields signal SIGILL. */
7462 #if defined (__sparc__) && defined (__linux__)
7463 signal (SIGILL, sigfpe_handler);
7472 if ac_fn_c_try_run "$LINENO"; then :
7473 gt_cv_int_divbyzero_sigfpe=yes
7475 gt_cv_int_divbyzero_sigfpe=no
7477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7478 conftest.$ac_objext conftest.beam conftest.$ac_ext
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
7484 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
7485 case "$gt_cv_int_divbyzero_sigfpe" in
7490 cat >>confdefs.h <<_ACEOF
7491 #define INTDIV0_RAISES_SIGFPE $value
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
7497 $as_echo_n "checking for unsigned long long... " >&6; }
7498 if ${ac_cv_type_unsigned_long_long+:} false; then :
7499 $as_echo_n "(cached) " >&6
7501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h. */
7503 unsigned long long ull = 1ULL; int i = 63;
7507 unsigned long long ullmax = (unsigned long long) -1;
7508 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
7513 if ac_fn_c_try_link "$LINENO"; then :
7514 ac_cv_type_unsigned_long_long=yes
7516 ac_cv_type_unsigned_long_long=no
7518 rm -f core conftest.err conftest.$ac_objext \
7519 conftest$ac_exeext conftest.$ac_ext
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
7522 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
7523 if test $ac_cv_type_unsigned_long_long = yes; then
7525 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
7532 if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
7534 test $ac_cv_type_unsigned_long_long = yes \
7535 && ac_type='unsigned long long' \
7536 || ac_type='unsigned long'
7538 cat >>confdefs.h <<_ACEOF
7539 #define uintmax_t $ac_type
7544 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
7550 $as_echo_n "checking for inttypes.h... " >&6; }
7551 if ${gt_cv_header_inttypes_h+:} false; then :
7552 $as_echo_n "(cached) " >&6
7555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7556 /* end confdefs.h. */
7557 #include <sys/types.h>
7558 #include <inttypes.h>
7567 if ac_fn_c_try_compile "$LINENO"; then :
7568 gt_cv_header_inttypes_h=yes
7570 gt_cv_header_inttypes_h=no
7572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
7576 $as_echo "$gt_cv_header_inttypes_h" >&6; }
7577 if test $gt_cv_header_inttypes_h = yes; then
7579 cat >>confdefs.h <<_ACEOF
7580 #define HAVE_INTTYPES_H 1
7587 if test $gt_cv_header_inttypes_h = yes; then
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
7589 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
7590 if ${gt_cv_inttypes_pri_broken+:} false; then :
7591 $as_echo_n "(cached) " >&6
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7596 #include <inttypes.h>
7609 if ac_fn_c_try_compile "$LINENO"; then :
7610 gt_cv_inttypes_pri_broken=no
7612 gt_cv_inttypes_pri_broken=yes
7614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
7618 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
7620 if test "$gt_cv_inttypes_pri_broken" = yes; then
7622 cat >>confdefs.h <<_ACEOF
7623 #define PRI_MACROS_BROKEN 1
7629 for ac_header in stdint.h
7631 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
7632 if test "x$ac_cv_header_stdint_h" = xyes; then :
7633 cat >>confdefs.h <<_ACEOF
7634 #define HAVE_STDINT_H 1
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
7642 $as_echo_n "checking for SIZE_MAX... " >&6; }
7644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7645 /* end confdefs.h. */
7656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7657 $EGREP "Found it" >/dev/null 2>&1; then :
7662 if test -z "$result"; then
7663 if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi" "#include <stddef.h>"; then :
7670 if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo" "#include <stddef.h>"; then :
7677 if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
7684 if test "$fits_in_uint" = 1; then
7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7689 extern unsigned long foo;
7699 if ac_fn_c_try_compile "$LINENO"; then :
7702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7704 if test -z "$result"; then
7705 if test "$fits_in_uint" = 1; then
7706 result="$res_hi$res_lo"U
7708 result="$res_hi$res_lo"UL
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7715 $as_echo "$result" >&6; }
7716 if test "$result" != yes; then
7718 cat >>confdefs.h <<_ACEOF
7719 #define SIZE_MAX $result
7726 for ac_header in stdint.h
7728 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
7729 if test "x$ac_cv_header_stdint_h" = xyes; then :
7730 cat >>confdefs.h <<_ACEOF
7731 #define HAVE_STDINT_H 1
7740 if test "X$prefix" = "XNONE"; then
7741 acl_final_prefix="$ac_default_prefix"
7743 acl_final_prefix="$prefix"
7745 if test "X$exec_prefix" = "XNONE"; then
7746 acl_final_exec_prefix='${prefix}'
7748 acl_final_exec_prefix="$exec_prefix"
7750 acl_save_prefix="$prefix"
7751 prefix="$acl_final_prefix"
7752 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
7753 prefix="$acl_save_prefix"
7756 # Check whether --with-gnu-ld was given.
7757 if test "${with_gnu_ld+set}" = set; then :
7758 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7763 # Prepare PATH_SEPARATOR.
7764 # The user is always right.
7765 if test "${PATH_SEPARATOR+set}" != set; then
7766 echo "#! /bin/sh" >conf$$.sh
7767 echo "exit 0" >>conf$$.sh
7769 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7777 if test "$GCC" = yes; then
7778 # Check if gcc -print-prog-name=ld gives a path.
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
7780 $as_echo_n "checking for ld used by GCC... " >&6; }
7783 # gcc leaves a trailing carriage return which upsets mingw
7784 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7786 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7789 # Accept absolute paths.
7790 [\\/]* | [A-Za-z]:[\\/]*)
7791 re_direlt='/[^/][^/]*/\.\./'
7792 # Canonicalize the path of ld
7793 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
7794 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7795 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
7797 test -z "$LD" && LD="$ac_prog"
7800 # If it fails, then pretend we aren't using GCC.
7804 # If it is relative, then search for the first ld in PATH.
7808 elif test "$with_gnu_ld" = yes; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7810 $as_echo_n "checking for GNU ld... " >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7813 $as_echo_n "checking for non-GNU ld... " >&6; }
7815 if ${acl_cv_path_LD+:} false; then :
7816 $as_echo_n "(cached) " >&6
7818 if test -z "$LD"; then
7819 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7820 for ac_dir in $PATH; do
7821 test -z "$ac_dir" && ac_dir=.
7822 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7823 acl_cv_path_LD="$ac_dir/$ac_prog"
7824 # Check to see if the program is GNU ld. I'd rather use --version,
7825 # but apparently some GNU ld's only accept -v.
7826 # Break only if it was the GNU/non-GNU ld that we prefer.
7827 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
7828 *GNU* | *'with BFD'*)
7829 test "$with_gnu_ld" != no && break ;;
7831 test "$with_gnu_ld" != yes && break ;;
7837 acl_cv_path_LD="$LD" # Let the user override the test with a path.
7841 LD="$acl_cv_path_LD"
7842 if test -n "$LD"; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7844 $as_echo "$LD" >&6; }
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7849 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7851 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7852 if ${acl_cv_prog_gnu_ld+:} false; then :
7853 $as_echo_n "(cached) " >&6
7855 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7856 case `$LD -v 2>&1 </dev/null` in
7857 *GNU* | *'with BFD'*)
7858 acl_cv_prog_gnu_ld=yes ;;
7860 acl_cv_prog_gnu_ld=no ;;
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7864 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7865 with_gnu_ld=$acl_cv_prog_gnu_ld
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7870 $as_echo_n "checking for shared library run path origin... " >&6; }
7871 if ${acl_cv_rpath+:} false; then :
7872 $as_echo_n "(cached) " >&6
7875 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
7876 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7883 $as_echo "$acl_cv_rpath" >&6; }
7885 libext="$acl_cv_libext"
7886 shlibext="$acl_cv_shlibext"
7887 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
7888 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
7889 hardcode_direct="$acl_cv_hardcode_direct"
7890 hardcode_minus_L="$acl_cv_hardcode_minus_L"
7891 # Check whether --enable-rpath was given.
7892 if test "${enable_rpath+set}" = set; then :
7893 enableval=$enable_rpath; :
7907 acl_save_prefix="$prefix"
7908 prefix="$acl_final_prefix"
7909 acl_save_exec_prefix="$exec_prefix"
7910 exec_prefix="$acl_final_exec_prefix"
7912 eval additional_includedir=\"$includedir\"
7913 eval additional_libdir=\"$libdir\"
7915 exec_prefix="$acl_save_exec_prefix"
7916 prefix="$acl_save_prefix"
7919 # Check whether --with-libiconv-prefix was given.
7920 if test "${with_libiconv_prefix+set}" = set; then :
7921 withval=$with_libiconv_prefix;
7922 if test "X$withval" = "Xno"; then
7925 if test "X$withval" = "X"; then
7927 acl_save_prefix="$prefix"
7928 prefix="$acl_final_prefix"
7929 acl_save_exec_prefix="$exec_prefix"
7930 exec_prefix="$acl_final_exec_prefix"
7932 eval additional_includedir=\"$includedir\"
7933 eval additional_libdir=\"$libdir\"
7935 exec_prefix="$acl_save_exec_prefix"
7936 prefix="$acl_save_prefix"
7939 additional_includedir="$withval/include"
7940 additional_libdir="$withval/lib"
7951 names_already_handled=
7952 names_next_round='iconv '
7953 while test -n "$names_next_round"; do
7954 names_this_round="$names_next_round"
7956 for name in $names_this_round; do
7958 for n in $names_already_handled; do
7959 if test "$n" = "$name"; then
7964 if test -z "$already_handled"; then
7965 names_already_handled="$names_already_handled $name"
7966 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7967 eval value=\"\$HAVE_LIB$uppername\"
7968 if test -n "$value"; then
7969 if test "$value" = yes; then
7970 eval value=\"\$LIB$uppername\"
7971 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
7972 eval value=\"\$LTLIB$uppername\"
7973 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
7982 if test $use_additional = yes; then
7983 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7984 found_dir="$additional_libdir"
7985 found_so="$additional_libdir/lib$name.$shlibext"
7986 if test -f "$additional_libdir/lib$name.la"; then
7987 found_la="$additional_libdir/lib$name.la"
7990 if test -f "$additional_libdir/lib$name.$libext"; then
7991 found_dir="$additional_libdir"
7992 found_a="$additional_libdir/lib$name.$libext"
7993 if test -f "$additional_libdir/lib$name.la"; then
7994 found_la="$additional_libdir/lib$name.la"
7999 if test "X$found_dir" = "X"; then
8000 for x in $LDFLAGS $LTLIBICONV; do
8002 acl_save_prefix="$prefix"
8003 prefix="$acl_final_prefix"
8004 acl_save_exec_prefix="$exec_prefix"
8005 exec_prefix="$acl_final_exec_prefix"
8007 exec_prefix="$acl_save_exec_prefix"
8008 prefix="$acl_save_prefix"
8012 dir=`echo "X$x" | sed -e 's/^X-L//'`
8013 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8015 found_so="$dir/lib$name.$shlibext"
8016 if test -f "$dir/lib$name.la"; then
8017 found_la="$dir/lib$name.la"
8020 if test -f "$dir/lib$name.$libext"; then
8022 found_a="$dir/lib$name.$libext"
8023 if test -f "$dir/lib$name.la"; then
8024 found_la="$dir/lib$name.la"
8030 if test "X$found_dir" != "X"; then
8035 if test "X$found_dir" != "X"; then
8036 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8037 if test "X$found_so" != "X"; then
8038 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
8039 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8042 for x in $ltrpathdirs; do
8043 if test "X$x" = "X$found_dir"; then
8048 if test -z "$haveit"; then
8049 ltrpathdirs="$ltrpathdirs $found_dir"
8051 if test "$hardcode_direct" = yes; then
8052 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8054 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
8055 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8057 for x in $rpathdirs; do
8058 if test "X$x" = "X$found_dir"; then
8063 if test -z "$haveit"; then
8064 rpathdirs="$rpathdirs $found_dir"
8068 for x in $LDFLAGS $LIBICONV; do
8070 acl_save_prefix="$prefix"
8071 prefix="$acl_final_prefix"
8072 acl_save_exec_prefix="$exec_prefix"
8073 exec_prefix="$acl_final_exec_prefix"
8075 exec_prefix="$acl_save_exec_prefix"
8076 prefix="$acl_save_prefix"
8078 if test "X$x" = "X-L$found_dir"; then
8083 if test -z "$haveit"; then
8084 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8086 if test "$hardcode_minus_L" != no; then
8087 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8089 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8095 if test "X$found_a" != "X"; then
8096 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
8098 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8101 additional_includedir=
8102 case "$found_dir" in
8104 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8105 additional_includedir="$basedir/include"
8108 if test "X$additional_includedir" != "X"; then
8109 if test "X$additional_includedir" != "X/usr/include"; then
8111 if test "X$additional_includedir" = "X/usr/local/include"; then
8112 if test -n "$GCC"; then
8114 linux*) haveit=yes;;
8118 if test -z "$haveit"; then
8119 for x in $CPPFLAGS $INCICONV; do
8121 acl_save_prefix="$prefix"
8122 prefix="$acl_final_prefix"
8123 acl_save_exec_prefix="$exec_prefix"
8124 exec_prefix="$acl_final_exec_prefix"
8126 exec_prefix="$acl_save_exec_prefix"
8127 prefix="$acl_save_prefix"
8129 if test "X$x" = "X-I$additional_includedir"; then
8134 if test -z "$haveit"; then
8135 if test -d "$additional_includedir"; then
8136 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8142 if test -n "$found_la"; then
8143 save_libdir="$libdir"
8145 */* | *\\*) . "$found_la" ;;
8146 *) . "./$found_la" ;;
8148 libdir="$save_libdir"
8149 for dep in $dependency_libs; do
8152 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8153 if test "X$additional_libdir" != "X/usr/lib"; then
8155 if test "X$additional_libdir" = "X/usr/local/lib"; then
8156 if test -n "$GCC"; then
8158 linux*) haveit=yes;;
8162 if test -z "$haveit"; then
8164 for x in $LDFLAGS $LIBICONV; do
8166 acl_save_prefix="$prefix"
8167 prefix="$acl_final_prefix"
8168 acl_save_exec_prefix="$exec_prefix"
8169 exec_prefix="$acl_final_exec_prefix"
8171 exec_prefix="$acl_save_exec_prefix"
8172 prefix="$acl_save_prefix"
8174 if test "X$x" = "X-L$additional_libdir"; then
8179 if test -z "$haveit"; then
8180 if test -d "$additional_libdir"; then
8181 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8185 for x in $LDFLAGS $LTLIBICONV; do
8187 acl_save_prefix="$prefix"
8188 prefix="$acl_final_prefix"
8189 acl_save_exec_prefix="$exec_prefix"
8190 exec_prefix="$acl_final_exec_prefix"
8192 exec_prefix="$acl_save_exec_prefix"
8193 prefix="$acl_save_prefix"
8195 if test "X$x" = "X-L$additional_libdir"; then
8200 if test -z "$haveit"; then
8201 if test -d "$additional_libdir"; then
8202 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8209 dir=`echo "X$dep" | sed -e 's/^X-R//'`
8210 if test "$enable_rpath" != no; then
8212 for x in $rpathdirs; do
8213 if test "X$x" = "X$dir"; then
8218 if test -z "$haveit"; then
8219 rpathdirs="$rpathdirs $dir"
8222 for x in $ltrpathdirs; do
8223 if test "X$x" = "X$dir"; then
8228 if test -z "$haveit"; then
8229 ltrpathdirs="$ltrpathdirs $dir"
8234 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8237 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8240 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
8241 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8247 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8248 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8254 if test "X$rpathdirs" != "X"; then
8255 if test -n "$hardcode_libdir_separator"; then
8257 for found_dir in $rpathdirs; do
8258 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8260 acl_save_libdir="$libdir"
8262 eval flag=\"$hardcode_libdir_flag_spec\"
8263 libdir="$acl_save_libdir"
8264 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8266 for found_dir in $rpathdirs; do
8267 acl_save_libdir="$libdir"
8269 eval flag=\"$hardcode_libdir_flag_spec\"
8270 libdir="$acl_save_libdir"
8271 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8275 if test "X$ltrpathdirs" != "X"; then
8276 for found_dir in $ltrpathdirs; do
8277 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8288 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
8289 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
8293 $as_echo "#define ptrdiff_t long" >>confdefs.h
8298 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
8299 stdlib.h string.h unistd.h sys/param.h
8301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8302 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8303 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8304 cat >>confdefs.h <<_ACEOF
8305 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8312 for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
8313 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
8314 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
8317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8319 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8320 cat >>confdefs.h <<_ACEOF
8321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
8330 $as_echo_n "checking whether _snprintf is declared... " >&6; }
8331 if ${ac_cv_have_decl__snprintf+:} false; then :
8332 $as_echo_n "(cached) " >&6
8334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8335 /* end confdefs.h. */
8342 char *p = (char *) _snprintf;
8349 if ac_fn_c_try_compile "$LINENO"; then :
8350 ac_cv_have_decl__snprintf=yes
8352 ac_cv_have_decl__snprintf=no
8354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
8357 $as_echo "$ac_cv_have_decl__snprintf" >&6; }
8358 if test $ac_cv_have_decl__snprintf = yes; then
8364 cat >>confdefs.h <<_ACEOF
8365 #define HAVE_DECL__SNPRINTF $gt_value
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
8371 $as_echo_n "checking whether _snwprintf is declared... " >&6; }
8372 if ${ac_cv_have_decl__snwprintf+:} false; then :
8373 $as_echo_n "(cached) " >&6
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8383 char *p = (char *) _snwprintf;
8390 if ac_fn_c_try_compile "$LINENO"; then :
8391 ac_cv_have_decl__snwprintf=yes
8393 ac_cv_have_decl__snwprintf=no
8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
8398 $as_echo "$ac_cv_have_decl__snwprintf" >&6; }
8399 if test $ac_cv_have_decl__snwprintf = yes; then
8405 cat >>confdefs.h <<_ACEOF
8406 #define HAVE_DECL__SNWPRINTF $gt_value
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
8413 $as_echo_n "checking whether feof_unlocked is declared... " >&6; }
8414 if ${ac_cv_have_decl_feof_unlocked+:} false; then :
8415 $as_echo_n "(cached) " >&6
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8424 #ifndef feof_unlocked
8425 char *p = (char *) feof_unlocked;
8432 if ac_fn_c_try_compile "$LINENO"; then :
8433 ac_cv_have_decl_feof_unlocked=yes
8435 ac_cv_have_decl_feof_unlocked=no
8437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
8440 $as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
8441 if test $ac_cv_have_decl_feof_unlocked = yes; then
8447 cat >>confdefs.h <<_ACEOF
8448 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
8454 $as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
8455 if ${ac_cv_have_decl_fgets_unlocked+:} false; then :
8456 $as_echo_n "(cached) " >&6
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8465 #ifndef fgets_unlocked
8466 char *p = (char *) fgets_unlocked;
8473 if ac_fn_c_try_compile "$LINENO"; then :
8474 ac_cv_have_decl_fgets_unlocked=yes
8476 ac_cv_have_decl_fgets_unlocked=no
8478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
8481 $as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
8482 if test $ac_cv_have_decl_fgets_unlocked = yes; then
8488 cat >>confdefs.h <<_ACEOF
8489 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
8495 $as_echo_n "checking whether getc_unlocked is declared... " >&6; }
8496 if ${ac_cv_have_decl_getc_unlocked+:} false; then :
8497 $as_echo_n "(cached) " >&6
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8506 #ifndef getc_unlocked
8507 char *p = (char *) getc_unlocked;
8514 if ac_fn_c_try_compile "$LINENO"; then :
8515 ac_cv_have_decl_getc_unlocked=yes
8517 ac_cv_have_decl_getc_unlocked=no
8519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
8522 $as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
8523 if test $ac_cv_have_decl_getc_unlocked = yes; then
8529 cat >>confdefs.h <<_ACEOF
8530 #define HAVE_DECL_GETC_UNLOCKED $gt_value
8535 case $gt_cv_func_printf_posix in
8536 *yes) HAVE_POSIX_PRINTF=1 ;;
8537 *) HAVE_POSIX_PRINTF=0 ;;
8540 if test "$ac_cv_func_asprintf" = yes; then
8546 if test "$ac_cv_func_snprintf" = yes; then
8552 if test "$ac_cv_func_wprintf" = yes; then
8564 am_save_CPPFLAGS="$CPPFLAGS"
8566 for element in $INCICONV; do
8568 for x in $CPPFLAGS; do
8570 acl_save_prefix="$prefix"
8571 prefix="$acl_final_prefix"
8572 acl_save_exec_prefix="$exec_prefix"
8573 exec_prefix="$acl_final_exec_prefix"
8575 exec_prefix="$acl_save_exec_prefix"
8576 prefix="$acl_save_prefix"
8578 if test "X$x" = "X$element"; then
8583 if test -z "$haveit"; then
8584 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
8590 $as_echo_n "checking for iconv... " >&6; }
8591 if ${am_cv_func_iconv+:} false; then :
8592 $as_echo_n "(cached) " >&6
8595 am_cv_func_iconv="no, consider installing GNU libiconv"
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8604 iconv_t cd = iconv_open("","");
8605 iconv(cd,NULL,NULL,NULL,NULL);
8611 if ac_fn_c_try_link "$LINENO"; then :
8612 am_cv_func_iconv=yes
8614 rm -f core conftest.err conftest.$ac_objext \
8615 conftest$ac_exeext conftest.$ac_ext
8616 if test "$am_cv_func_iconv" != yes; then
8617 am_save_LIBS="$LIBS"
8618 LIBS="$LIBS $LIBICONV"
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8626 iconv_t cd = iconv_open("","");
8627 iconv(cd,NULL,NULL,NULL,NULL);
8633 if ac_fn_c_try_link "$LINENO"; then :
8635 am_cv_func_iconv=yes
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 LIBS="$am_save_LIBS"
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8644 $as_echo "$am_cv_func_iconv" >&6; }
8645 if test "$am_cv_func_iconv" = yes; then
8647 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8650 if test "$am_cv_lib_iconv" = yes; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8652 $as_echo_n "checking how to link with libiconv... " >&6; }
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8654 $as_echo "$LIBICONV" >&6; }
8656 CPPFLAGS="$am_save_CPPFLAGS"
8663 if test "$am_cv_func_iconv" = yes; then
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
8665 $as_echo_n "checking for iconv declaration... " >&6; }
8666 if ${am_cv_proto_iconv+:} false; then :
8667 $as_echo_n "(cached) " >&6
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8679 #if defined(__STDC__) || defined(__cplusplus)
8680 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8693 if ac_fn_c_try_compile "$LINENO"; then :
8694 am_cv_proto_iconv_arg1=""
8696 am_cv_proto_iconv_arg1="const"
8698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8699 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
8702 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
8704 }$am_cv_proto_iconv" >&5
8706 }$am_cv_proto_iconv" >&6; }
8708 cat >>confdefs.h <<_ACEOF
8709 #define ICONV_CONST $am_cv_proto_iconv_arg1
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
8716 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
8717 if ${am_cv_langinfo_codeset+:} false; then :
8718 $as_echo_n "(cached) " >&6
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 #include <langinfo.h>
8726 char* cs = nl_langinfo(CODESET);
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 am_cv_langinfo_codeset=yes
8734 am_cv_langinfo_codeset=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
8741 $as_echo "$am_cv_langinfo_codeset" >&6; }
8742 if test $am_cv_langinfo_codeset = yes; then
8744 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
8748 if test $ac_cv_header_locale_h = yes; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
8751 $as_echo_n "checking for LC_MESSAGES... " >&6; }
8752 if ${am_cv_val_LC_MESSAGES+:} false; then :
8753 $as_echo_n "(cached) " >&6
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 am_cv_val_LC_MESSAGES=yes
8769 am_cv_val_LC_MESSAGES=no
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
8775 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
8776 if test $am_cv_val_LC_MESSAGES = yes; then
8778 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
8784 for ac_prog in bison
8786 # Extract the first word of "$ac_prog", so it can be a program name with args.
8787 set dummy $ac_prog; ac_word=$2
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8789 $as_echo_n "checking for $ac_word... " >&6; }
8790 if ${ac_cv_prog_INTLBISON+:} false; then :
8791 $as_echo_n "(cached) " >&6
8793 if test -n "$INTLBISON"; then
8794 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
8796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800 test -z "$as_dir" && as_dir=.
8801 for ac_exec_ext in '' $ac_executable_extensions; do
8802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8803 ac_cv_prog_INTLBISON="$ac_prog"
8804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8813 INTLBISON=$ac_cv_prog_INTLBISON
8814 if test -n "$INTLBISON"; then
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
8816 $as_echo "$INTLBISON" >&6; }
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8819 $as_echo "no" >&6; }
8823 test -n "$INTLBISON" && break
8826 if test -z "$INTLBISON"; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
8830 $as_echo_n "checking version of bison... " >&6; }
8831 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
8832 case $ac_prog_version in
8833 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
8834 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
8835 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
8836 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
8839 $as_echo "$ac_prog_version" >&6; }
8841 if test $ac_verc_fail = yes; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8861 $as_echo_n "checking whether NLS is requested... " >&6; }
8862 # Check whether --enable-nls was given.
8863 if test "${enable_nls+set}" = set; then :
8864 enableval=$enable_nls; USE_NLS=$enableval
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8870 $as_echo "$USE_NLS" >&6; }
8875 BUILD_INCLUDED_LIBINTL=no
8876 USE_INCLUDED_LIBINTL=no
8882 if test "$USE_NLS" = "yes"; then
8883 gt_use_preinstalled_gnugettext=no
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
8886 $as_echo_n "checking whether included gettext is requested... " >&6; }
8888 # Check whether --with-included-gettext was given.
8889 if test "${with_included_gettext+set}" = set; then :
8890 withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
8892 nls_cv_force_use_gnu_gettext=no
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
8896 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
8898 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
8899 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
8907 $as_echo_n "checking for GNU gettext in libc... " >&6; }
8908 if ${gt_cv_func_gnugettext1_libc+:} false; then :
8909 $as_echo_n "(cached) " >&6
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8913 #include <libintl.h>
8914 extern int _nl_msg_cat_cntr;
8915 extern int *_nl_domain_bindings;
8919 bindtextdomain ("", "");
8920 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
8925 if ac_fn_c_try_link "$LINENO"; then :
8926 gt_cv_func_gnugettext1_libc=yes
8928 gt_cv_func_gnugettext1_libc=no
8930 rm -f core conftest.err conftest.$ac_objext \
8931 conftest$ac_exeext conftest.$ac_ext
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
8934 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
8936 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
8942 acl_save_prefix="$prefix"
8943 prefix="$acl_final_prefix"
8944 acl_save_exec_prefix="$exec_prefix"
8945 exec_prefix="$acl_final_exec_prefix"
8947 eval additional_includedir=\"$includedir\"
8948 eval additional_libdir=\"$libdir\"
8950 exec_prefix="$acl_save_exec_prefix"
8951 prefix="$acl_save_prefix"
8954 # Check whether --with-libintl-prefix was given.
8955 if test "${with_libintl_prefix+set}" = set; then :
8956 withval=$with_libintl_prefix;
8957 if test "X$withval" = "Xno"; then
8960 if test "X$withval" = "X"; then
8962 acl_save_prefix="$prefix"
8963 prefix="$acl_final_prefix"
8964 acl_save_exec_prefix="$exec_prefix"
8965 exec_prefix="$acl_final_exec_prefix"
8967 eval additional_includedir=\"$includedir\"
8968 eval additional_libdir=\"$libdir\"
8970 exec_prefix="$acl_save_exec_prefix"
8971 prefix="$acl_save_prefix"
8974 additional_includedir="$withval/include"
8975 additional_libdir="$withval/lib"
8986 names_already_handled=
8987 names_next_round='intl '
8988 while test -n "$names_next_round"; do
8989 names_this_round="$names_next_round"
8991 for name in $names_this_round; do
8993 for n in $names_already_handled; do
8994 if test "$n" = "$name"; then
8999 if test -z "$already_handled"; then
9000 names_already_handled="$names_already_handled $name"
9001 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9002 eval value=\"\$HAVE_LIB$uppername\"
9003 if test -n "$value"; then
9004 if test "$value" = yes; then
9005 eval value=\"\$LIB$uppername\"
9006 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
9007 eval value=\"\$LTLIB$uppername\"
9008 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
9017 if test $use_additional = yes; then
9018 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9019 found_dir="$additional_libdir"
9020 found_so="$additional_libdir/lib$name.$shlibext"
9021 if test -f "$additional_libdir/lib$name.la"; then
9022 found_la="$additional_libdir/lib$name.la"
9025 if test -f "$additional_libdir/lib$name.$libext"; then
9026 found_dir="$additional_libdir"
9027 found_a="$additional_libdir/lib$name.$libext"
9028 if test -f "$additional_libdir/lib$name.la"; then
9029 found_la="$additional_libdir/lib$name.la"
9034 if test "X$found_dir" = "X"; then
9035 for x in $LDFLAGS $LTLIBINTL; do
9037 acl_save_prefix="$prefix"
9038 prefix="$acl_final_prefix"
9039 acl_save_exec_prefix="$exec_prefix"
9040 exec_prefix="$acl_final_exec_prefix"
9042 exec_prefix="$acl_save_exec_prefix"
9043 prefix="$acl_save_prefix"
9047 dir=`echo "X$x" | sed -e 's/^X-L//'`
9048 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9050 found_so="$dir/lib$name.$shlibext"
9051 if test -f "$dir/lib$name.la"; then
9052 found_la="$dir/lib$name.la"
9055 if test -f "$dir/lib$name.$libext"; then
9057 found_a="$dir/lib$name.$libext"
9058 if test -f "$dir/lib$name.la"; then
9059 found_la="$dir/lib$name.la"
9065 if test "X$found_dir" != "X"; then
9070 if test "X$found_dir" != "X"; then
9071 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
9072 if test "X$found_so" != "X"; then
9073 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
9074 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
9077 for x in $ltrpathdirs; do
9078 if test "X$x" = "X$found_dir"; then
9083 if test -z "$haveit"; then
9084 ltrpathdirs="$ltrpathdirs $found_dir"
9086 if test "$hardcode_direct" = yes; then
9087 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
9089 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
9090 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
9092 for x in $rpathdirs; do
9093 if test "X$x" = "X$found_dir"; then
9098 if test -z "$haveit"; then
9099 rpathdirs="$rpathdirs $found_dir"
9103 for x in $LDFLAGS $LIBINTL; do
9105 acl_save_prefix="$prefix"
9106 prefix="$acl_final_prefix"
9107 acl_save_exec_prefix="$exec_prefix"
9108 exec_prefix="$acl_final_exec_prefix"
9110 exec_prefix="$acl_save_exec_prefix"
9111 prefix="$acl_save_prefix"
9113 if test "X$x" = "X-L$found_dir"; then
9118 if test -z "$haveit"; then
9119 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
9121 if test "$hardcode_minus_L" != no; then
9122 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
9124 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
9130 if test "X$found_a" != "X"; then
9131 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
9133 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
9136 additional_includedir=
9137 case "$found_dir" in
9139 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9140 additional_includedir="$basedir/include"
9143 if test "X$additional_includedir" != "X"; then
9144 if test "X$additional_includedir" != "X/usr/include"; then
9146 if test "X$additional_includedir" = "X/usr/local/include"; then
9147 if test -n "$GCC"; then
9149 linux*) haveit=yes;;
9153 if test -z "$haveit"; then
9154 for x in $CPPFLAGS $INCINTL; do
9156 acl_save_prefix="$prefix"
9157 prefix="$acl_final_prefix"
9158 acl_save_exec_prefix="$exec_prefix"
9159 exec_prefix="$acl_final_exec_prefix"
9161 exec_prefix="$acl_save_exec_prefix"
9162 prefix="$acl_save_prefix"
9164 if test "X$x" = "X-I$additional_includedir"; then
9169 if test -z "$haveit"; then
9170 if test -d "$additional_includedir"; then
9171 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
9177 if test -n "$found_la"; then
9178 save_libdir="$libdir"
9180 */* | *\\*) . "$found_la" ;;
9181 *) . "./$found_la" ;;
9183 libdir="$save_libdir"
9184 for dep in $dependency_libs; do
9187 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9188 if test "X$additional_libdir" != "X/usr/lib"; then
9190 if test "X$additional_libdir" = "X/usr/local/lib"; then
9191 if test -n "$GCC"; then
9193 linux*) haveit=yes;;
9197 if test -z "$haveit"; then
9199 for x in $LDFLAGS $LIBINTL; do
9201 acl_save_prefix="$prefix"
9202 prefix="$acl_final_prefix"
9203 acl_save_exec_prefix="$exec_prefix"
9204 exec_prefix="$acl_final_exec_prefix"
9206 exec_prefix="$acl_save_exec_prefix"
9207 prefix="$acl_save_prefix"
9209 if test "X$x" = "X-L$additional_libdir"; then
9214 if test -z "$haveit"; then
9215 if test -d "$additional_libdir"; then
9216 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
9220 for x in $LDFLAGS $LTLIBINTL; do
9222 acl_save_prefix="$prefix"
9223 prefix="$acl_final_prefix"
9224 acl_save_exec_prefix="$exec_prefix"
9225 exec_prefix="$acl_final_exec_prefix"
9227 exec_prefix="$acl_save_exec_prefix"
9228 prefix="$acl_save_prefix"
9230 if test "X$x" = "X-L$additional_libdir"; then
9235 if test -z "$haveit"; then
9236 if test -d "$additional_libdir"; then
9237 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
9244 dir=`echo "X$dep" | sed -e 's/^X-R//'`
9245 if test "$enable_rpath" != no; then
9247 for x in $rpathdirs; do
9248 if test "X$x" = "X$dir"; then
9253 if test -z "$haveit"; then
9254 rpathdirs="$rpathdirs $dir"
9257 for x in $ltrpathdirs; do
9258 if test "X$x" = "X$dir"; then
9263 if test -z "$haveit"; then
9264 ltrpathdirs="$ltrpathdirs $dir"
9269 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9272 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9275 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
9276 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9282 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
9283 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9289 if test "X$rpathdirs" != "X"; then
9290 if test -n "$hardcode_libdir_separator"; then
9292 for found_dir in $rpathdirs; do
9293 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9295 acl_save_libdir="$libdir"
9297 eval flag=\"$hardcode_libdir_flag_spec\"
9298 libdir="$acl_save_libdir"
9299 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9301 for found_dir in $rpathdirs; do
9302 acl_save_libdir="$libdir"
9304 eval flag=\"$hardcode_libdir_flag_spec\"
9305 libdir="$acl_save_libdir"
9306 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9310 if test "X$ltrpathdirs" != "X"; then
9311 for found_dir in $ltrpathdirs; do
9312 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
9317 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
9318 if ${gt_cv_func_gnugettext1_libintl+:} false; then :
9319 $as_echo_n "(cached) " >&6
9321 gt_save_CPPFLAGS="$CPPFLAGS"
9322 CPPFLAGS="$CPPFLAGS $INCINTL"
9323 gt_save_LIBS="$LIBS"
9324 LIBS="$LIBS $LIBINTL"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9327 #include <libintl.h>
9328 extern int _nl_msg_cat_cntr;
9333 const char *_nl_expand_alias ();
9337 bindtextdomain ("", "");
9338 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
9343 if ac_fn_c_try_link "$LINENO"; then :
9344 gt_cv_func_gnugettext1_libintl=yes
9346 gt_cv_func_gnugettext1_libintl=no
9348 rm -f core conftest.err conftest.$ac_objext \
9349 conftest$ac_exeext conftest.$ac_ext
9350 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
9351 LIBS="$LIBS $LIBICONV"
9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9354 #include <libintl.h>
9355 extern int _nl_msg_cat_cntr;
9360 const char *_nl_expand_alias ();
9364 bindtextdomain ("", "");
9365 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 LIBINTL="$LIBINTL $LIBICONV"
9372 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
9373 gt_cv_func_gnugettext1_libintl=yes
9376 rm -f core conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9379 CPPFLAGS="$gt_save_CPPFLAGS"
9380 LIBS="$gt_save_LIBS"
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
9383 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
9386 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
9387 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
9388 && test "$PACKAGE" != gettext-runtime \
9389 && test "$PACKAGE" != gettext-tools; }; then
9390 gt_use_preinstalled_gnugettext=yes
9398 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
9399 nls_cv_use_gnu_gettext=yes
9403 if test "$nls_cv_use_gnu_gettext" = "yes"; then
9404 BUILD_INCLUDED_LIBINTL=yes
9405 USE_INCLUDED_LIBINTL=yes
9406 LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
9407 LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
9408 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
9411 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9412 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9417 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9418 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9420 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
9428 $as_echo_n "checking whether to use NLS... " >&6; }
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
9430 $as_echo "$USE_NLS" >&6; }
9431 if test "$USE_NLS" = "yes"; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
9433 $as_echo_n "checking where the gettext function comes from... " >&6; }
9434 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9435 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
9436 gt_source="external libintl"
9441 gt_source="included intl directory"
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
9444 $as_echo "$gt_source" >&6; }
9447 if test "$USE_NLS" = "yes"; then
9449 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9450 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
9452 $as_echo_n "checking how to link with libintl... " >&6; }
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
9454 $as_echo "$LIBINTL" >&6; }
9456 for element in $INCINTL; do
9458 for x in $CPPFLAGS; do
9460 acl_save_prefix="$prefix"
9461 prefix="$acl_final_prefix"
9462 acl_save_exec_prefix="$exec_prefix"
9463 exec_prefix="$acl_final_exec_prefix"
9465 exec_prefix="$acl_save_exec_prefix"
9466 prefix="$acl_save_prefix"
9468 if test "X$x" = "X$element"; then
9473 if test -z "$haveit"; then
9474 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9481 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
9484 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
9492 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
9493 BUILD_INCLUDED_LIBINTL=yes
9501 nls_cv_header_libgt=
9512 if test "$USE_INCLUDED_LIBINTL" = yes; then
9513 INTLOBJS="\$(GETTOBJS)"
9517 INTL_LIBTOOL_SUFFIX_PREFIX=
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9530 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
9532 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9533 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
9534 $as_echo_n "(cached) " >&6
9536 cat >conftest.make <<\_ACEOF
9539 @echo '@@@%%%=$(MAKE)=@@@%%%'
9541 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9542 case `${MAKE-make} -f conftest.make 2>/dev/null` in
9544 eval ac_cv_prog_make_${ac_make}_set=yes;;
9546 eval ac_cv_prog_make_${ac_make}_set=no;;
9550 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9552 $as_echo "yes" >&6; }
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9557 SET_MAKE="MAKE=${MAKE-make}"
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
9561 $as_echo_n "checking for GNU make... " >&6; }
9562 if ${_cv_gnu_make_command+:} false; then :
9563 $as_echo_n "(cached) " >&6
9565 _cv_gnu_make_command='' ;
9566 for a in "$MAKE" make gmake gnumake ; do
9567 if test -z "$a" ; then continue ; fi ;
9568 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
9569 _cv_gnu_make_command=$a ;
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
9576 $as_echo "$_cv_gnu_make_command" >&6; } ;
9577 if test "x$_cv_gnu_make_command" != "x" ; then
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
9584 $as_echo "\"Not found\"" >&6; };
9589 # Extract the first word of "ln", so it can be a program name with args.
9590 set dummy ln; ac_word=$2
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9592 $as_echo_n "checking for $ac_word... " >&6; }
9593 if ${ac_cv_path_LN+:} false; then :
9594 $as_echo_n "(cached) " >&6
9598 ac_cv_path_LN="$LN" # Let the user override the test with a path.
9601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9605 test -z "$as_dir" && as_dir=.
9606 for ac_exec_ext in '' $ac_executable_extensions; do
9607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9608 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9616 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
9621 if test -n "$LN"; then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
9623 $as_echo "$LN" >&6; }
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 $as_echo "no" >&6; }
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9631 $as_echo_n "checking whether ln -s works... " >&6; }
9633 if test "$LN_S" = "ln -s"; then
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9635 $as_echo "yes" >&6; }
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9638 $as_echo "no, using $LN_S" >&6; }
9641 # Extract the first word of "mv", so it can be a program name with args.
9642 set dummy mv; ac_word=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9644 $as_echo_n "checking for $ac_word... " >&6; }
9645 if ${ac_cv_path_MV+:} false; then :
9646 $as_echo_n "(cached) " >&6
9650 ac_cv_path_MV="$MV" # Let the user override the test with a path.
9653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 test -z "$as_dir" && as_dir=.
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9660 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
9661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9668 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
9673 if test -n "$MV"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
9675 $as_echo "$MV" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 $as_echo "no" >&6; }
9682 # Extract the first word of "cp", so it can be a program name with args.
9683 set dummy cp; ac_word=$2
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9685 $as_echo_n "checking for $ac_word... " >&6; }
9686 if ${ac_cv_path_CP+:} false; then :
9687 $as_echo_n "(cached) " >&6
9691 ac_cv_path_CP="$CP" # Let the user override the test with a path.
9694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9698 test -z "$as_dir" && as_dir=.
9699 for ac_exec_ext in '' $ac_executable_extensions; do
9700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9701 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
9702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9709 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
9714 if test -n "$CP"; then
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
9716 $as_echo "$CP" >&6; }
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9719 $as_echo "no" >&6; }
9723 # Extract the first word of "rm", so it can be a program name with args.
9724 set dummy rm; ac_word=$2
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9726 $as_echo_n "checking for $ac_word... " >&6; }
9727 if ${ac_cv_path_RM+:} false; then :
9728 $as_echo_n "(cached) " >&6
9732 ac_cv_path_RM="$RM" # Let the user override the test with a path.
9735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739 test -z "$as_dir" && as_dir=.
9740 for ac_exec_ext in '' $ac_executable_extensions; do
9741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9742 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
9743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9750 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
9755 if test -n "$RM"; then
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
9757 $as_echo "$RM" >&6; }
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9760 $as_echo "no" >&6; }
9764 # Extract the first word of "chmod", so it can be a program name with args.
9765 set dummy chmod; ac_word=$2
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9767 $as_echo_n "checking for $ac_word... " >&6; }
9768 if ${ac_cv_path_CHMOD+:} false; then :
9769 $as_echo_n "(cached) " >&6
9773 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
9776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9780 test -z "$as_dir" && as_dir=.
9781 for ac_exec_ext in '' $ac_executable_extensions; do
9782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9783 ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
9784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9791 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD=":"
9795 CHMOD=$ac_cv_path_CHMOD
9796 if test -n "$CHMOD"; then
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
9798 $as_echo "$CHMOD" >&6; }
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9801 $as_echo "no" >&6; }
9805 for ac_prog in gawk mawk nawk awk
9807 # Extract the first word of "$ac_prog", so it can be a program name with args.
9808 set dummy $ac_prog; ac_word=$2
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9810 $as_echo_n "checking for $ac_word... " >&6; }
9811 if ${ac_cv_prog_AWK+:} false; then :
9812 $as_echo_n "(cached) " >&6
9814 if test -n "$AWK"; then
9815 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9821 test -z "$as_dir" && as_dir=.
9822 for ac_exec_ext in '' $ac_executable_extensions; do
9823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9824 ac_cv_prog_AWK="$ac_prog"
9825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9835 if test -n "$AWK"; then
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9837 $as_echo "$AWK" >&6; }
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9840 $as_echo "no" >&6; }
9844 test -n "$AWK" && break
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
9848 $as_echo_n "checking for egrep... " >&6; }
9849 if ${ac_cv_path_EGREP+:} false; then :
9850 $as_echo_n "(cached) " >&6
9852 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9853 then ac_cv_path_EGREP="$GREP -E"
9855 if test -z "$EGREP"; then
9856 ac_path_EGREP_found=false
9857 # Loop through the user's path and test for each of PROGNAME-LIST
9858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9859 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9862 test -z "$as_dir" && as_dir=.
9863 for ac_prog in egrep; do
9864 for ac_exec_ext in '' $ac_executable_extensions; do
9865 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9866 as_fn_executable_p "$ac_path_EGREP" || continue
9867 # Check for GNU ac_path_EGREP and select it if it is found.
9868 # Check for GNU $ac_path_EGREP
9869 case `"$ac_path_EGREP" --version 2>&1` in
9871 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9874 $as_echo_n 0123456789 >"conftest.in"
9877 cat "conftest.in" "conftest.in" >"conftest.tmp"
9878 mv "conftest.tmp" "conftest.in"
9879 cp "conftest.in" "conftest.nl"
9880 $as_echo 'EGREP' >> "conftest.nl"
9881 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9882 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9883 as_fn_arith $ac_count + 1 && ac_count=$as_val
9884 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9885 # Best one so far, save it but keep looking for a better one
9886 ac_cv_path_EGREP="$ac_path_EGREP"
9887 ac_path_EGREP_max=$ac_count
9889 # 10*(2^10) chars as input seems more than enough
9890 test $ac_count -gt 10 && break
9892 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9895 $ac_path_EGREP_found && break 3
9900 if test -z "$ac_cv_path_EGREP"; then
9901 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9904 ac_cv_path_EGREP=$EGREP
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
9910 $as_echo "$ac_cv_path_EGREP" >&6; }
9911 EGREP="$ac_cv_path_EGREP"
9914 # Extract the first word of "sed", so it can be a program name with args.
9915 set dummy sed; ac_word=$2
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9917 $as_echo_n "checking for $ac_word... " >&6; }
9918 if ${ac_cv_path_SED+:} false; then :
9919 $as_echo_n "(cached) " >&6
9923 ac_cv_path_SED="$SED" # Let the user override the test with a path.
9926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9930 test -z "$as_dir" && as_dir=.
9931 for ac_exec_ext in '' $ac_executable_extensions; do
9932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9933 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
9934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9941 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
9946 if test -n "$SED"; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
9948 $as_echo "$SED" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9951 $as_echo "no" >&6; }
9955 # Extract the first word of "perl", so it can be a program name with args.
9956 set dummy perl; ac_word=$2
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9958 $as_echo_n "checking for $ac_word... " >&6; }
9959 if ${ac_cv_path_PERL+:} false; then :
9960 $as_echo_n "(cached) " >&6
9964 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
9967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9971 test -z "$as_dir" && as_dir=.
9972 for ac_exec_ext in '' $ac_executable_extensions; do
9973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9974 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
9975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9982 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
9986 PERL=$ac_cv_path_PERL
9987 if test -n "$PERL"; then
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
9989 $as_echo "$PERL" >&6; }
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9992 $as_echo "no" >&6; }
9996 # Extract the first word of "ldconfig", so it can be a program name with args.
9997 set dummy ldconfig; ac_word=$2
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9999 $as_echo_n "checking for $ac_word... " >&6; }
10000 if ${ac_cv_path_LDCONFIG+:} false; then :
10001 $as_echo_n "(cached) " >&6
10005 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
10008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10009 for as_dir in $PATH
10012 test -z "$as_dir" && as_dir=.
10013 for ac_exec_ext in '' $ac_executable_extensions; do
10014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10015 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
10016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10023 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG=":"
10027 LDCONFIG=$ac_cv_path_LDCONFIG
10028 if test -n "$LDCONFIG"; then
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
10030 $as_echo "$LDCONFIG" >&6; }
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10033 $as_echo "no" >&6; }
10037 if test -n "$ac_tool_prefix"; then
10038 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10039 set dummy ${ac_tool_prefix}ar; ac_word=$2
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10041 $as_echo_n "checking for $ac_word... " >&6; }
10042 if ${ac_cv_prog_AR+:} false; then :
10043 $as_echo_n "(cached) " >&6
10045 if test -n "$AR"; then
10046 ac_cv_prog_AR="$AR" # Let the user override the test.
10048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10049 for as_dir in $PATH
10052 test -z "$as_dir" && as_dir=.
10053 for ac_exec_ext in '' $ac_executable_extensions; do
10054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10055 ac_cv_prog_AR="${ac_tool_prefix}ar"
10056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 if test -n "$AR"; then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10068 $as_echo "$AR" >&6; }
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10071 $as_echo "no" >&6; }
10076 if test -z "$ac_cv_prog_AR"; then
10078 # Extract the first word of "ar", so it can be a program name with args.
10079 set dummy ar; ac_word=$2
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10081 $as_echo_n "checking for $ac_word... " >&6; }
10082 if ${ac_cv_prog_ac_ct_AR+:} false; then :
10083 $as_echo_n "(cached) " >&6
10085 if test -n "$ac_ct_AR"; then
10086 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10089 for as_dir in $PATH
10092 test -z "$as_dir" && as_dir=.
10093 for ac_exec_ext in '' $ac_executable_extensions; do
10094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10095 ac_cv_prog_ac_ct_AR="ar"
10096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10105 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10106 if test -n "$ac_ct_AR"; then
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10108 $as_echo "$ac_ct_AR" >&6; }
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10111 $as_echo "no" >&6; }
10114 if test "x$ac_ct_AR" = x; then
10117 case $cross_compiling:$ac_tool_warned in
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10121 ac_tool_warned=yes ;;
10126 AR="$ac_cv_prog_AR"
10129 if test -n "$ac_tool_prefix"; then
10130 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10131 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10133 $as_echo_n "checking for $ac_word... " >&6; }
10134 if ${ac_cv_prog_RANLIB+:} false; then :
10135 $as_echo_n "(cached) " >&6
10137 if test -n "$RANLIB"; then
10138 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10141 for as_dir in $PATH
10144 test -z "$as_dir" && as_dir=.
10145 for ac_exec_ext in '' $ac_executable_extensions; do
10146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10147 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10157 RANLIB=$ac_cv_prog_RANLIB
10158 if test -n "$RANLIB"; then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10160 $as_echo "$RANLIB" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10163 $as_echo "no" >&6; }
10168 if test -z "$ac_cv_prog_RANLIB"; then
10169 ac_ct_RANLIB=$RANLIB
10170 # Extract the first word of "ranlib", so it can be a program name with args.
10171 set dummy ranlib; ac_word=$2
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10173 $as_echo_n "checking for $ac_word... " >&6; }
10174 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
10175 $as_echo_n "(cached) " >&6
10177 if test -n "$ac_ct_RANLIB"; then
10178 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10181 for as_dir in $PATH
10184 test -z "$as_dir" && as_dir=.
10185 for ac_exec_ext in '' $ac_executable_extensions; do
10186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10187 ac_cv_prog_ac_ct_RANLIB="ranlib"
10188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10197 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10198 if test -n "$ac_ct_RANLIB"; then
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10200 $as_echo "$ac_ct_RANLIB" >&6; }
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10203 $as_echo "no" >&6; }
10206 if test "x$ac_ct_RANLIB" = x; then
10209 case $cross_compiling:$ac_tool_warned in
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10213 ac_tool_warned=yes ;;
10215 RANLIB=$ac_ct_RANLIB
10218 RANLIB="$ac_cv_prog_RANLIB"
10221 if test -n "$ac_tool_prefix"; then
10222 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10223 set dummy ${ac_tool_prefix}strip; ac_word=$2
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10225 $as_echo_n "checking for $ac_word... " >&6; }
10226 if ${ac_cv_prog_STRIP+:} false; then :
10227 $as_echo_n "(cached) " >&6
10229 if test -n "$STRIP"; then
10230 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10233 for as_dir in $PATH
10236 test -z "$as_dir" && as_dir=.
10237 for ac_exec_ext in '' $ac_executable_extensions; do
10238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10239 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10249 STRIP=$ac_cv_prog_STRIP
10250 if test -n "$STRIP"; then
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10252 $as_echo "$STRIP" >&6; }
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10255 $as_echo "no" >&6; }
10260 if test -z "$ac_cv_prog_STRIP"; then
10262 # Extract the first word of "strip", so it can be a program name with args.
10263 set dummy strip; ac_word=$2
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10265 $as_echo_n "checking for $ac_word... " >&6; }
10266 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
10267 $as_echo_n "(cached) " >&6
10269 if test -n "$ac_ct_STRIP"; then
10270 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10273 for as_dir in $PATH
10276 test -z "$as_dir" && as_dir=.
10277 for ac_exec_ext in '' $ac_executable_extensions; do
10278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10279 ac_cv_prog_ac_ct_STRIP="strip"
10280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10289 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10290 if test -n "$ac_ct_STRIP"; then
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10292 $as_echo "$ac_ct_STRIP" >&6; }
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10295 $as_echo "no" >&6; }
10298 if test "x$ac_ct_STRIP" = x; then
10301 case $cross_compiling:$ac_tool_warned in
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10305 ac_tool_warned=yes ;;
10310 STRIP="$ac_cv_prog_STRIP"
10313 # Extract the first word of "makeinfo", so it can be a program name with args.
10314 set dummy makeinfo; ac_word=$2
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10316 $as_echo_n "checking for $ac_word... " >&6; }
10317 if ${ac_cv_prog_MAKEINFO+:} false; then :
10318 $as_echo_n "(cached) " >&6
10320 if test -n "$MAKEINFO"; then
10321 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
10323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10324 for as_dir in $PATH
10327 test -z "$as_dir" && as_dir=.
10328 for ac_exec_ext in '' $ac_executable_extensions; do
10329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10330 ac_cv_prog_MAKEINFO="makeinfo"
10331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10340 MAKEINFO=$ac_cv_prog_MAKEINFO
10341 if test -n "$MAKEINFO"; then
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
10343 $as_echo "$MAKEINFO" >&6; }
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10346 $as_echo "no" >&6; }
10350 if test "_$MAKEINFO" = "_"; then
10351 MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
10353 case "$MAKEINFO" in
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10356 *** Makeinfo is missing. Info documentation will not be built." >&5
10357 $as_echo "$as_me: WARNING:
10358 *** Makeinfo is missing. Info documentation will not be built." >&2;}
10366 # See if we need a separate native compiler.
10367 if test $cross_compiling = no; then
10371 for ac_prog in gcc cc
10373 # Extract the first word of "$ac_prog", so it can be a program name with args.
10374 set dummy $ac_prog; ac_word=$2
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10376 $as_echo_n "checking for $ac_word... " >&6; }
10377 if ${ac_cv_prog_BUILD_CC+:} false; then :
10378 $as_echo_n "(cached) " >&6
10380 if test -n "$BUILD_CC"; then
10381 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
10383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10384 for as_dir in $PATH
10387 test -z "$as_dir" && as_dir=.
10388 for ac_exec_ext in '' $ac_executable_extensions; do
10389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10390 ac_cv_prog_BUILD_CC="$ac_prog"
10391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10400 BUILD_CC=$ac_cv_prog_BUILD_CC
10401 if test -n "$BUILD_CC"; then
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
10403 $as_echo "$BUILD_CC" >&6; }
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10406 $as_echo "no" >&6; }
10410 test -n "$BUILD_CC" && break
10414 for ac_header in attr/xattr.h dirent.h errno.h execinfo.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime.h linux/falloc.h linux/fd.h linux/major.h linux/loop.h net/if_dl.h netinet/in.h sys/disklabel.h sys/disk.h sys/file.h sys/ioctl.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
10416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10417 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10419 cat >>confdefs.h <<_ACEOF
10420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10427 for ac_header in net/if.h
10429 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
10430 #if HAVE_SYS_TYPES_H
10431 #include <sys/types.h>
10433 #if HAVE_SYS_SOCKET
10434 #include <sys/socket.h>
10438 if test "x$ac_cv_header_net_if_h" = xyes; then :
10439 cat >>confdefs.h <<_ACEOF
10440 #define HAVE_NET_IF_H 1
10447 if test x"$E2SCAN_CMT" == x; then
10448 for ac_header in sqlite3.h
10450 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
10451 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
10452 cat >>confdefs.h <<_ACEOF
10453 #define HAVE_SQLITE3_H 1
10461 for ac_func in vprintf
10463 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
10464 if test "x$ac_cv_func_vprintf" = xyes; then :
10465 cat >>confdefs.h <<_ACEOF
10466 #define HAVE_VPRINTF 1
10469 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
10470 if test "x$ac_cv_func__doprnt" = xyes; then :
10472 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10480 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#include <dirent.h>
10482 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
10484 $as_echo "#define HAVE_RECLEN_DIRENT 1" >>confdefs.h
10488 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
10489 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
10491 cat >>confdefs.h <<_ACEOF
10492 #define HAVE_STRUCT_STAT_ST_ATIM 1
10498 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
10500 if test "x$ac_cv_type_ssize_t" = xyes; then :
10502 $as_echo "#define HAVE_TYPE_SSIZE_T 1" >>confdefs.h
10506 ac_fn_c_check_decl "$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
10508 if test "x$ac_cv_have_decl_llseek" = xyes; then :
10510 $as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
10514 ac_fn_c_check_decl "$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE
10515 #define _LARGEFILE64_SOURCE
10516 #include <unistd.h>
10518 if test "x$ac_cv_have_decl_lseek64" = xyes; then :
10520 $as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
10524 # The cast to long int works around a bug in the HP C Compiler
10525 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10526 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10527 # This bug is HP SR number 8606223364.
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
10529 $as_echo_n "checking size of short... " >&6; }
10530 if ${ac_cv_sizeof_short+:} false; then :
10531 $as_echo_n "(cached) " >&6
10533 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
10536 if test "$ac_cv_type_short" = yes; then
10537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10539 as_fn_error 77 "cannot compute sizeof (short)
10540 See \`config.log' for more details" "$LINENO" 5; }
10542 ac_cv_sizeof_short=0
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
10548 $as_echo "$ac_cv_sizeof_short" >&6; }
10552 cat >>confdefs.h <<_ACEOF
10553 #define SIZEOF_SHORT $ac_cv_sizeof_short
10557 # The cast to long int works around a bug in the HP C Compiler
10558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10560 # This bug is HP SR number 8606223364.
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
10562 $as_echo_n "checking size of int... " >&6; }
10563 if ${ac_cv_sizeof_int+:} false; then :
10564 $as_echo_n "(cached) " >&6
10566 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
10569 if test "$ac_cv_type_int" = yes; then
10570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10572 as_fn_error 77 "cannot compute sizeof (int)
10573 See \`config.log' for more details" "$LINENO" 5; }
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
10581 $as_echo "$ac_cv_sizeof_int" >&6; }
10585 cat >>confdefs.h <<_ACEOF
10586 #define SIZEOF_INT $ac_cv_sizeof_int
10590 # The cast to long int works around a bug in the HP C Compiler
10591 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10592 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10593 # This bug is HP SR number 8606223364.
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
10595 $as_echo_n "checking size of long... " >&6; }
10596 if ${ac_cv_sizeof_long+:} false; then :
10597 $as_echo_n "(cached) " >&6
10599 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
10602 if test "$ac_cv_type_long" = yes; then
10603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10605 as_fn_error 77 "cannot compute sizeof (long)
10606 See \`config.log' for more details" "$LINENO" 5; }
10608 ac_cv_sizeof_long=0
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
10614 $as_echo "$ac_cv_sizeof_long" >&6; }
10618 cat >>confdefs.h <<_ACEOF
10619 #define SIZEOF_LONG $ac_cv_sizeof_long
10623 # The cast to long int works around a bug in the HP C Compiler
10624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10625 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10626 # This bug is HP SR number 8606223364.
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
10628 $as_echo_n "checking size of long long... " >&6; }
10629 if ${ac_cv_sizeof_long_long+:} false; then :
10630 $as_echo_n "(cached) " >&6
10632 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
10635 if test "$ac_cv_type_long_long" = yes; then
10636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10638 as_fn_error 77 "cannot compute sizeof (long long)
10639 See \`config.log' for more details" "$LINENO" 5; }
10641 ac_cv_sizeof_long_long=0
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
10647 $as_echo "$ac_cv_sizeof_long_long" >&6; }
10651 cat >>confdefs.h <<_ACEOF
10652 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10656 # The cast to long int works around a bug in the HP C Compiler
10657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10659 # This bug is HP SR number 8606223364.
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
10661 $as_echo_n "checking size of off_t... " >&6; }
10662 if ${ac_cv_sizeof_off_t+:} false; then :
10663 $as_echo_n "(cached) " >&6
10665 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
10668 if test "$ac_cv_type_off_t" = yes; then
10669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10671 as_fn_error 77 "cannot compute sizeof (off_t)
10672 See \`config.log' for more details" "$LINENO" 5; }
10674 ac_cv_sizeof_off_t=0
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
10680 $as_echo "$ac_cv_sizeof_off_t" >&6; }
10684 cat >>confdefs.h <<_ACEOF
10685 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
10689 SIZEOF_SHORT=$ac_cv_sizeof_short
10690 SIZEOF_INT=$ac_cv_sizeof_int
10691 SIZEOF_LONG=$ac_cv_sizeof_long
10692 SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
10693 SIZEOF_OFF_T=$ac_cv_sizeof_off_t
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
10700 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
10701 if ${ac_cv_c_bigendian+:} false; then :
10702 $as_echo_n "(cached) " >&6
10704 ac_cv_c_bigendian=unknown
10705 # See if we're dealing with a universal compiler.
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10708 #ifndef __APPLE_CC__
10709 not a universal capable compiler
10714 if ac_fn_c_try_compile "$LINENO"; then :
10716 # Check for potential -arch flags. It is not universal unless
10717 # there are at least two -arch flags with different values.
10720 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
10721 if test -n "$ac_prev"; then
10723 i?86 | x86_64 | ppc | ppc64)
10724 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
10727 ac_cv_c_bigendian=universal
10733 elif test "x$ac_word" = "x-arch"; then
10738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10739 if test $ac_cv_c_bigendian = unknown; then
10740 # See if sys/param.h defines the BYTE_ORDER macro.
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10743 #include <sys/types.h>
10744 #include <sys/param.h>
10749 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
10750 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
10752 bogus endian macros
10759 if ac_fn_c_try_compile "$LINENO"; then :
10760 # It does; now see whether it defined to BIG_ENDIAN or not.
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10763 #include <sys/types.h>
10764 #include <sys/param.h>
10769 #if BYTE_ORDER != BIG_ENDIAN
10777 if ac_fn_c_try_compile "$LINENO"; then :
10778 ac_cv_c_bigendian=yes
10780 ac_cv_c_bigendian=no
10782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10786 if test $ac_cv_c_bigendian = unknown; then
10787 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10790 #include <limits.h>
10795 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
10796 bogus endian macros
10803 if ac_fn_c_try_compile "$LINENO"; then :
10804 # It does; now see whether it defined to _BIG_ENDIAN or not.
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10807 #include <limits.h>
10812 #ifndef _BIG_ENDIAN
10820 if ac_fn_c_try_compile "$LINENO"; then :
10821 ac_cv_c_bigendian=yes
10823 ac_cv_c_bigendian=no
10825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10829 if test $ac_cv_c_bigendian = unknown; then
10830 # Compile a test program.
10831 if test "$cross_compiling" = yes; then :
10832 # Try to guess by grepping values from an object file.
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10835 short int ascii_mm[] =
10836 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
10837 short int ascii_ii[] =
10838 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
10839 int use_ascii (int i) {
10840 return ascii_mm[i] + ascii_ii[i];
10842 short int ebcdic_ii[] =
10843 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
10844 short int ebcdic_mm[] =
10845 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
10846 int use_ebcdic (int i) {
10847 return ebcdic_mm[i] + ebcdic_ii[i];
10854 return use_ascii (foo) == use_ebcdic (foo);
10859 if ac_fn_c_try_compile "$LINENO"; then :
10860 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
10861 ac_cv_c_bigendian=yes
10863 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
10864 if test "$ac_cv_c_bigendian" = unknown; then
10865 ac_cv_c_bigendian=no
10867 # finding both strings is unlikely to happen, but who knows?
10868 ac_cv_c_bigendian=unknown
10872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10876 $ac_includes_default
10881 /* Are we little or big endian? From Harbison&Steele. */
10885 char c[sizeof (long int)];
10888 return u.c[sizeof (long int) - 1] == 1;
10894 if ac_fn_c_try_run "$LINENO"; then :
10895 ac_cv_c_bigendian=no
10897 ac_cv_c_bigendian=yes
10899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10900 conftest.$ac_objext conftest.beam conftest.$ac_ext
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
10906 $as_echo "$ac_cv_c_bigendian" >&6; }
10907 case $ac_cv_c_bigendian in #(
10909 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
10915 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
10919 as_fn_error $? "unknown endianness
10920 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
10923 if test $cross_compiling = no; then
10924 BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/sh $ac_aux_dir/parse-types.sh
10926 CROSS_COMPILE="1" BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/sh $ac_aux_dir/parse-types.sh
10928 ASM_TYPES_HEADER=./asm_types.h
10930 echo "/* These defines are needed for the public ext2fs.h header file */" \
10932 if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
10933 uniq tmp_config.$$ >> public_config.h
10935 echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
10937 if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
10938 uniq tmp_config.$$ >> public_config.h
10940 echo "#undef WORDS_BIGENDIAN" >> public_config.h
10942 rm -f tmp_config.$$
10943 PUBLIC_CONFIG_HEADER=./public_config.h
10945 for ac_header in inttypes.h
10947 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
10948 if test "x$ac_cv_header_inttypes_h" = xyes; then :
10949 cat >>confdefs.h <<_ACEOF
10950 #define HAVE_INTTYPES_H 1
10957 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
10958 if test "x$ac_cv_type_intptr_t" = xyes; then :
10960 cat >>confdefs.h <<_ACEOF
10961 #define HAVE_INTPTR_T 1
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat has a st_flags field" >&5
10968 $as_echo_n "checking whether struct stat has a st_flags field... " >&6; }
10969 if ${e2fsprogs_cv_struct_st_flags+:} false; then :
10970 $as_echo_n "(cached) " >&6
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10974 #include <sys/stat.h>
10978 struct stat stat; stat.st_flags = 0;
10983 if ac_fn_c_try_compile "$LINENO"; then :
10984 e2fsprogs_cv_struct_st_flags=yes
10986 e2fsprogs_cv_struct_st_flags=no
10988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags" >&5
10992 $as_echo "$e2fsprogs_cv_struct_st_flags" >&6; }
10993 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether st_flags field is useful" >&5
10995 $as_echo_n "checking whether st_flags field is useful... " >&6; }
10996 if ${e2fsprogs_cv_struct_st_flags_immut+:} false; then :
10997 $as_echo_n "(cached) " >&6
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11001 #include <sys/stat.h>
11005 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
11010 if ac_fn_c_try_compile "$LINENO"; then :
11011 e2fsprogs_cv_struct_st_flags_immut=yes
11013 e2fsprogs_cv_struct_st_flags_immut=no
11015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
11019 $as_echo "$e2fsprogs_cv_struct_st_flags_immut" >&6; }
11020 if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
11022 $as_echo "#define HAVE_STAT_FLAGS 1" >>confdefs.h
11026 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
11027 #include <sys/socket.h>
11029 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
11031 cat >>confdefs.h <<_ACEOF
11032 #define HAVE_SA_LEN 1
11037 if test -n "$BLKID_CMT"; then
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing blkid_probe_all" >&5
11039 $as_echo_n "checking for library containing blkid_probe_all... " >&6; }
11040 if ${ac_cv_search_blkid_probe_all+:} false; then :
11041 $as_echo_n "(cached) " >&6
11043 ac_func_search_save_LIBS=$LIBS
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11053 char blkid_probe_all ();
11057 return blkid_probe_all ();
11062 for ac_lib in '' blkid; do
11063 if test -z "$ac_lib"; then
11064 ac_res="none required"
11067 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 ac_cv_search_blkid_probe_all=$ac_res
11072 rm -f core conftest.err conftest.$ac_objext \
11074 if ${ac_cv_search_blkid_probe_all+:} false; then :
11078 if ${ac_cv_search_blkid_probe_all+:} false; then :
11081 ac_cv_search_blkid_probe_all=no
11083 rm conftest.$ac_ext
11084 LIBS=$ac_func_search_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_blkid_probe_all" >&5
11087 $as_echo "$ac_cv_search_blkid_probe_all" >&6; }
11088 ac_res=$ac_cv_search_blkid_probe_all
11089 if test "$ac_res" != no; then :
11090 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11095 for ac_func in __secure_getenv backtrace blkid_probe_get_topology blkid_probe_enable_partitions chflags fadvise64 fallocate fallocate64 fchown fdatasync fstat64 ftruncate64 futimes getcwd getdtablesize getmntinfo getpwuid_r getrlimit getrusage jrand48 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
11097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11100 cat >>confdefs.h <<_ACEOF
11101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
11109 $as_echo_n "checking for socket in -lsocket... " >&6; }
11110 if ${ac_cv_lib_socket_socket+:} false; then :
11111 $as_echo_n "(cached) " >&6
11113 ac_check_lib_save_LIBS=$LIBS
11114 LIBS="-lsocket $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_socket_socket=yes
11136 ac_cv_lib_socket_socket=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
11143 $as_echo "$ac_cv_lib_socket_socket" >&6; }
11144 if test "x$ac_cv_lib_socket_socket" = xyes; then :
11145 SOCKET_LIB=-lsocket
11150 # Check whether --with-sqlite3 was given.
11151 if test "${with_sqlite3+set}" = set; then :
11152 withval=$with_sqlite3; SQLITE3_LIBS="-L$with_sqlite3"
11156 if test x"$E2SCAN_CMT" == x; then
11160 CFLAGS="$CFLAGS_OLD $SQLITE3_LIBS -static -pthread"
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
11162 $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
11163 if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then :
11164 $as_echo_n "(cached) " >&6
11166 ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-lsqlite3 $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11177 char sqlite3_open ();
11181 return sqlite3_open ();
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_sqlite3_sqlite3_open=yes
11189 ac_cv_lib_sqlite3_sqlite3_open=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
11196 $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
11197 if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then :
11199 SQLITE3_LIB="$SQLITE3_LIBS -static -pthread -lsqlite3"
11201 $as_echo "#define HAVE_SQLITE3 1" >>confdefs.h
11207 if test x"$SQLITE3_LIB" == x; then
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no static sqlite3 - looking for dynamic one" >&5
11209 $as_echo "$as_me: WARNING: no static sqlite3 - looking for dynamic one" >&2;}
11210 CFLAGS="$CFLAGS_OLD $SQLITE3_LIBS -pthread"
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
11212 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
11213 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
11214 $as_echo_n "(cached) " >&6
11216 ac_check_lib_save_LIBS=$LIBS
11217 LIBS="-lsqlite3 $LIBS"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11227 char sqlite3_close ();
11231 return sqlite3_close ();
11236 if ac_fn_c_try_link "$LINENO"; then :
11237 ac_cv_lib_sqlite3_sqlite3_close=yes
11239 ac_cv_lib_sqlite3_sqlite3_close=no
11241 rm -f core conftest.err conftest.$ac_objext \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
11246 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
11247 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
11249 SQLITE3_LIB="$SQLITE3_LIBS -pthread -lsqlite3"
11251 $as_echo "#define HAVE_SQLITE3 1" >>confdefs.h
11261 if test x"$SQLITE3_LIB" == x; then
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no sqlite3 - e2scan will not support database based scanning" >&5
11263 $as_echo "$as_me: WARNING: no sqlite3 - e2scan will not support database based scanning" >&2;}
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optreset" >&5
11269 $as_echo_n "checking for optreset... " >&6; }
11270 if ${ac_cv_have_optreset+:} false; then :
11271 $as_echo_n "(cached) " >&6
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11275 #include <unistd.h>
11278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11279 $EGREP "optreset" >/dev/null 2>&1; then :
11280 ac_cv_have_optreset=yes
11282 ac_cv_have_optreset=no
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_optreset" >&5
11288 $as_echo "$ac_cv_have_optreset" >&6; }
11289 if test $ac_cv_have_optreset = yes; then
11291 $as_echo "#define HAVE_OPTRESET 1" >>confdefs.h
11296 ac_fn_c_check_func "$LINENO" "sem_init" "ac_cv_func_sem_init"
11297 if test "x$ac_cv_func_sem_init" = xyes; then :
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
11301 $as_echo_n "checking for sem_init in -lpthread... " >&6; }
11302 if ${ac_cv_lib_pthread_sem_init+:} false; then :
11303 $as_echo_n "(cached) " >&6
11305 ac_check_lib_save_LIBS=$LIBS
11306 LIBS="-lpthread $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11320 return sem_init ();
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_pthread_sem_init=yes
11328 ac_cv_lib_pthread_sem_init=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sem_init" >&5
11335 $as_echo "$ac_cv_lib_pthread_sem_init" >&6; }
11336 if test "x$ac_cv_lib_pthread_sem_init" = xyes; then :
11337 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11339 SEM_INIT_LIB=-lpthread
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
11342 $as_echo_n "checking for sem_init in -lrt... " >&6; }
11343 if ${ac_cv_lib_rt_sem_init+:} false; then :
11344 $as_echo_n "(cached) " >&6
11346 ac_check_lib_save_LIBS=$LIBS
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11351 /* Override any GCC internal prototype to avoid an error.
11352 Use char because int might match the return type of a GCC
11353 builtin and then its argument prototype would still apply. */
11361 return sem_init ();
11366 if ac_fn_c_try_link "$LINENO"; then :
11367 ac_cv_lib_rt_sem_init=yes
11369 ac_cv_lib_rt_sem_init=no
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_lib_save_LIBS
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
11376 $as_echo "$ac_cv_lib_rt_sem_init" >&6; }
11377 if test "x$ac_cv_lib_rt_sem_init" = xyes; then :
11378 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lposix4" >&5
11383 $as_echo_n "checking for sem_init in -lposix4... " >&6; }
11384 if ${ac_cv_lib_posix4_sem_init+:} false; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-lposix4 $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11402 return sem_init ();
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 ac_cv_lib_posix4_sem_init=yes
11410 ac_cv_lib_posix4_sem_init=no
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sem_init" >&5
11417 $as_echo "$ac_cv_lib_posix4_sem_init" >&6; }
11418 if test "x$ac_cv_lib_posix4_sem_init" = xyes; then :
11419 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
11421 SEM_INIT_LIB=-lposix4
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unified diff option" >&5
11431 $as_echo_n "checking for unified diff option... " >&6; }
11432 if diff -u $0 $0 > /dev/null 2>&1 ; then
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNI_DIFF_OPTS" >&5
11438 $as_echo "$UNI_DIFF_OPTS" >&6; }
11443 $as_echo "#define HAVE_EXT2_IOCTLS 1" >>confdefs.h
11463 linux* | gnu* | k*bsd*-gnu)
11464 if test "$prefix" = NONE -a "$root_prefix" = NONE ; then
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, root_prefix defaults to ''" >&5
11467 $as_echo "On $host_os systems, root_prefix defaults to ''" >&6; }
11472 linux* | gnu* | k*bsd*-gnu)
11473 if test "$prefix" = NONE ; then
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to /usr" >&5
11476 $as_echo "On $host_os systems, prefix defaults to /usr" >&6; }
11477 if test "$mandir" = '${prefix}/man' ; then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...and mandir defaults to /usr/share/man" >&5
11479 $as_echo "...and mandir defaults to /usr/share/man" >&6; }
11480 mandir=/usr/share/man
11485 if test "$root_prefix" = NONE ; then
11486 if test "$prefix" = NONE ; then
11487 root_prefix="$ac_default_prefix"
11489 root_prefix="$prefix"
11491 root_bindir=$bindir
11492 root_sbindir=$sbindir
11493 root_libdir=$libdir
11494 root_sysconfdir=$sysconfdir
11496 root_bindir='${root_prefix}/bin'
11497 root_sbindir='${root_prefix}/sbin'
11498 root_libdir='${root_prefix}/lib'
11499 root_sysconfdir='${root_prefix}/etc'
11501 if test "$bindir" != '${exec_prefix}/bin'; then
11502 root_bindir=$bindir
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_bindir to $root_bindir" >&5
11504 $as_echo "Setting root_bindir to $root_bindir" >&6; }
11506 if test "$sbindir" != '${exec_prefix}/sbin'; then
11507 root_sbindir=$sbindir
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sbindir to $root_sbindir" >&5
11509 $as_echo "Setting root_sbindir to $root_sbindir" >&6; }
11511 if test "$libdir" != '${exec_prefix}/lib'; then
11512 root_libdir=$libdir
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_libdir to $root_libdir" >&5
11514 $as_echo "Setting root_libdir to $root_libdir" >&6; }
11516 if test "$sysconfdir" != '${prefix}/etc'; then
11517 root_sysconfdir=$sysconfdir
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sysconfdir to $root_sysconfdir" >&5
11519 $as_echo "Setting root_sysconfdir to $root_sysconfdir" >&6; }
11527 # Check whether --with-multiarch was given.
11528 if test "${with_multiarch+set}" = set; then :
11529 withval=$with_multiarch; if test "$withval" = "lib64"; then
11533 libdir=$libdir/$withval
11534 root_libdir=$root_libdir/$withval
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link with -static" >&5
11539 $as_echo_n "checking whether we can link with -static... " >&6; }
11540 if ${ac_cv_e2fsprogs_use_static+:} false; then :
11541 $as_echo_n "(cached) " >&6
11543 SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11555 if ac_fn_c_try_link "$LINENO"; then :
11556 ac_cv_e2fsprogs_use_static=yes
11558 ac_cv_e2fsprogs_use_static=no
11560 rm -f core conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LDFLAGS=$SAVE_LDFLAGS
11567 ac_cv_e2fsprogs_use_static=no
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_e2fsprogs_use_static" >&5
11571 $as_echo "$ac_cv_e2fsprogs_use_static" >&6; }
11573 if test $ac_cv_e2fsprogs_use_static = yes; then
11574 LDFLAG_STATIC=-static
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Apple Darwin / GNU libintl workaround" >&5
11580 $as_echo "Using Apple Darwin / GNU libintl workaround" >&6; }
11582 $as_echo "#define _INTL_REDIRECT_MACROS 1" >>confdefs.h
11586 SS_DIR=`cd ${srcdir}/lib/ss; pwd`
11587 ET_DIR=`cd ${srcdir}/lib/et; pwd`
11590 if test "$cross_compiling" = yes ; then
11593 DO_TEST_SUITE=check
11596 INCLUDES='-I. -I$(top_builddir)/lib -I$(top_srcdir)/lib'
11597 if test -n "$CPPFLAGS" ; then
11598 INCLUDES="$INCLUDES $CPPFLAGS"
11600 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
11601 INCLUDES=$INCLUDES' -I$(top_builddir)/intl -I$(top_srcdir)/intl'
11603 if test -n "$WITH_DIET_LIBC" ; then
11604 INCLUDES="$INCLUDES -D_REENTRANT"
11609 if test -n "$ac_aux_dir"; then
11610 case "$ac_aux_dir" in
11611 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11612 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11615 if test -z "$MKINSTALLDIRS"; then
11616 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11620 if test $cross_compiling = no; then
11621 BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
11622 BUILD_LDFLAGS="$LDFLAGS"
11626 test -d lib || mkdir lib
11627 test -d include || mkdir include
11628 test -d include/linux || mkdir include/linux
11629 test -d include/asm || mkdir include/asm
11630 for i in MCONFIG Makefile e2fsprogs.spec \
11631 e2fsprogs-RHEL-6.spec \
11632 e2fsprogs-SUSE_LINUX-11.spec \
11633 e2fsprogs-RHEL-7.spec \
11634 e2fsprogs-SUSE_LINUX-12.spec \
11635 util/Makefile util/subst.conf util/gen-tarball util/install-symlink \
11636 lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
11637 lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
11638 lib/uuid/Makefile lib/uuid/uuid_types.h \
11639 lib/blkid/Makefile lib/blkid/blkid_types.h lib/quota/Makefile \
11640 lib/ss/ss.pc lib/uuid/uuid.pc lib/et/com_err.pc \
11641 lib/e2p/e2p.pc lib/blkid/blkid.pc lib/ext2fs/ext2fs.pc \
11642 misc/Makefile ext2ed/Makefile e2fsck/Makefile \
11643 debugfs/Makefile e2scan/Makefile tests/Makefile tests/progs/Makefile \
11644 resize/Makefile doc/Makefile intl/Makefile \
11645 intl/libgnuintl.h po/Makefile.in ; do
11646 if test -d `dirname ${srcdir}/$i` ; then
11647 outlist="$outlist $i"
11650 ac_config_files="$ac_config_files $outlist"
11652 cat >confcache <<\_ACEOF
11653 # This file is a shell script that caches the results of configure
11654 # tests run on this system so they can be shared between configure
11655 # scripts and configure runs, see configure's option --config-cache.
11656 # It is not useful on other systems. If it contains results you don't
11657 # want to keep, you may remove or edit it.
11659 # config.status only pays attention to the cache file if you give it
11660 # the --recheck option to rerun configure.
11662 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11663 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11664 # following values.
11668 # The following way of writing the cache mishandles newlines in values,
11669 # but we know of no workaround that is simple, portable, and efficient.
11670 # So, we kill variables containing newlines.
11671 # Ultrix sh set writes to stderr and can't be redirected directly,
11672 # and sets the high bit in the cache file unless we assign to the vars.
11674 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11675 eval ac_val=\$$ac_var
11679 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11680 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11683 _ | IFS | as_nl) ;; #(
11684 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11685 *) { eval $ac_var=; unset $ac_var;} ;;
11691 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11692 *${as_nl}ac_space=\ *)
11693 # `set' does not quote correctly, so add quotes: double-quote
11694 # substitution turns \\\\ into \\, and sed turns \\ into \.
11697 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11700 # `set' quotes correctly as required by POSIX, so do not add quotes.
11701 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11710 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11712 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11714 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11715 if test -w "$cache_file"; then
11716 if test "x$cache_file" != "x/dev/null"; then
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11718 $as_echo "$as_me: updating cache $cache_file" >&6;}
11719 if test ! -f "$cache_file" || test -h "$cache_file"; then
11720 cat confcache >"$cache_file"
11722 case $cache_file in #(
11724 mv -f confcache "$cache_file"$$ &&
11725 mv -f "$cache_file"$$ "$cache_file" ;; #(
11727 mv -f confcache "$cache_file" ;;
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11733 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11738 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11739 # Let make expand exec_prefix.
11740 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11742 DEFS=-DHAVE_CONFIG_H
11747 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11748 # 1. Remove the extension, and $U if already installed.
11749 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11750 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11751 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11752 # will be set to the directory where LIBOBJS objects are built.
11753 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11754 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11756 LIBOBJS=$ac_libobjs
11758 LTLIBOBJS=$ac_ltlibobjs
11763 : "${CONFIG_STATUS=./config.status}"
11765 ac_clean_files_save=$ac_clean_files
11766 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11768 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11770 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11772 # Generated by $as_me.
11773 # Run this file to recreate the current configuration.
11774 # Compiler output produced by configure, useful for debugging
11775 # configure, is in config.log if it exists.
11778 ac_cs_recheck=false
11781 SHELL=\${CONFIG_SHELL-$SHELL}
11784 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11785 ## -------------------- ##
11786 ## M4sh Initialization. ##
11787 ## -------------------- ##
11789 # Be more Bourne compatible
11790 DUALCASE=1; export DUALCASE # for MKS sh
11791 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11794 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11795 # is contrary to our usage. Disable this feature.
11796 alias -g '${1+"$@"}'='"$@"'
11797 setopt NO_GLOB_SUBST
11799 case `(set -o) 2>/dev/null` in #(
11811 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11812 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11813 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11815 # Prefer a ksh shell builtin over an external printf program on Solaris,
11816 # but without wasting forks for bash or zsh.
11817 if test -z "$BASH_VERSION$ZSH_VERSION" \
11818 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11819 as_echo='print -r --'
11820 as_echo_n='print -rn --'
11821 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11822 as_echo='printf %s\n'
11823 as_echo_n='printf %s'
11825 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11826 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11827 as_echo_n='/usr/ucb/echo -n'
11829 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11830 as_echo_n_body='eval
11834 expr "X$arg" : "X\\(.*\\)$as_nl";
11835 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11837 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11839 export as_echo_n_body
11840 as_echo_n='sh -c $as_echo_n_body as_echo'
11842 export as_echo_body
11843 as_echo='sh -c $as_echo_body as_echo'
11846 # The user is always right.
11847 if test "${PATH_SEPARATOR+set}" != set; then
11849 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11850 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11857 # We need space, tab and new line, in precisely that order. Quoting is
11858 # there to prevent editors from complaining about space-tab.
11859 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11860 # splitting by setting IFS to empty value.)
11863 # Find who we are. Look in the path if we contain no directory separator.
11866 *[\\/]* ) as_myself=$0 ;;
11867 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11868 for as_dir in $PATH
11871 test -z "$as_dir" && as_dir=.
11872 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11878 # We did not find ourselves, most probably we were run as `sh COMMAND'
11879 # in which case we are not to be found in the path.
11880 if test "x$as_myself" = x; then
11883 if test ! -f "$as_myself"; then
11884 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11888 # Unset variables that we do not need and which cause bugs (e.g. in
11889 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11890 # suppresses any "Segmentation fault" message there. '((' could
11891 # trigger a bug in pdksh 5.2.14.
11892 for as_var in BASH_ENV ENV MAIL MAILPATH
11893 do eval test x\${$as_var+set} = xset \
11894 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11907 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11910 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11911 # ----------------------------------------
11912 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11913 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11914 # script with STATUS, using 1 if that was 0.
11917 as_status=$1; test $as_status -eq 0 && as_status=1
11919 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11920 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11922 $as_echo "$as_me: error: $2" >&2
11923 as_fn_exit $as_status
11927 # as_fn_set_status STATUS
11928 # -----------------------
11929 # Set $? to STATUS, without forking.
11930 as_fn_set_status ()
11933 } # as_fn_set_status
11935 # as_fn_exit STATUS
11936 # -----------------
11937 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11941 as_fn_set_status $1
11947 # Portably unset VAR.
11950 { eval $1=; unset $1;}
11952 as_unset=as_fn_unset
11953 # as_fn_append VAR VALUE
11954 # ----------------------
11955 # Append the text in VALUE to the end of the definition contained in VAR. Take
11956 # advantage of any shell optimizations that allow amortized linear growth over
11957 # repeated appends, instead of the typical quadratic growth present in naive
11959 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11960 eval 'as_fn_append ()
11971 # as_fn_arith ARG...
11972 # ------------------
11973 # Perform arithmetic evaluation on the ARGs, and store the result in the
11974 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11975 # must be portable across $(()) and expr.
11976 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11977 eval 'as_fn_arith ()
11984 as_val=`expr "$@" || test $? -eq 1`
11989 if expr a : '\(a\)' >/dev/null 2>&1 &&
11990 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11996 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11997 as_basename=basename
12002 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12008 as_me=`$as_basename -- "$0" ||
12009 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12010 X"$0" : 'X\(//\)$' \| \
12011 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12013 sed '/^.*\/\([^/][^/]*\)\/*$/{
12027 # Avoid depending upon Character Ranges.
12028 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12029 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12030 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12031 as_cr_digits='0123456789'
12032 as_cr_alnum=$as_cr_Letters$as_cr_digits
12034 ECHO_C= ECHO_N= ECHO_T=
12035 case `echo -n x` in #(((((
12037 case `echo 'xy\c'` in
12038 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12040 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12047 rm -f conf$$ conf$$.exe conf$$.file
12048 if test -d conf$$.dir; then
12049 rm -f conf$$.dir/conf$$.file
12052 mkdir conf$$.dir 2>/dev/null
12054 if (echo >conf$$.file) 2>/dev/null; then
12055 if ln -s conf$$.file conf$$ 2>/dev/null; then
12057 # ... but there are two gotchas:
12058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12060 # In both cases, we have to default to `cp -pR'.
12061 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12063 elif ln conf$$.file conf$$ 2>/dev/null; then
12071 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12072 rmdir conf$$.dir 2>/dev/null
12077 # Create "$as_dir" as a directory, including parents if necessary.
12082 -*) as_dir=./$as_dir;;
12084 test -d "$as_dir" || eval $as_mkdir_p || {
12088 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12089 *) as_qdir=$as_dir;;
12091 as_dirs="'$as_qdir' $as_dirs"
12092 as_dir=`$as_dirname -- "$as_dir" ||
12093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12094 X"$as_dir" : 'X\(//\)[^/]' \| \
12095 X"$as_dir" : 'X\(//\)$' \| \
12096 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12097 $as_echo X"$as_dir" |
12098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12102 /^X\(\/\/\)[^/].*/{
12115 test -d "$as_dir" && break
12117 test -z "$as_dirs" || eval "mkdir $as_dirs"
12118 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12122 if mkdir -p . 2>/dev/null; then
12123 as_mkdir_p='mkdir -p "$as_dir"'
12125 test -d ./-p && rmdir ./-p
12130 # as_fn_executable_p FILE
12131 # -----------------------
12132 # Test if FILE is an executable regular file.
12133 as_fn_executable_p ()
12135 test -f "$1" && test -x "$1"
12136 } # as_fn_executable_p
12137 as_test_x='test -x'
12138 as_executable_p=as_fn_executable_p
12140 # Sed expression to map a string onto a valid CPP name.
12141 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12143 # Sed expression to map a string onto a valid variable name.
12144 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12148 ## ----------------------------------- ##
12149 ## Main body of $CONFIG_STATUS script. ##
12150 ## ----------------------------------- ##
12152 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12155 # Save the log message, to keep $0 and so on meaningful, and to
12156 # report actual input values of CONFIG_FILES etc. instead of their
12157 # values after options handling.
12159 This file was extended by $as_me, which was
12160 generated by GNU Autoconf 2.69. Invocation command line was
12162 CONFIG_FILES = $CONFIG_FILES
12163 CONFIG_HEADERS = $CONFIG_HEADERS
12164 CONFIG_LINKS = $CONFIG_LINKS
12165 CONFIG_COMMANDS = $CONFIG_COMMANDS
12168 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12173 case $ac_config_files in *"
12174 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12177 case $ac_config_headers in *"
12178 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12183 # Files that config.status was made for.
12184 config_files="$ac_config_files"
12185 config_headers="$ac_config_headers"
12186 config_commands="$ac_config_commands"
12190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12192 \`$as_me' instantiates files and other configuration actions
12193 from templates according to the current configuration. Unless the files
12194 and actions are specified as TAGs, all are instantiated by default.
12196 Usage: $0 [OPTION]... [TAG]...
12198 -h, --help print this help, then exit
12199 -V, --version print version number and configuration settings, then exit
12200 --config print configuration, then exit
12201 -q, --quiet, --silent
12202 do not print progress messages
12203 -d, --debug don't remove temporary files
12204 --recheck update $as_me by reconfiguring in the same conditions
12205 --file=FILE[:TEMPLATE]
12206 instantiate the configuration file FILE
12207 --header=FILE[:TEMPLATE]
12208 instantiate the configuration header FILE
12210 Configuration files:
12213 Configuration headers:
12216 Configuration commands:
12219 Report bugs to the package provider."
12222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12223 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12226 configured by $0, generated by GNU Autoconf 2.69,
12227 with options \\"\$ac_cs_config\\"
12229 Copyright (C) 2012 Free Software Foundation, Inc.
12230 This config.status script is free software; the Free Software Foundation
12231 gives unlimited permission to copy, distribute and modify it."
12237 test -n "\$AWK" || AWK=awk
12240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12241 # The default lists apply if the user does not specify any file.
12247 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12248 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12252 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12264 # Handling of the options.
12265 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12267 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12268 $as_echo "$ac_cs_version"; exit ;;
12269 --config | --confi | --conf | --con | --co | --c )
12270 $as_echo "$ac_cs_config"; exit ;;
12271 --debug | --debu | --deb | --de | --d | -d )
12273 --file | --fil | --fi | --f )
12276 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12277 '') as_fn_error $? "missing file argument" ;;
12279 as_fn_append CONFIG_FILES " '$ac_optarg'"
12280 ac_need_defaults=false;;
12281 --header | --heade | --head | --hea )
12284 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12286 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12287 ac_need_defaults=false;;
12289 # Conflict between --help and --header
12290 as_fn_error $? "ambiguous option: \`$1'
12291 Try \`$0 --help' for more information.";;
12292 --help | --hel | -h )
12293 $as_echo "$ac_cs_usage"; exit ;;
12294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12295 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12298 # This is an error.
12299 -*) as_fn_error $? "unrecognized option: \`$1'
12300 Try \`$0 --help' for more information." ;;
12302 *) as_fn_append ac_config_targets " $1"
12303 ac_need_defaults=false ;;
12309 ac_configure_extra_args=
12311 if $ac_cs_silent; then
12313 ac_configure_extra_args="$ac_configure_extra_args --silent"
12317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12318 if \$ac_cs_recheck; then
12319 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12321 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12322 CONFIG_SHELL='$SHELL'
12323 export CONFIG_SHELL
12328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12333 ## Running $as_me. ##
12339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12343 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12344 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
12346 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12347 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12348 LINGUAS="${LINGUAS-%UNSET%}"
12353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12355 # Handling of arguments.
12356 for ac_config_target in $ac_config_targets
12358 case $ac_config_target in
12359 "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h" ;;
12360 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12361 "$outlist") CONFIG_FILES="$CONFIG_FILES $outlist" ;;
12363 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12368 # If the user did not use the arguments to specify the items to instantiate,
12369 # then the envvar interface is used. Set only those that are not.
12370 # We use the long form for the default assignment because of an extremely
12371 # bizarre bug on SunOS 4.1.3.
12372 if $ac_need_defaults; then
12373 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12374 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12375 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12378 # Have a temporary directory for convenience. Make it in the build tree
12379 # simply because there is no reason against having it here, and in addition,
12380 # creating and moving files from /tmp can sometimes cause problems.
12381 # Hook for its removal unless debugging.
12382 # Note that there is a small window in which the directory will not be cleaned:
12383 # after its creation but before its name has been assigned to `$tmp'.
12387 trap 'exit_status=$?
12388 : "${ac_tmp:=$tmp}"
12389 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12391 trap 'as_fn_exit 1' 1 2 13 15
12393 # Create a (secure) tmp directory for tmp files.
12396 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12400 tmp=./conf$$-$RANDOM
12401 (umask 077 && mkdir "$tmp")
12402 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12405 # Set up the scripts for CONFIG_FILES section.
12406 # No need to generate them if there are no CONFIG_FILES.
12407 # This happens for instance with `./config.status config.h'.
12408 if test -n "$CONFIG_FILES"; then
12410 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
12411 ac_cs_awk_getline=:
12412 ac_cs_awk_pipe_init=
12413 ac_cs_awk_read_file='
12414 while ((getline aline < (F[key])) > 0)
12417 ac_cs_awk_pipe_fini=
12419 ac_cs_awk_getline=false
12420 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
12421 ac_cs_awk_read_file='
12423 print "cat " F[key] " &&"
12424 '$ac_cs_awk_pipe_init
12425 # The final `:' finishes the AND list.
12426 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
12428 ac_cr=`echo X | tr X '\015'`
12429 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12430 # But we know of no other shell where ac_cr would be empty at this
12431 # point, so we can use a bashism as a fallback.
12432 if test "x$ac_cr" = x; then
12433 eval ac_cr=\$\'\\r\'
12435 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12436 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12439 ac_cs_awk_cr=$ac_cr
12442 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12445 # Create commands to substitute file output variables.
12447 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
12448 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
12449 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
12452 } >conf$$files.sh &&
12453 . ./conf$$files.sh ||
12454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12455 rm -f conf$$files.sh
12458 echo "cat >conf$$subs.awk <<_ACEOF" &&
12459 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12461 } >conf$$subs.sh ||
12462 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12463 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12465 for ac_last_try in false false false false false :; do
12466 . ./conf$$subs.sh ||
12467 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12469 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12470 if test $ac_delim_n = $ac_delim_num; then
12472 elif $ac_last_try; then
12473 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12475 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12478 rm -f conf$$subs.sh
12480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12481 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12485 s/^/S["/; s/!.*/"]=/
12495 s/\(.\{148\}\)..*/\1/
12497 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12502 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12509 s/\(.\{148\}\)..*/\1/
12511 s/["\\]/\\&/g; s/^/"/; s/$/"/
12515 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12520 ' <conf$$subs.awk | sed '
12525 ' >>$CONFIG_STATUS || ac_write_fail=1
12526 rm -f conf$$subs.awk
12527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12529 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12530 for (key in S) S_is_set[key] = 1
12532 \$ac_cs_awk_pipe_init
12536 nfields = split(line, field, "@")
12538 len = length(field[1])
12539 for (i = 2; i < nfields; i++) {
12541 keylen = length(key)
12542 if (S_is_set[key]) {
12544 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12545 len += length(value) + length(field[++i])
12550 if (nfields == 3 && !substed) {
12552 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
12553 \$ac_cs_awk_read_file
12559 \$ac_cs_awk_pipe_fini
12562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12563 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12564 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12567 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12568 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12571 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12572 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12573 # trailing colons and then remove the whole line if VPATH becomes empty
12574 # (actually we leave an empty line to preserve line numbers).
12575 if test "x$srcdir" = x.; then
12576 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12595 fi # test -n "$CONFIG_FILES"
12597 # Set up the scripts for CONFIG_HEADERS section.
12598 # No need to generate them if there are no CONFIG_HEADERS.
12599 # This happens for instance with `./config.status Makefile'.
12600 if test -n "$CONFIG_HEADERS"; then
12601 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
12605 # Transform confdefs.h into an awk script `defines.awk', embedded as
12606 # here-document in config.status, that substitutes the proper values into
12607 # config.h.in to produce config.h.
12609 # Create a delimiter string that does not exist in confdefs.h, to ease
12610 # handling of long lines.
12612 for ac_last_try in false false :; do
12613 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
12614 if test -z "$ac_tt"; then
12616 elif $ac_last_try; then
12617 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12619 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12623 # For the awk script, D is an array of macro values keyed by name,
12624 # likewise P contains macro parameters if any. Preserve backslash
12625 # newline sequences.
12627 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12629 s/.\{148\}/&'"$ac_delim"'/g
12632 s/^[ ]*#[ ]*define[ ][ ]*/ /
12639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12641 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12645 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12646 D["\1"]=" \3\\\\\\n"\\/p
12648 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12653 s/.\{148\}/&'"$ac_delim"'/g
12658 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12661 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12663 ' <confdefs.h | sed '
12664 s/'"$ac_delim"'/"\\\
12665 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12668 for (key in D) D_is_set[key] = 1
12671 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12673 split(line, arg, " ")
12674 if (arg[1] == "#") {
12678 defundef = substr(arg[1], 2)
12681 split(mac1, mac2, "(") #)
12683 prefix = substr(line, 1, index(line, defundef) - 1)
12684 if (D_is_set[macro]) {
12685 # Preserve the white space surrounding the "#".
12686 print prefix "define", macro P[macro] D[macro]
12689 # Replace #undef with comments. This is necessary, for example,
12690 # in the case of _POSIX_SOURCE, which is predefined and required
12691 # on some systems where configure will not decide to define it.
12692 if (defundef == "undef") {
12693 print "/*", prefix defundef, macro, "*/"
12701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12702 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12703 fi # test -n "$CONFIG_HEADERS"
12706 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12711 :[FHLC]) ac_mode=$ac_tag; continue;;
12713 case $ac_mode$ac_tag in
12715 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12716 :[FH]-) ac_tag=-:-;;
12717 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12734 -) ac_f="$ac_tmp/stdin";;
12735 *) # Look for the file first in the build tree, then in the source tree
12736 # (if the path is not absolute). The absolute path cannot be DOS-style,
12737 # because $ac_f cannot contain `:'.
12741 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12743 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12745 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12746 as_fn_append ac_file_inputs " '$ac_f'"
12749 # Let's still pretend it is `configure' which instantiates (i.e., don't
12750 # use $as_me), people would be surprised to read:
12751 # /* config.h. Generated by config.status. */
12752 configure_input='Generated from '`
12753 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12755 if test x"$ac_file" != x-; then
12756 configure_input="$ac_file. $configure_input"
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12758 $as_echo "$as_me: creating $ac_file" >&6;}
12760 # Neutralize special characters interpreted by sed in replacement strings.
12761 case $configure_input in #(
12762 *\&* | *\|* | *\\* )
12763 ac_sed_conf_input=`$as_echo "$configure_input" |
12764 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12765 *) ac_sed_conf_input=$configure_input;;
12769 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12775 ac_dir=`$as_dirname -- "$ac_file" ||
12776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12777 X"$ac_file" : 'X\(//\)[^/]' \| \
12778 X"$ac_file" : 'X\(//\)$' \| \
12779 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12780 $as_echo X"$ac_file" |
12781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12785 /^X\(\/\/\)[^/].*/{
12798 as_dir="$ac_dir"; as_fn_mkdir_p
12802 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12804 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12805 # A ".." for each directory in $ac_dir_suffix.
12806 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12807 case $ac_top_builddir_sub in
12808 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12809 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12812 ac_abs_top_builddir=$ac_pwd
12813 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12814 # for backward compatibility:
12815 ac_top_builddir=$ac_top_build_prefix
12818 .) # We are building in place.
12820 ac_top_srcdir=$ac_top_builddir_sub
12821 ac_abs_top_srcdir=$ac_pwd ;;
12822 [\\/]* | ?:[\\/]* ) # Absolute name.
12823 ac_srcdir=$srcdir$ac_dir_suffix;
12824 ac_top_srcdir=$srcdir
12825 ac_abs_top_srcdir=$srcdir ;;
12826 *) # Relative name.
12827 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12828 ac_top_srcdir=$ac_top_build_prefix$srcdir
12829 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12831 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12841 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12842 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12847 # If the template does not know about datarootdir, expand it.
12848 # FIXME: This hack should be removed a few years after 2.60.
12849 ac_datarootdir_hack=; ac_datarootdir_seen=
12860 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12861 *datarootdir*) ac_datarootdir_seen=yes;;
12862 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12864 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12867 ac_datarootdir_hack='
12868 s&@datadir@&$datadir&g
12869 s&@docdir@&$docdir&g
12870 s&@infodir@&$infodir&g
12871 s&@localedir@&$localedir&g
12872 s&@mandir@&$mandir&g
12873 s&\\\${datarootdir}&$datarootdir&g' ;;
12877 # Neutralize VPATH when `$srcdir' = `.'.
12878 # Shell code in configure.ac might set extrasub.
12879 # FIXME: do we really want to maintain this feature?
12880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12881 ac_sed_extra="$ac_vpsub
12884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12887 s|@configure_input@|$ac_sed_conf_input|;t t
12888 s&@top_builddir@&$ac_top_builddir_sub&;t t
12889 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12890 s&@srcdir@&$ac_srcdir&;t t
12891 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12892 s&@top_srcdir@&$ac_top_srcdir&;t t
12893 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12894 s&@builddir@&$ac_builddir&;t t
12895 s&@abs_builddir@&$ac_abs_builddir&;t t
12896 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12897 s&@INSTALL@&$ac_INSTALL&;t t
12898 $ac_datarootdir_hack
12900 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
12901 if $ac_cs_awk_getline; then
12902 $AWK -f "$ac_tmp/subs.awk"
12904 $AWK -f "$ac_tmp/subs.awk" | $SHELL
12906 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12908 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12909 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12910 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12911 "$ac_tmp/out"`; test -z "$ac_out"; } &&
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12913 which seems to be undefined. Please make sure it is defined" >&5
12914 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12915 which seems to be undefined. Please make sure it is defined" >&2;}
12917 rm -f "$ac_tmp/stdin"
12919 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12920 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12928 if test x"$ac_file" != x-; then
12930 $as_echo "/* $configure_input */" \
12931 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12932 } >"$ac_tmp/config.h" \
12933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12934 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12936 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12939 mv "$ac_tmp/config.h" "$ac_file" \
12940 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12943 $as_echo "/* $configure_input */" \
12944 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12945 || as_fn_error $? "could not create -" "$LINENO" 5
12949 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12950 $as_echo "$as_me: executing $ac_file commands" >&6;}
12955 case $ac_file$ac_mode in
12957 for ac_file in $CONFIG_FILES; do
12958 # Support "outfile[:infile[:infile...]]"
12960 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
12962 # PO directories have a Makefile.in generated from Makefile.in.in.
12963 case "$ac_file" in */Makefile.in)
12964 # Adjust a relative srcdir.
12965 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
12966 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
12967 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
12968 # In autoconf-2.13 it is called $ac_given_srcdir.
12969 # In autoconf-2.50 it is called $srcdir.
12970 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
12971 case "$ac_given_srcdir" in
12972 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
12973 /*) top_srcdir="$ac_given_srcdir" ;;
12974 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
12976 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
12977 rm -f "$ac_dir/POTFILES"
12978 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
12979 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
12980 POMAKEFILEDEPS="POTFILES.in"
12981 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
12982 # on $ac_dir but don't depend on user-specified configuration
12984 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
12985 # The LINGUAS file contains the set of available languages.
12986 if test -n "$OBSOLETE_ALL_LINGUAS"; then
12987 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
12989 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
12990 # Hide the ALL_LINGUAS assigment from automake.
12991 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
12992 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
12994 # The set of available languages was given in configure.in.
12995 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
12998 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
12999 # Compute UPDATEPOFILES
13000 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
13001 # Compute DUMMYPOFILES
13002 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
13004 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
13005 case "$ac_given_srcdir" in
13007 *) srcdirpre='$(srcdir)/' ;;
13013 for lang in $ALL_LINGUAS; do
13014 POFILES="$POFILES $srcdirpre$lang.po"
13015 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
13016 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
13017 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13019 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13020 # environment variable.
13022 if test -n "$ALL_LINGUAS"; then
13023 for presentlang in $ALL_LINGUAS; do
13025 if test "%UNSET%" != "$LINGUAS"; then
13026 desiredlanguages="$LINGUAS"
13028 desiredlanguages="$ALL_LINGUAS"
13030 for desiredlang in $desiredlanguages; do
13031 # Use the presentlang catalog if desiredlang is
13032 # a. equal to presentlang, or
13033 # b. a variant of presentlang (because in this case,
13034 # presentlang can be used as a fallback for messages
13035 # which are not translated in the desiredlang catalog).
13036 case "$desiredlang" in
13037 "$presentlang"*) useit=yes;;
13040 if test $useit = yes; then
13041 INST_LINGUAS="$INST_LINGUAS $presentlang"
13046 if test -n "$INST_LINGUAS"; then
13047 for lang in $INST_LINGUAS; do
13048 CATALOGS="$CATALOGS $lang.gmo"
13051 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
13052 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"
13053 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
13054 if test -f "$f"; then
13056 *.orig | *.bak | *~) ;;
13057 *) cat "$f" >> "$ac_dir/Makefile" ;;
13072 ac_clean_files=$ac_clean_files_save
13074 test $ac_write_fail = 0 ||
13075 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13078 # configure is writing to config.log, and then calls config.status.
13079 # config.status does its own redirection, appending to config.log.
13080 # Unfortunately, on DOS this fails, as config.log is still kept open
13081 # by configure, so config.status won't be able to write to it; its
13082 # output is simply discarded. So we exec the FD to /dev/null,
13083 # effectively closing config.log, so it can be properly (re)opened and
13084 # appended to by config.status. When coming back to configure, we
13085 # need to make the FD available again.
13086 if test "$no_create" != yes; then
13088 ac_config_status_args=
13089 test "$silent" = yes &&
13090 ac_config_status_args="$ac_config_status_args --quiet"
13092 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13094 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13095 # would make configure fail if this is the last instruction.
13096 $ac_cs_success || as_fn_exit 1
13098 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13100 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13103 if test -f util/gen-tarball; then chmod +x util/gen-tarball; fi