2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="dump/dump.h"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars='LTLIBOBJS
673 program_transform_name
684 ac_subst_files='MCONFIG'
686 enable_option_checking
694 enable_oldstylefscript
712 ac_precious_vars='build_alias
728 # Initialize some variables set by options.
730 ac_init_version=false
731 ac_unrecognized_opts=
733 # The variables have the same names as the options, with
734 # dashes changed to underlines.
742 program_transform_name=s,x,x,
750 # Installation directory options.
751 # These are left unexpanded so users can "make install exec_prefix=/foo"
752 # and all the variables that are supposed to be based on exec_prefix
753 # by default will actually change.
754 # Use braces instead of parens because sh, perl, etc. also accept them.
755 # (The list follows the same order as the GNU Coding Standards.)
756 bindir='${exec_prefix}/bin'
757 sbindir='${exec_prefix}/sbin'
758 libexecdir='${exec_prefix}/libexec'
759 datarootdir='${prefix}/share'
760 datadir='${datarootdir}'
761 sysconfdir='${prefix}/etc'
762 sharedstatedir='${prefix}/com'
763 localstatedir='${prefix}/var'
764 includedir='${prefix}/include'
765 oldincludedir='/usr/include'
766 docdir='${datarootdir}/doc/${PACKAGE}'
767 infodir='${datarootdir}/info'
772 libdir='${exec_prefix}/lib'
773 localedir='${datarootdir}/locale'
774 mandir='${datarootdir}/man'
780 # If the previous option needs an argument, assign it.
781 if test -n "$ac_prev"; then
782 eval $ac_prev=\$ac_option
788 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
793 # Accept the important Cygnus configure options, so we can diagnose typos.
795 case $ac_dashdash$ac_option in
799 -bindir | --bindir | --bindi | --bind | --bin | --bi)
801 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804 -build | --build | --buil | --bui | --bu)
805 ac_prev=build_alias ;;
806 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
807 build_alias=$ac_optarg ;;
809 -cache-file | --cache-file | --cache-fil | --cache-fi \
810 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
811 ac_prev=cache_file ;;
812 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
813 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
814 cache_file=$ac_optarg ;;
817 cache_file=config.cache ;;
819 -datadir | --datadir | --datadi | --datad)
821 -datadir=* | --datadir=* | --datadi=* | --datad=*)
822 datadir=$ac_optarg ;;
824 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
825 | --dataroo | --dataro | --datar)
826 ac_prev=datarootdir ;;
827 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
828 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
829 datarootdir=$ac_optarg ;;
831 -disable-* | --disable-*)
832 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835 as_fn_error $? "invalid feature name: $ac_useropt"
836 ac_useropt_orig=$ac_useropt
837 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
838 case $ac_user_opts in
842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
843 ac_unrecognized_sep=', ';;
845 eval enable_$ac_useropt=no ;;
847 -docdir | --docdir | --docdi | --doc | --do)
849 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
852 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
854 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
857 -enable-* | --enable-*)
858 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
859 # Reject names that are not valid shell variable names.
860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861 as_fn_error $? "invalid feature name: $ac_useropt"
862 ac_useropt_orig=$ac_useropt
863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
869 ac_unrecognized_sep=', ';;
871 eval enable_$ac_useropt=\$ac_optarg ;;
873 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
874 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
875 | --exec | --exe | --ex)
876 ac_prev=exec_prefix ;;
877 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
878 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
879 | --exec=* | --exe=* | --ex=*)
880 exec_prefix=$ac_optarg ;;
882 -gas | --gas | --ga | --g)
883 # Obsolete; use --with-gas.
886 -help | --help | --hel | --he | -h)
888 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
889 ac_init_help=recursive ;;
890 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
891 ac_init_help=short ;;
893 -host | --host | --hos | --ho)
894 ac_prev=host_alias ;;
895 -host=* | --host=* | --hos=* | --ho=*)
896 host_alias=$ac_optarg ;;
898 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
900 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
902 htmldir=$ac_optarg ;;
904 -includedir | --includedir | --includedi | --included | --include \
905 | --includ | --inclu | --incl | --inc)
906 ac_prev=includedir ;;
907 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
908 | --includ=* | --inclu=* | --incl=* | --inc=*)
909 includedir=$ac_optarg ;;
911 -infodir | --infodir | --infodi | --infod | --info | --inf)
913 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
914 infodir=$ac_optarg ;;
916 -libdir | --libdir | --libdi | --libd)
918 -libdir=* | --libdir=* | --libdi=* | --libd=*)
921 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
922 | --libexe | --libex | --libe)
923 ac_prev=libexecdir ;;
924 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
925 | --libexe=* | --libex=* | --libe=*)
926 libexecdir=$ac_optarg ;;
928 -localedir | --localedir | --localedi | --localed | --locale)
930 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
931 localedir=$ac_optarg ;;
933 -localstatedir | --localstatedir | --localstatedi | --localstated \
934 | --localstate | --localstat | --localsta | --localst | --locals)
935 ac_prev=localstatedir ;;
936 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
937 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
938 localstatedir=$ac_optarg ;;
940 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
942 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
946 # Obsolete; use --without-fp.
949 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
950 | --no-cr | --no-c | -n)
953 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
954 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
957 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
958 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
959 | --oldin | --oldi | --old | --ol | --o)
960 ac_prev=oldincludedir ;;
961 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
962 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
963 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
964 oldincludedir=$ac_optarg ;;
966 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
968 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
971 -program-prefix | --program-prefix | --program-prefi | --program-pref \
972 | --program-pre | --program-pr | --program-p)
973 ac_prev=program_prefix ;;
974 -program-prefix=* | --program-prefix=* | --program-prefi=* \
975 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
976 program_prefix=$ac_optarg ;;
978 -program-suffix | --program-suffix | --program-suffi | --program-suff \
979 | --program-suf | --program-su | --program-s)
980 ac_prev=program_suffix ;;
981 -program-suffix=* | --program-suffix=* | --program-suffi=* \
982 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
983 program_suffix=$ac_optarg ;;
985 -program-transform-name | --program-transform-name \
986 | --program-transform-nam | --program-transform-na \
987 | --program-transform-n | --program-transform- \
988 | --program-transform | --program-transfor \
989 | --program-transfo | --program-transf \
990 | --program-trans | --program-tran \
991 | --progr-tra | --program-tr | --program-t)
992 ac_prev=program_transform_name ;;
993 -program-transform-name=* | --program-transform-name=* \
994 | --program-transform-nam=* | --program-transform-na=* \
995 | --program-transform-n=* | --program-transform-=* \
996 | --program-transform=* | --program-transfor=* \
997 | --program-transfo=* | --program-transf=* \
998 | --program-trans=* | --program-tran=* \
999 | --progr-tra=* | --program-tr=* | --program-t=*)
1000 program_transform_name=$ac_optarg ;;
1002 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1004 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1005 pdfdir=$ac_optarg ;;
1007 -psdir | --psdir | --psdi | --psd | --ps)
1009 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1012 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1013 | -silent | --silent | --silen | --sile | --sil)
1016 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1018 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1020 sbindir=$ac_optarg ;;
1022 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1023 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1024 | --sharedst | --shareds | --shared | --share | --shar \
1026 ac_prev=sharedstatedir ;;
1027 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1028 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1029 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1031 sharedstatedir=$ac_optarg ;;
1033 -site | --site | --sit)
1035 -site=* | --site=* | --sit=*)
1038 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1040 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1041 srcdir=$ac_optarg ;;
1043 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1044 | --syscon | --sysco | --sysc | --sys | --sy)
1045 ac_prev=sysconfdir ;;
1046 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1047 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1048 sysconfdir=$ac_optarg ;;
1050 -target | --target | --targe | --targ | --tar | --ta | --t)
1051 ac_prev=target_alias ;;
1052 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1053 target_alias=$ac_optarg ;;
1055 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1058 -version | --version | --versio | --versi | --vers | -V)
1059 ac_init_version=: ;;
1062 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 as_fn_error $? "invalid package name: $ac_useropt"
1066 ac_useropt_orig=$ac_useropt
1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1073 ac_unrecognized_sep=', ';;
1075 eval with_$ac_useropt=\$ac_optarg ;;
1077 -without-* | --without-*)
1078 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 as_fn_error $? "invalid package name: $ac_useropt"
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1091 eval with_$ac_useropt=no ;;
1094 # Obsolete; use --with-x.
1097 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1098 | --x-incl | --x-inc | --x-in | --x-i)
1099 ac_prev=x_includes ;;
1100 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1101 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1102 x_includes=$ac_optarg ;;
1104 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1105 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1106 ac_prev=x_libraries ;;
1107 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1108 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109 x_libraries=$ac_optarg ;;
1111 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1112 Try \`$0 --help' for more information"
1116 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1117 # Reject names that are not valid shell variable names.
1118 case $ac_envvar in #(
1119 '' | [0-9]* | *[!_$as_cr_alnum]* )
1120 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1122 eval $ac_envvar=\$ac_optarg
1123 export $ac_envvar ;;
1126 # FIXME: should be removed in autoconf 3.0.
1127 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1136 if test -n "$ac_prev"; then
1137 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138 as_fn_error $? "missing argument to $ac_option"
1141 if test -n "$ac_unrecognized_opts"; then
1142 case $enable_option_checking in
1144 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1145 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1149 # Check all directory arguments for consistency.
1150 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1151 datadir sysconfdir sharedstatedir localstatedir includedir \
1152 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1153 libdir localedir mandir
1155 eval ac_val=\$$ac_var
1156 # Remove trailing slashes.
1159 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1160 eval $ac_var=\$ac_val;;
1162 # Be sure to have absolute directory names.
1164 [\\/$]* | ?:[\\/]* ) continue;;
1165 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1167 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1170 # There might be people who depend on the old broken behavior: `$host'
1171 # used to hold the argument of --host etc.
1172 # FIXME: To remove some day.
1175 target=$target_alias
1177 # FIXME: To remove some day.
1178 if test "x$host_alias" != x; then
1179 if test "x$build_alias" = x; then
1180 cross_compiling=maybe
1181 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1182 If a cross compiler is detected then cross compile mode will be used" >&2
1183 elif test "x$build_alias" != "x$host_alias"; then
1189 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1191 test "$silent" = yes && exec 6>/dev/null
1194 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1195 ac_ls_di=`ls -di .` &&
1196 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1197 as_fn_error $? "working directory cannot be determined"
1198 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1199 as_fn_error $? "pwd does not report name of working directory"
1202 # Find the source files, if location was not specified.
1203 if test -z "$srcdir"; then
1204 ac_srcdir_defaulted=yes
1205 # Try the directory containing this script, then the parent directory.
1206 ac_confdir=`$as_dirname -- "$as_myself" ||
1207 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208 X"$as_myself" : 'X\(//\)[^/]' \| \
1209 X"$as_myself" : 'X\(//\)$' \| \
1210 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1211 $as_echo X"$as_myself" |
1212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1234 ac_srcdir_defaulted=no
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1238 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1240 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1242 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1244 # When building in place, set srcdir=.
1245 if test "$ac_abs_confdir" = "$ac_pwd"; then
1248 # Remove unnecessary trailing slashes from srcdir.
1249 # Double slashes in file names in object file debugging info
1250 # mess up M-x gdb in Emacs.
1252 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1254 for ac_var in $ac_precious_vars; do
1255 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1256 eval ac_env_${ac_var}_value=\$${ac_var}
1257 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1258 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1262 # Report the --help message.
1264 if test "$ac_init_help" = "long"; then
1265 # Omit some internal or obsolete options to make the list less imposing.
1266 # This message is too long to be a string in the A/UX 3.1 sh.
1268 \`configure' configures this package to adapt to many kinds of systems.
1270 Usage: $0 [OPTION]... [VAR=VALUE]...
1272 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1273 VAR=VALUE. See below for descriptions of some of the useful variables.
1275 Defaults for the options are specified in brackets.
1278 -h, --help display this help and exit
1279 --help=short display options specific to this package
1280 --help=recursive display the short help of all the included packages
1281 -V, --version display version information and exit
1282 -q, --quiet, --silent do not print \`checking ...' messages
1283 --cache-file=FILE cache test results in FILE [disabled]
1284 -C, --config-cache alias for \`--cache-file=config.cache'
1285 -n, --no-create do not create output files
1286 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1288 Installation directories:
1289 --prefix=PREFIX install architecture-independent files in PREFIX
1290 [$ac_default_prefix]
1291 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1294 By default, \`make install' will install all the files in
1295 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1296 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1297 for instance \`--prefix=\$HOME'.
1299 For better control, use the options below.
1301 Fine tuning of the installation directories:
1302 --bindir=DIR user executables [EPREFIX/bin]
1303 --sbindir=DIR system admin executables [EPREFIX/sbin]
1304 --libexecdir=DIR program executables [EPREFIX/libexec]
1305 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1306 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1307 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1308 --libdir=DIR object code libraries [EPREFIX/lib]
1309 --includedir=DIR C header files [PREFIX/include]
1310 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1311 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1312 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1313 --infodir=DIR info documentation [DATAROOTDIR/info]
1314 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1315 --mandir=DIR man documentation [DATAROOTDIR/man]
1316 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1317 --htmldir=DIR html documentation [DOCDIR]
1318 --dvidir=DIR dvi documentation [DOCDIR]
1319 --pdfdir=DIR pdf documentation [DOCDIR]
1320 --psdir=DIR ps documentation [DOCDIR]
1327 if test -n "$ac_init_help"; then
1332 --disable-option-checking ignore unrecognized --enable/--with options
1333 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1334 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1335 --enable-debug include debugging code (default is NO)
1336 --enable-static link dump and restore statically (default is NO)
1337 --enable-staticz link libz and libbz2 statically (default is NO)
1338 --enable-rmt compile and install rmt (default is YES)
1339 --enable-ermt compile ermt, an encrypting version of rmt (default is NO)
1340 --enable-kerberos compile kerberos extensions (default is NO)
1341 --enable-readline enable readline support in restore (default is YES)
1342 --enable-oldstylefscript enable old style F script (no arguments) (default is NO)
1343 --enable-largefile enable Large File System support (default is YES)
1344 --enable-qfa enable Quick File Access support (default is YES)
1345 --enable-qfadebug include Quick File Access debugging code (default is NO)
1346 --enable-macosx include Mac OSX restore compatibility (default is NO)
1347 --enable-transselinux restore can translate SELinux EAs (default is YES)
1350 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1351 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1352 --with-cc=COMPILER select compiler to use
1353 --with-linker=LINKER select linker to use
1354 --with-ccopts=CCOPTS select compiler command line options
1355 --with-ldopts=LDOPTS select linker command line options
1356 --with-binowner=USER select owner for binaries
1357 --with-bingrp=GROUP select group for binaries
1358 --with-binmode=MODE select mode for binaries
1359 --with-manowner=USER select owner for manual pages
1360 --with-mangrp=GROUP select group for manual pages
1361 --with-manmode=MODE select mode for manual pages
1362 --with-dumpdatespath=PATH select path for dumpdates file
1364 Some influential environment variables:
1365 CC C compiler command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1368 nonstandard directory <lib dir>
1369 LIBS libraries to pass to the linker, e.g. -l<library>
1370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1371 you have headers in a nonstandard directory <include dir>
1373 PKG_CONFIG path to pkg-config utility
1375 directories to add to pkg-config's search path
1377 path overriding pkg-config's built-in search path
1379 C compiler flags for EXT2FS, overriding pkg-config
1380 EXT2FS_LIBS linker flags for EXT2FS, overriding pkg-config
1382 Use these variables to override the choices made by `configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1385 Report bugs to the package provider.
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1393 test -d "$ac_dir" ||
1394 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1402 # A ".." for each directory in $ac_dir_suffix.
1403 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1404 case $ac_top_builddir_sub in
1405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1409 ac_abs_top_builddir=$ac_pwd
1410 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1411 # for backward compatibility:
1412 ac_top_builddir=$ac_top_build_prefix
1415 .) # We are building in place.
1417 ac_top_srcdir=$ac_top_builddir_sub
1418 ac_abs_top_srcdir=$ac_pwd ;;
1419 [\\/]* | ?:[\\/]* ) # Absolute name.
1420 ac_srcdir=$srcdir$ac_dir_suffix;
1421 ac_top_srcdir=$srcdir
1422 ac_abs_top_srcdir=$srcdir ;;
1424 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1425 ac_top_srcdir=$ac_top_build_prefix$srcdir
1426 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1428 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1430 cd "$ac_dir" || { ac_status=$?; continue; }
1431 # Check for guested configure.
1432 if test -f "$ac_srcdir/configure.gnu"; then
1434 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1435 elif test -f "$ac_srcdir/configure"; then
1437 $SHELL "$ac_srcdir/configure" --help=recursive
1439 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1441 cd "$ac_pwd" || { ac_status=$?; break; }
1445 test -n "$ac_init_help" && exit $ac_status
1446 if $ac_init_version; then
1449 generated by GNU Autoconf 2.67
1451 Copyright (C) 2010 Free Software Foundation, Inc.
1452 This configure script is free software; the Free Software Foundation
1453 gives unlimited permission to copy, distribute and modify it.
1458 ## ------------------------ ##
1459 ## Autoconf initialization. ##
1460 ## ------------------------ ##
1462 # ac_fn_c_try_compile LINENO
1463 # --------------------------
1464 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1465 ac_fn_c_try_compile ()
1467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1468 rm -f conftest.$ac_objext
1469 if { { ac_try="$ac_compile"
1471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472 *) ac_try_echo=$ac_try;;
1474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476 (eval "$ac_compile") 2>conftest.err
1478 if test -s conftest.err; then
1479 grep -v '^ *+' conftest.err >conftest.er1
1480 cat conftest.er1 >&5
1481 mv -f conftest.er1 conftest.err
1483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484 test $ac_status = 0; } && {
1485 test -z "$ac_c_werror_flag" ||
1486 test ! -s conftest.err
1487 } && test -s conftest.$ac_objext; then :
1490 $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.$ac_ext >&5
1495 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1496 as_fn_set_status $ac_retval
1498 } # ac_fn_c_try_compile
1500 # ac_fn_c_try_cpp LINENO
1501 # ----------------------
1502 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 if { { ac_try="$ac_cpp conftest.$ac_ext"
1508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1509 *) ac_try_echo=$ac_try;;
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1515 if test -s conftest.err; then
1516 grep -v '^ *+' conftest.err >conftest.er1
1517 cat conftest.er1 >&5
1518 mv -f conftest.er1 conftest.err
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } > conftest.i && {
1522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1527 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.$ac_ext >&5
1532 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1533 as_fn_set_status $ac_retval
1537 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1538 # -------------------------------------------------------
1539 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1540 # the include files in INCLUDES and setting the cache variable VAR
1542 ac_fn_c_check_header_mongrel ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 if eval "test \"\${$3+set}\"" = set; then :
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1547 $as_echo_n "checking for $2... " >&6; }
1548 if eval "test \"\${$3+set}\"" = set; then :
1549 $as_echo_n "(cached) " >&6
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1553 $as_echo "$ac_res" >&6; }
1555 # Is the header compilable?
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1557 $as_echo_n "checking $2 usability... " >&6; }
1558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1559 /* end confdefs.h. */
1563 if ac_fn_c_try_compile "$LINENO"; then :
1564 ac_header_compiler=yes
1566 ac_header_compiler=no
1568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1570 $as_echo "$ac_header_compiler" >&6; }
1572 # Is the header present?
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1574 $as_echo_n "checking $2 presence... " >&6; }
1575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1576 /* end confdefs.h. */
1579 if ac_fn_c_try_cpp "$LINENO"; then :
1580 ac_header_preproc=yes
1582 ac_header_preproc=no
1584 rm -f conftest.err conftest.i conftest.$ac_ext
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1586 $as_echo "$ac_header_preproc" >&6; }
1588 # So? What about this header?
1589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1592 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1594 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1598 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1600 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1602 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1604 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1606 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1610 $as_echo_n "checking for $2... " >&6; }
1611 if eval "test \"\${$3+set}\"" = set; then :
1612 $as_echo_n "(cached) " >&6
1614 eval "$3=\$ac_header_compiler"
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1620 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1622 } # ac_fn_c_check_header_mongrel
1624 # ac_fn_c_try_run LINENO
1625 # ----------------------
1626 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1627 # that executables *can* be run.
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if { { ac_try="$ac_link"
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_link") 2>&5
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1642 { { case "(($ac_try" in
1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_try") 2>&5
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; }; }; then :
1654 $as_echo "$as_me: program exited with status $ac_status" >&5
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1658 ac_retval=$ac_status
1660 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1661 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662 as_fn_set_status $ac_retval
1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists and can be compiled using the include files in
1669 # INCLUDES, setting the cache variable VAR accordingly.
1670 ac_fn_c_check_header_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if eval "test \"\${$3+set}\"" = set; then :
1676 $as_echo_n "(cached) " >&6
1678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679 /* end confdefs.h. */
1683 if ac_fn_c_try_compile "$LINENO"; then :
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 } # ac_fn_c_check_header_compile
1697 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1698 # ----------------------------------------------
1699 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1700 ac_fn_c_check_header_preproc ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval "test \"\${$3+set}\"" = set; then :
1706 $as_echo_n "(cached) " >&6
1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1712 if ac_fn_c_try_cpp "$LINENO"; then :
1717 rm -f conftest.err conftest.i conftest.$ac_ext
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 } # ac_fn_c_check_header_preproc
1726 # ac_fn_c_try_link LINENO
1727 # -----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext conftest$ac_exeext
1733 if { { ac_try="$ac_link"
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>conftest.err
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest$ac_exeext && {
1752 test "$cross_compiling" = yes ||
1753 $as_test_x conftest$ac_exeext
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1762 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1763 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1764 # interfere with the next link command; also delete a directory that is
1765 # left behind by Apple's compiler. We do this before executing the actions.
1766 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768 as_fn_set_status $ac_retval
1770 } # ac_fn_c_try_link
1772 # ac_fn_c_check_func LINENO FUNC VAR
1773 # ----------------------------------
1774 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1775 ac_fn_c_check_func ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval "test \"\${$3+set}\"" = set; then :
1781 $as_echo_n "(cached) " >&6
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1785 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1787 #define $2 innocuous_$2
1789 /* System header to define __stub macros and hopefully few prototypes,
1790 which can conflict with char $2 (); below.
1791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1792 <limits.h> exists even on freestanding compilers. */
1795 # include <limits.h>
1797 # include <assert.h>
1802 /* Override any GCC internal prototype to avoid an error.
1803 Use char because int might match the return type of a GCC
1804 builtin and then its argument prototype would still apply. */
1809 /* The GNU C library defines this for functions which it implements
1810 to always fail with ENOSYS. Some functions are actually named
1811 something starting with __ and the normal name is an alias. */
1812 #if defined __stub_$2 || defined __stub___$2
1824 if ac_fn_c_try_link "$LINENO"; then :
1829 rm -f core conftest.err conftest.$ac_objext \
1830 conftest$ac_exeext conftest.$ac_ext
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834 $as_echo "$ac_res" >&6; }
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1837 } # ac_fn_c_check_func
1839 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1840 # -------------------------------------------
1841 # Tests whether TYPE exists after having included INCLUDES, setting cache
1842 # variable VAR accordingly.
1843 ac_fn_c_check_type ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval "test \"\${$3+set}\"" = set; then :
1849 $as_echo_n "(cached) " >&6
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1864 if ac_fn_c_try_compile "$LINENO"; then :
1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h. */
1877 if ac_fn_c_try_compile "$LINENO"; then :
1882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891 } # ac_fn_c_check_type
1892 cat >config.log <<_ACEOF
1893 This file contains any messages produced by compilers while
1894 running configure, to aid debugging if configure makes a mistake.
1896 It was created by $as_me, which was
1897 generated by GNU Autoconf 2.67. Invocation command line was
1909 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1910 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1911 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1912 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1913 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1915 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1916 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1918 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1919 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1920 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1921 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1922 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1923 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1924 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 test -z "$as_dir" && as_dir=.
1933 $as_echo "PATH: $as_dir"
1949 # Keep a trace of the command line.
1950 # Strip out --no-create and --no-recursion so they do not pile up.
1951 # Strip out --silent because we don't want to record it for future runs.
1952 # Also quote any args containing shell meta-characters.
1953 # Make two passes to allow for proper duplicate-argument suppression.
1957 ac_must_keep_next=false
1963 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1965 | -silent | --silent | --silen | --sile | --sil)
1968 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1971 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1973 as_fn_append ac_configure_args1 " '$ac_arg'"
1974 if test $ac_must_keep_next = true; then
1975 ac_must_keep_next=false # Got value, back to normal.
1978 *=* | --config-cache | -C | -disable-* | --disable-* \
1979 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1980 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1981 | -with-* | --with-* | -without-* | --without-* | --x)
1982 case "$ac_configure_args0 " in
1983 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1986 -* ) ac_must_keep_next=true ;;
1989 as_fn_append ac_configure_args " '$ac_arg'"
1994 { ac_configure_args0=; unset ac_configure_args0;}
1995 { ac_configure_args1=; unset ac_configure_args1;}
1997 # When interrupted or exit'd, cleanup temporary files, and complete
1998 # config.log. We remove comments because anyway the quotes in there
1999 # would cause problems or look ugly.
2000 # WARNING: Use '\'' to represent an apostrophe within the trap.
2001 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2002 trap 'exit_status=$?
2003 # Save into config.log some information that might help in debugging.
2007 $as_echo "## ---------------- ##
2008 ## Cache variables. ##
2009 ## ---------------- ##"
2011 # The following way of writing the cache mishandles newlines in values,
2013 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2014 eval ac_val=\$$ac_var
2018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2022 _ | IFS | as_nl) ;; #(
2023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2024 *) { eval $ac_var=; unset $ac_var;} ;;
2029 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2030 *${as_nl}ac_space=\ *)
2032 "s/'\''/'\''\\\\'\'''\''/g;
2033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2036 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2043 $as_echo "## ----------------- ##
2044 ## Output variables. ##
2045 ## ----------------- ##"
2047 for ac_var in $ac_subst_vars
2049 eval ac_val=\$$ac_var
2051 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2053 $as_echo "$ac_var='\''$ac_val'\''"
2057 if test -n "$ac_subst_files"; then
2058 $as_echo "## ------------------- ##
2059 ## File substitutions. ##
2060 ## ------------------- ##"
2062 for ac_var in $ac_subst_files
2064 eval ac_val=\$$ac_var
2066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2068 $as_echo "$ac_var='\''$ac_val'\''"
2073 if test -s confdefs.h; then
2074 $as_echo "## ----------- ##
2081 test "$ac_signal" != 0 &&
2082 $as_echo "$as_me: caught signal $ac_signal"
2083 $as_echo "$as_me: exit $exit_status"
2085 rm -f core *.core core.conftest.* &&
2086 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2089 for ac_signal in 1 2 13 15; do
2090 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2094 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2095 rm -f -r conftest* confdefs.h
2097 $as_echo "/* confdefs.h */" > confdefs.h
2099 # Predefined preprocessor variables.
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_NAME "$PACKAGE_NAME"
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2109 cat >>confdefs.h <<_ACEOF
2110 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2113 cat >>confdefs.h <<_ACEOF
2114 #define PACKAGE_STRING "$PACKAGE_STRING"
2117 cat >>confdefs.h <<_ACEOF
2118 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_URL "$PACKAGE_URL"
2126 # Let the site file select an alternate cache file if it wants to.
2127 # Prefer an explicitly selected file to automatically selected ones.
2130 if test -n "$CONFIG_SITE"; then
2131 # We do not want a PATH search for config.site.
2132 case $CONFIG_SITE in #((
2133 -*) ac_site_file1=./$CONFIG_SITE;;
2134 */*) ac_site_file1=$CONFIG_SITE;;
2135 *) ac_site_file1=./$CONFIG_SITE;;
2137 elif test "x$prefix" != xNONE; then
2138 ac_site_file1=$prefix/share/config.site
2139 ac_site_file2=$prefix/etc/config.site
2141 ac_site_file1=$ac_default_prefix/share/config.site
2142 ac_site_file2=$ac_default_prefix/etc/config.site
2144 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2146 test "x$ac_site_file" = xNONE && continue
2147 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2149 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2150 sed 's/^/| /' "$ac_site_file" >&5
2152 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2154 as_fn_error $? "failed to load site script $ac_site_file
2155 See \`config.log' for more details" "$LINENO" 5 ; }
2159 if test -r "$cache_file"; then
2160 # Some versions of bash will fail to source /dev/null (special files
2161 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2162 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2164 $as_echo "$as_me: loading cache $cache_file" >&6;}
2166 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2167 *) . "./$cache_file";;
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2172 $as_echo "$as_me: creating cache $cache_file" >&6;}
2176 # Check that the precious variables saved in the cache have kept the same
2178 ac_cache_corrupted=false
2179 for ac_var in $ac_precious_vars; do
2180 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2181 eval ac_new_set=\$ac_env_${ac_var}_set
2182 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2183 eval ac_new_val=\$ac_env_${ac_var}_value
2184 case $ac_old_set,$ac_new_set in
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2187 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2188 ac_cache_corrupted=: ;;
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2191 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2192 ac_cache_corrupted=: ;;
2195 if test "x$ac_old_val" != "x$ac_new_val"; then
2196 # differences in whitespace do not lead to failure.
2197 ac_old_val_w=`echo x $ac_old_val`
2198 ac_new_val_w=`echo x $ac_new_val`
2199 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2201 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2202 ac_cache_corrupted=:
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2205 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2206 eval $ac_var=\$ac_old_val
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2209 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2211 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2214 # Pass precious variables to config.status.
2215 if test "$ac_new_set" = set; then
2217 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2218 *) ac_arg=$ac_var=$ac_new_val ;;
2220 case " $ac_configure_args " in
2221 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2222 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2226 if $ac_cache_corrupted; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2230 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2231 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2233 ## -------------------- ##
2234 ## Main body of script. ##
2235 ## -------------------- ##
2238 ac_cpp='$CPP $CPPFLAGS'
2239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2249 ac_config_headers="$ac_config_headers config.h"
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2253 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2255 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2256 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2257 $as_echo_n "(cached) " >&6
2259 cat >conftest.make <<\_ACEOF
2262 @echo '@@@%%%=$(MAKE)=@@@%%%'
2264 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2265 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2267 eval ac_cv_prog_make_${ac_make}_set=yes;;
2269 eval ac_cv_prog_make_${ac_make}_set=no;;
2273 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2275 $as_echo "yes" >&6; }
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2279 $as_echo "no" >&6; }
2280 SET_MAKE="MAKE=${MAKE-make}"
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2284 $as_echo_n "checking whether ln -s works... " >&6; }
2286 if test "$LN_S" = "ln -s"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2288 $as_echo "yes" >&6; }
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2291 $as_echo "no, using $LN_S" >&6; }
2294 # Extract the first word of "cp", so it can be a program name with args.
2295 set dummy cp; ac_word=$2
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2297 $as_echo_n "checking for $ac_word... " >&6; }
2298 if test "${ac_cv_path_CP+set}" = set; then :
2299 $as_echo_n "(cached) " >&6
2303 ac_cv_path_CP="$CP" # Let the user override the test with a path.
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
2314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
2326 if test -n "$CP"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
2328 $as_echo "$CP" >&6; }
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2331 $as_echo "no" >&6; }
2335 # Extract the first word of "mv", so it can be a program name with args.
2336 set dummy mv; ac_word=$2
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2338 $as_echo_n "checking for $ac_word... " >&6; }
2339 if test "${ac_cv_path_MV+set}" = set; then :
2340 $as_echo_n "(cached) " >&6
2344 ac_cv_path_MV="$MV" # Let the user override the test with a path.
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2354 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
2355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
2367 if test -n "$MV"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
2369 $as_echo "$MV" >&6; }
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2372 $as_echo "no" >&6; }
2376 # Extract the first word of "rm", so it can be a program name with args.
2377 set dummy rm; ac_word=$2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if test "${ac_cv_path_RM+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2385 ac_cv_path_RM="$RM" # Let the user override the test with a path.
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
2396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
2408 if test -n "$RM"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
2410 $as_echo "$RM" >&6; }
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413 $as_echo "no" >&6; }
2417 if test -n "$ac_tool_prefix"; then
2418 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2419 set dummy ${ac_tool_prefix}ar; ac_word=$2
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2421 $as_echo_n "checking for $ac_word... " >&6; }
2422 if test "${ac_cv_prog_AR+set}" = set; then :
2423 $as_echo_n "(cached) " >&6
2425 if test -n "$AR"; then
2426 ac_cv_prog_AR="$AR" # Let the user override the test.
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir=.
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435 ac_cv_prog_AR="${ac_tool_prefix}ar"
2436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 if test -n "$AR"; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2448 $as_echo "$AR" >&6; }
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2451 $as_echo "no" >&6; }
2456 if test -z "$ac_cv_prog_AR"; then
2458 # Extract the first word of "ar", so it can be a program name with args.
2459 set dummy ar; ac_word=$2
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461 $as_echo_n "checking for $ac_word... " >&6; }
2462 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2463 $as_echo_n "(cached) " >&6
2465 if test -n "$ac_ct_AR"; then
2466 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 ac_cv_prog_ac_ct_AR="ar"
2476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2486 if test -n "$ac_ct_AR"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2488 $as_echo "$ac_ct_AR" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2494 if test "x$ac_ct_AR" = x; then
2497 case $cross_compiling:$ac_tool_warned in
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2501 ac_tool_warned=yes ;;
2509 if test -n "$ac_tool_prefix"; then
2510 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2511 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2515 $as_echo_n "(cached) " >&6
2517 if test -n "$RANLIB"; then
2518 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2527 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 RANLIB=$ac_cv_prog_RANLIB
2538 if test -n "$RANLIB"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2540 $as_echo "$RANLIB" >&6; }
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2548 if test -z "$ac_cv_prog_RANLIB"; then
2549 ac_ct_RANLIB=$RANLIB
2550 # Extract the first word of "ranlib", so it can be a program name with args.
2551 set dummy ranlib; ac_word=$2
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553 $as_echo_n "checking for $ac_word... " >&6; }
2554 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2555 $as_echo_n "(cached) " >&6
2557 if test -n "$ac_ct_RANLIB"; then
2558 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir=.
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567 ac_cv_prog_ac_ct_RANLIB="ranlib"
2568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2578 if test -n "$ac_ct_RANLIB"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2580 $as_echo "$ac_ct_RANLIB" >&6; }
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583 $as_echo "no" >&6; }
2586 if test "x$ac_ct_RANLIB" = x; then
2589 case $cross_compiling:$ac_tool_warned in
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2593 ac_tool_warned=yes ;;
2595 RANLIB=$ac_ct_RANLIB
2598 RANLIB="$ac_cv_prog_RANLIB"
2601 if test -n "$ac_tool_prefix"; then
2602 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}patch; ac_word=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if test "${ac_cv_prog_PATCH+set}" = set; then :
2607 $as_echo_n "(cached) " >&6
2609 if test -n "$PATCH"; then
2610 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 ac_cv_prog_PATCH="${ac_tool_prefix}patch"
2620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 PATCH=$ac_cv_prog_PATCH
2630 if test -n "$PATCH"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
2632 $as_echo "$PATCH" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2640 if test -z "$ac_cv_prog_PATCH"; then
2642 # Extract the first word of "patch", so it can be a program name with args.
2643 set dummy patch; ac_word=$2
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645 $as_echo_n "checking for $ac_word... " >&6; }
2646 if test "${ac_cv_prog_ac_ct_PATCH+set}" = set; then :
2647 $as_echo_n "(cached) " >&6
2649 if test -n "$ac_ct_PATCH"; then
2650 ac_cv_prog_ac_ct_PATCH="$ac_ct_PATCH" # Let the user override the test.
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659 ac_cv_prog_ac_ct_PATCH="patch"
2660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 ac_ct_PATCH=$ac_cv_prog_ac_ct_PATCH
2670 if test -n "$ac_ct_PATCH"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PATCH" >&5
2672 $as_echo "$ac_ct_PATCH" >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 $as_echo "no" >&6; }
2678 if test "x$ac_ct_PATCH" = x; then
2681 case $cross_compiling:$ac_tool_warned in
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2685 ac_tool_warned=yes ;;
2690 PATCH="$ac_cv_prog_PATCH"
2694 ac_cpp='$CPP $CPPFLAGS'
2695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2698 if test -n "$ac_tool_prefix"; then
2699 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2700 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702 $as_echo_n "checking for $ac_word... " >&6; }
2703 if test "${ac_cv_prog_CC+set}" = set; then :
2704 $as_echo_n "(cached) " >&6
2706 if test -n "$CC"; then
2707 ac_cv_prog_CC="$CC" # Let the user override the test.
2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 test -z "$as_dir" && as_dir=.
2714 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2716 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 if test -n "$CC"; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2729 $as_echo "$CC" >&6; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 $as_echo "no" >&6; }
2737 if test -z "$ac_cv_prog_CC"; then
2739 # Extract the first word of "gcc", so it can be a program name with args.
2740 set dummy gcc; ac_word=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$ac_ct_CC"; then
2747 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_ac_ct_CC="gcc"
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2767 if test -n "$ac_ct_CC"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2769 $as_echo "$ac_ct_CC" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2775 if test "x$ac_ct_CC" = x; then
2778 case $cross_compiling:$ac_tool_warned in
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2782 ac_tool_warned=yes ;;
2790 if test -z "$CC"; then
2791 if test -n "$ac_tool_prefix"; then
2792 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2793 set dummy ${ac_tool_prefix}cc; ac_word=$2
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795 $as_echo_n "checking for $ac_word... " >&6; }
2796 if test "${ac_cv_prog_CC+set}" = set; then :
2797 $as_echo_n "(cached) " >&6
2799 if test -n "$CC"; then
2800 ac_cv_prog_CC="$CC" # Let the user override the test.
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2809 ac_cv_prog_CC="${ac_tool_prefix}cc"
2810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 if test -n "$CC"; then
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2822 $as_echo "$CC" >&6; }
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
2831 if test -z "$CC"; then
2832 # Extract the first word of "cc", so it can be a program name with args.
2833 set dummy cc; ac_word=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if test "${ac_cv_prog_CC+set}" = set; then :
2837 $as_echo_n "(cached) " >&6
2839 if test -n "$CC"; then
2840 ac_cv_prog_CC="$CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2851 ac_prog_rejected=yes
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 if test $ac_prog_rejected = yes; then
2863 # We found a bogon in the path, so make sure we never use it.
2864 set dummy $ac_cv_prog_CC
2866 if test $# != 0; then
2867 # We chose a different compiler from the bogus one.
2868 # However, it has the same basename, so the bogon will be chosen
2869 # first if we set CC to just the basename; use the full file name.
2871 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2877 if test -n "$CC"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2879 $as_echo "$CC" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2887 if test -z "$CC"; then
2888 if test -n "$ac_tool_prefix"; then
2889 for ac_prog in cl.exe
2891 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2892 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if test "${ac_cv_prog_CC+set}" = set; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$CC"; then
2899 ac_cv_prog_CC="$CC" # Let the user override the test.
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 if test -n "$CC"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2921 $as_echo "$CC" >&6; }
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2928 test -n "$CC" && break
2931 if test -z "$CC"; then
2933 for ac_prog in cl.exe
2935 # Extract the first word of "$ac_prog", so it can be a program name with args.
2936 set dummy $ac_prog; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$ac_ct_CC"; then
2943 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952 ac_cv_prog_ac_ct_CC="$ac_prog"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2963 if test -n "$ac_ct_CC"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2965 $as_echo "$ac_ct_CC" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2972 test -n "$ac_ct_CC" && break
2975 if test "x$ac_ct_CC" = x; then
2978 case $cross_compiling:$ac_tool_warned in
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2982 ac_tool_warned=yes ;;
2991 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 as_fn_error $? "no acceptable C compiler found in \$PATH
2994 See \`config.log' for more details" "$LINENO" 5 ; }
2996 # Provide some information about the compiler.
2997 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3000 for ac_option in --version -v -V -qversion; do
3001 { { ac_try="$ac_compiler $ac_option >&5"
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3010 if test -s conftest.err; then
3012 ... rest of stderr output deleted ...
3013 10q' conftest.err >conftest.er1
3014 cat conftest.er1 >&5
3016 rm -f conftest.er1 conftest.err
3017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018 test $ac_status = 0; }
3021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3032 ac_clean_files_save=$ac_clean_files
3033 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3034 # Try to create an executable without -o first, disregard a.out.
3035 # It will help us diagnose broken compilers, and finding out an intuition
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3038 $as_echo_n "checking whether the C compiler works... " >&6; }
3039 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3041 # The possible output files:
3042 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3045 for ac_file in $ac_files
3048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3049 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3054 if { { ac_try="$ac_link_default"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_link_default") 2>&5
3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3064 test $ac_status = 0; }; then :
3065 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3066 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3067 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3068 # so that the user can short-circuit this test for compilers unknown to
3070 for ac_file in $ac_files ''
3072 test -f "$ac_file" || continue
3074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3077 # We found the default executable, but exeext='' is most
3081 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3083 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085 # We set ac_cv_exeext here because the later test for it is not
3086 # safe: cross compilers may not add the suffix if given an `-o'
3087 # argument, so we may need to know it at that point already.
3088 # Even if this section looks crufty: it has the advantage of
3095 test "$ac_cv_exeext" = no && ac_cv_exeext=
3100 if test -z "$ac_file"; then :
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3103 $as_echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108 as_fn_error 77 "C compiler cannot create executables
3109 See \`config.log' for more details" "$LINENO" 5 ; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3112 $as_echo "yes" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3115 $as_echo_n "checking for C compiler default output file name... " >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3117 $as_echo "$ac_file" >&6; }
3118 ac_exeext=$ac_cv_exeext
3120 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3121 ac_clean_files=$ac_clean_files_save
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3123 $as_echo_n "checking for suffix of executables... " >&6; }
3124 if { { ac_try="$ac_link"
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130 $as_echo "$ac_try_echo"; } >&5
3131 (eval "$ac_link") 2>&5
3133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134 test $ac_status = 0; }; then :
3135 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3136 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3137 # work properly (i.e., refer to `conftest.exe'), while it won't with
3139 for ac_file in conftest.exe conftest conftest.*; do
3140 test -f "$ac_file" || continue
3142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3143 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3152 See \`config.log' for more details" "$LINENO" 5 ; }
3154 rm -f conftest conftest$ac_cv_exeext
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3156 $as_echo "$ac_cv_exeext" >&6; }
3158 rm -f conftest.$ac_ext
3159 EXEEXT=$ac_cv_exeext
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3167 FILE *f = fopen ("conftest.out", "w");
3168 return ferror (f) || fclose (f) != 0;
3174 ac_clean_files="$ac_clean_files conftest.out"
3175 # Check that the compiler produces executables we can run. If not, either
3176 # the compiler is broken, or we cross compile.
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3178 $as_echo_n "checking whether we are cross compiling... " >&6; }
3179 if test "$cross_compiling" != yes; then
3180 { { ac_try="$ac_link"
3182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_link") 2>&5
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }
3191 if { ac_try='./conftest$ac_cv_exeext'
3192 { { case "(($ac_try" in
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198 (eval "$ac_try") 2>&5
3200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201 test $ac_status = 0; }; }; then
3204 if test "$cross_compiling" = maybe; then
3207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error $? "cannot run C compiled programs.
3210 If you meant to cross compile, use \`--host'.
3211 See \`config.log' for more details" "$LINENO" 5 ; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3216 $as_echo "$cross_compiling" >&6; }
3218 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3219 ac_clean_files=$ac_clean_files_save
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3221 $as_echo_n "checking for suffix of object files... " >&6; }
3222 if test "${ac_cv_objext+set}" = set; then :
3223 $as_echo_n "(cached) " >&6
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 rm -f conftest.o conftest.obj
3237 if { { ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3243 $as_echo "$ac_try_echo"; } >&5
3244 (eval "$ac_compile") 2>&5
3246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3247 test $ac_status = 0; }; then :
3248 for ac_file in conftest.o conftest.obj conftest.*; do
3249 test -f "$ac_file" || continue;
3251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3252 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3257 $as_echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 as_fn_error $? "cannot compute suffix of object files: cannot compile
3263 See \`config.log' for more details" "$LINENO" 5 ; }
3265 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3268 $as_echo "$ac_cv_objext" >&6; }
3269 OBJEXT=$ac_cv_objext
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3272 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3273 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3274 $as_echo_n "(cached) " >&6
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3290 if ac_fn_c_try_compile "$LINENO"; then :
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3300 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3301 if test $ac_compiler_gnu = yes; then
3306 ac_test_CFLAGS=${CFLAGS+set}
3307 ac_save_CFLAGS=$CFLAGS
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3309 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3310 if test "${ac_cv_prog_cc_g+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3313 ac_save_c_werror_flag=$ac_c_werror_flag
3314 ac_c_werror_flag=yes
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3328 if ac_fn_c_try_compile "$LINENO"; then :
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3343 if ac_fn_c_try_compile "$LINENO"; then :
3346 ac_c_werror_flag=$ac_save_c_werror_flag
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3359 if ac_fn_c_try_compile "$LINENO"; then :
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 ac_c_werror_flag=$ac_save_c_werror_flag
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3370 $as_echo "$ac_cv_prog_cc_g" >&6; }
3371 if test "$ac_test_CFLAGS" = set; then
3372 CFLAGS=$ac_save_CFLAGS
3373 elif test $ac_cv_prog_cc_g = yes; then
3374 if test "$GCC" = yes; then
3380 if test "$GCC" = yes; then
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3387 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3388 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3391 ac_cv_prog_cc_c89=no
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3397 #include <sys/types.h>
3398 #include <sys/stat.h>
3399 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3400 struct buf { int x; };
3401 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3402 static char *e (p, i)
3408 static char *f (char * (*g) (char **, int), char **p, ...)
3413 s = g (p, va_arg (v,int));
3418 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3419 function prototypes and stuff, but not '\xHH' hex character constants.
3420 These don't provoke an error unfortunately, instead are silently treated
3421 as 'x'. The following induces an error, until -std is added to get
3422 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3423 array size at least. It's necessary to write '\x00'==0 to get something
3424 that's true only with -std. */
3425 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3427 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3428 inside strings and character constants. */
3430 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3432 int test (int i, double x);
3433 struct s1 {int (*f) (int a);};
3434 struct s2 {int (*f) (double a);};
3435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3441 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3446 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3447 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3449 CC="$ac_save_CC $ac_arg"
3450 if ac_fn_c_try_compile "$LINENO"; then :
3451 ac_cv_prog_cc_c89=$ac_arg
3453 rm -f core conftest.err conftest.$ac_objext
3454 test "x$ac_cv_prog_cc_c89" != "xno" && break
3456 rm -f conftest.$ac_ext
3461 case "x$ac_cv_prog_cc_c89" in
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3464 $as_echo "none needed" >&6; } ;;
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3467 $as_echo "unsupported" >&6; } ;;
3469 CC="$CC $ac_cv_prog_cc_c89"
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3471 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3473 if test "x$ac_cv_prog_cc_c89" != xno; then :
3478 ac_cpp='$CPP $CPPFLAGS'
3479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3484 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3485 if test -f "$ac_dir/install-sh"; then
3487 ac_install_sh="$ac_aux_dir/install-sh -c"
3489 elif test -f "$ac_dir/install.sh"; then
3491 ac_install_sh="$ac_aux_dir/install.sh -c"
3493 elif test -f "$ac_dir/shtool"; then
3495 ac_install_sh="$ac_aux_dir/shtool install -c"
3499 if test -z "$ac_aux_dir"; then
3500 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3503 # These three variables are undocumented and unsupported,
3504 # and are intended to be withdrawn in a future Autoconf release.
3505 # They can cause serious problems if a builder's source tree is in a directory
3506 # whose full name contains unusual characters.
3507 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3508 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3509 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3512 # Find a good install program. We prefer a C program (faster),
3513 # so one script is as good as another. But avoid the broken or
3514 # incompatible versions:
3515 # SysV /etc/install, /usr/sbin/install
3516 # SunOS /usr/etc/install
3517 # IRIX /sbin/install
3519 # AmigaOS /C/install, which installs bootblocks on floppy discs
3520 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3521 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3522 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3523 # OS/2's system install, which has a completely different semantic
3524 # ./install, which can be erroneously created by make from ./install.sh.
3525 # Reject install programs that cannot install multiple files.
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3527 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3528 if test -z "$INSTALL"; then
3529 if test "${ac_cv_path_install+set}" = set; then :
3530 $as_echo_n "(cached) " >&6
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir=.
3537 # Account for people who put trailing slashes in PATH elements.
3538 case $as_dir/ in #((
3539 ./ | .// | /[cC]/* | \
3540 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3541 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3544 # OSF1 and SCO ODT 3.0 have their own names for install.
3545 # Don't use installbsd from OSF since it installs stuff as root
3547 for ac_prog in ginstall scoinst install; do
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3550 if test $ac_prog = install &&
3551 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3552 # AIX install. It has an incompatible calling convention.
3554 elif test $ac_prog = install &&
3555 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3556 # program-specific install script used by HP pwplus--don't use.
3559 rm -rf conftest.one conftest.two conftest.dir
3560 echo one > conftest.one
3561 echo two > conftest.two
3563 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3564 test -s conftest.one && test -s conftest.two &&
3565 test -s conftest.dir/conftest.one &&
3566 test -s conftest.dir/conftest.two
3568 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3581 rm -rf conftest.one conftest.two conftest.dir
3584 if test "${ac_cv_path_install+set}" = set; then
3585 INSTALL=$ac_cv_path_install
3587 # As a last resort, use the slow shell script. Don't cache a
3588 # value for INSTALL within a source directory, because that will
3589 # break other packages using the cache if that directory is
3590 # removed, or if the value is a relative name.
3591 INSTALL=$ac_install_sh
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3595 $as_echo "$INSTALL" >&6; }
3597 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3598 # It thinks the first close brace ends the variable substitution.
3599 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3601 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3603 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3608 ac_cpp='$CPP $CPPFLAGS'
3609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3614 # On Suns, sometimes $CPP names a directory.
3615 if test -n "$CPP" && test -d "$CPP"; then
3618 if test -z "$CPP"; then
3619 if test "${ac_cv_prog_CPP+set}" = set; then :
3620 $as_echo_n "(cached) " >&6
3622 # Double quotes because CPP needs to be expanded
3623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3626 for ac_c_preproc_warn_flag in '' yes
3628 # Use a header file that comes with gcc, so configuring glibc
3629 # with a fresh cross-compiler works.
3630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3631 # <limits.h> exists even on freestanding compilers.
3632 # On the NeXT, cc -E runs the code through the compiler's parser,
3633 # not just through cpp. "Syntax error" is here to catch this case.
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3637 # include <limits.h>
3639 # include <assert.h>
3643 if ac_fn_c_try_cpp "$LINENO"; then :
3646 # Broken: fails on valid input.
3649 rm -f conftest.err conftest.i conftest.$ac_ext
3651 # OK, works on sane cases. Now check whether nonexistent headers
3652 # can be detected and how.
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3655 #include <ac_nonexistent.h>
3657 if ac_fn_c_try_cpp "$LINENO"; then :
3658 # Broken: success on invalid input.
3661 # Passes both tests.
3665 rm -f conftest.err conftest.i conftest.$ac_ext
3668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3669 rm -f conftest.i conftest.err conftest.$ac_ext
3670 if $ac_preproc_ok; then :
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3683 $as_echo "$CPP" >&6; }
3685 for ac_c_preproc_warn_flag in '' yes
3687 # Use a header file that comes with gcc, so configuring glibc
3688 # with a fresh cross-compiler works.
3689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3690 # <limits.h> exists even on freestanding compilers.
3691 # On the NeXT, cc -E runs the code through the compiler's parser,
3692 # not just through cpp. "Syntax error" is here to catch this case.
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3696 # include <limits.h>
3698 # include <assert.h>
3702 if ac_fn_c_try_cpp "$LINENO"; then :
3705 # Broken: fails on valid input.
3708 rm -f conftest.err conftest.i conftest.$ac_ext
3710 # OK, works on sane cases. Now check whether nonexistent headers
3711 # can be detected and how.
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3714 #include <ac_nonexistent.h>
3716 if ac_fn_c_try_cpp "$LINENO"; then :
3717 # Broken: success on invalid input.
3720 # Passes both tests.
3724 rm -f conftest.err conftest.i conftest.$ac_ext
3727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3728 rm -f conftest.i conftest.err conftest.$ac_ext
3729 if $ac_preproc_ok; then :
3732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3735 See \`config.log' for more details" "$LINENO" 5 ; }
3739 ac_cpp='$CPP $CPPFLAGS'
3740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3747 if test "${ac_cv_path_GREP+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -z "$GREP"; then
3751 ac_path_GREP_found=false
3752 # Loop through the user's path and test for each of PROGNAME-LIST
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3757 test -z "$as_dir" && as_dir=.
3758 for ac_prog in grep ggrep; do
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3762 # Check for GNU ac_path_GREP and select it if it is found.
3763 # Check for GNU $ac_path_GREP
3764 case `"$ac_path_GREP" --version 2>&1` in
3766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3769 $as_echo_n 0123456789 >"conftest.in"
3772 cat "conftest.in" "conftest.in" >"conftest.tmp"
3773 mv "conftest.tmp" "conftest.in"
3774 cp "conftest.in" "conftest.nl"
3775 $as_echo 'GREP' >> "conftest.nl"
3776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3778 as_fn_arith $ac_count + 1 && ac_count=$as_val
3779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3780 # Best one so far, save it but keep looking for a better one
3781 ac_cv_path_GREP="$ac_path_GREP"
3782 ac_path_GREP_max=$ac_count
3784 # 10*(2^10) chars as input seems more than enough
3785 test $ac_count -gt 10 && break
3787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3790 $ac_path_GREP_found && break 3
3795 if test -z "$ac_cv_path_GREP"; then
3796 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3799 ac_cv_path_GREP=$GREP
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3804 $as_echo "$ac_cv_path_GREP" >&6; }
3805 GREP="$ac_cv_path_GREP"
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3809 $as_echo_n "checking for egrep... " >&6; }
3810 if test "${ac_cv_path_EGREP+set}" = set; then :
3811 $as_echo_n "(cached) " >&6
3813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3814 then ac_cv_path_EGREP="$GREP -E"
3816 if test -z "$EGREP"; then
3817 ac_path_EGREP_found=false
3818 # Loop through the user's path and test for each of PROGNAME-LIST
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3823 test -z "$as_dir" && as_dir=.
3824 for ac_prog in egrep; do
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3828 # Check for GNU ac_path_EGREP and select it if it is found.
3829 # Check for GNU $ac_path_EGREP
3830 case `"$ac_path_EGREP" --version 2>&1` in
3832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3835 $as_echo_n 0123456789 >"conftest.in"
3838 cat "conftest.in" "conftest.in" >"conftest.tmp"
3839 mv "conftest.tmp" "conftest.in"
3840 cp "conftest.in" "conftest.nl"
3841 $as_echo 'EGREP' >> "conftest.nl"
3842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3844 as_fn_arith $ac_count + 1 && ac_count=$as_val
3845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3846 # Best one so far, save it but keep looking for a better one
3847 ac_cv_path_EGREP="$ac_path_EGREP"
3848 ac_path_EGREP_max=$ac_count
3850 # 10*(2^10) chars as input seems more than enough
3851 test $ac_count -gt 10 && break
3853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3856 $ac_path_EGREP_found && break 3
3861 if test -z "$ac_cv_path_EGREP"; then
3862 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3865 ac_cv_path_EGREP=$EGREP
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3871 $as_echo "$ac_cv_path_EGREP" >&6; }
3872 EGREP="$ac_cv_path_EGREP"
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3876 $as_echo_n "checking for ANSI C header files... " >&6; }
3877 if test "${ac_cv_header_stdc+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 ac_cv_header_stdc=yes
3898 ac_cv_header_stdc=no
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3902 if test $ac_cv_header_stdc = yes; then
3903 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3910 $EGREP "memchr" >/dev/null 2>&1; then :
3913 ac_cv_header_stdc=no
3919 if test $ac_cv_header_stdc = yes; then
3920 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3927 $EGREP "free" >/dev/null 2>&1; then :
3930 ac_cv_header_stdc=no
3936 if test $ac_cv_header_stdc = yes; then
3937 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3938 if test "$cross_compiling" = yes; then :
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3945 #if ((' ' & 0x0FF) == 0x020)
3946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3949 # define ISLOWER(c) \
3950 (('a' <= (c) && (c) <= 'i') \
3951 || ('j' <= (c) && (c) <= 'r') \
3952 || ('s' <= (c) && (c) <= 'z'))
3953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3961 for (i = 0; i < 256; i++)
3962 if (XOR (islower (i), ISLOWER (i))
3963 || toupper (i) != TOUPPER (i))
3968 if ac_fn_c_try_run "$LINENO"; then :
3971 ac_cv_header_stdc=no
3973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3974 conftest.$ac_objext conftest.beam conftest.$ac_ext
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3980 $as_echo "$ac_cv_header_stdc" >&6; }
3981 if test $ac_cv_header_stdc = yes; then
3983 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3987 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3988 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3989 inttypes.h stdint.h unistd.h
3991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3992 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3995 cat >>confdefs.h <<_ACEOF
3996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4004 for ac_header in sys/types.h
4006 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
4007 if test "x$ac_cv_header_sys_types_h" = x""yes; then :
4008 cat >>confdefs.h <<_ACEOF
4009 #define HAVE_SYS_TYPES_H 1
4017 CPPFLAGS="-D_BSD_SOURCE -D_USE_BSD_SIGNAL ${CPPFLAGS}"
4019 # Check whether --enable-debug was given.
4020 if test "${enable_debug+set}" = set; then :
4021 enableval=$enable_debug; if test "$enableval" = "no"
4025 echo "Not including debugging code"
4027 DUMPDEBUG="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
4028 RESTOREDEBUG="-DDIRDEBUG"
4029 echo "Including debugging code"
4034 echo "Not including debugging code by default"
4041 # Check whether --enable-static was given.
4042 if test "${enable_static+set}" = set; then :
4043 enableval=$enable_static; if test "$enableval" = "no"
4046 echo "Linking dump and restore dynamically"
4049 echo "Linking dump and restore statically"
4054 echo "Linking dump and restore dynamically by default"
4060 # Check whether --enable-staticz was given.
4061 if test "${enable_staticz+set}" = set; then :
4062 enableval=$enable_staticz; if test "$enableval" = "no"
4065 echo "Linking libz and libbz2 dynamically"
4068 echo "Linking libz and libbz2 statically"
4073 echo "Linking libz and libbz2 dynamically by default"
4078 # Check whether --enable-rmt was given.
4079 if test "${enable_rmt+set}" = set; then :
4080 enableval=$enable_rmt; if test "$enableval" = "no"
4084 echo "Not compiling rmt"
4087 RMTMAKEFILE="rmt/Makefile"
4088 echo "Compiling rmt"
4093 RMTMAKEFILE="rmt/Makefile"
4094 echo "Compiling rmt by default"
4100 # Check whether --enable-ermt was given.
4101 if test "${enable_ermt+set}" = set; then :
4102 enableval=$enable_ermt; if test "$enableval" = "no"
4105 echo "Not compiling ermt"
4107 if test "$RMTDIR" = ""
4109 as_fn_error $? "ermt requires --enable-rmt" "$LINENO" 5
4112 echo "Compiling ermt"
4117 echo "Not compiling ermt by default"
4123 # Check whether --enable-kerberos was given.
4124 if test "${enable_kerberos+set}" = set; then :
4125 enableval=$enable_kerberos; if test "$enableval" = "yes"
4127 OPTDEFS="-DKERBEROS"
4128 echo "Compiling kerberos extensions"
4131 echo "Not compiling kerberos extensions"
4136 echo "Not compiling kerberos extensions by default"
4142 # Check whether --enable-readline was given.
4143 if test "${enable_readline+set}" = set; then :
4144 enableval=$enable_readline; if test "$enableval" = "no"
4147 echo "Not including readline support"
4151 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
4153 echo "Including readline support"
4159 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
4161 echo "Including readline support by default"
4166 # Check whether --enable-oldstylefscript was given.
4167 if test "${enable_oldstylefscript+set}" = set; then :
4168 enableval=$enable_oldstylefscript; if test "$enableval" = "yes"
4171 $as_echo "#define OLD_STYLE_FSCRIPT 1" >>confdefs.h
4173 echo "Using old style F script"
4175 echo "Using new style F script"
4179 echo "Using new style F script by default"
4184 # Check whether --enable-largefile was given.
4185 if test "${enable_largefile+set}" = set; then :
4186 enableval=$enable_largefile; if test "$enableval" = "yes"
4189 $as_echo "#define USE_LFS 1" >>confdefs.h
4191 echo "Enabling Large File System support"
4193 echo "Not enabling Large File System support"
4198 $as_echo "#define USE_LFS 1" >>confdefs.h
4200 echo "Enabling Large File System support by default"
4205 # Check whether --enable-qfa was given.
4206 if test "${enable_qfa+set}" = set; then :
4207 enableval=$enable_qfa; if test "$enableval" = "yes"
4210 $as_echo "#define USE_QFA 1" >>confdefs.h
4212 echo "Enabling Quick File Access support"
4214 echo "Not enabling Quick File Access support"
4219 $as_echo "#define USE_QFA 1" >>confdefs.h
4221 echo "Enabling Quick File Access support by default"
4226 # Check whether --enable-qfadebug was given.
4227 if test "${enable_qfadebug+set}" = set; then :
4228 enableval=$enable_qfadebug; if test "$enableval" = "yes"
4231 $as_echo "#define DEBUG_QFA 1" >>confdefs.h
4233 echo "Including Quick File Access debugging code"
4235 echo "Not including Quick File Access debugging code"
4239 echo "Not including Quick File Access debugging code by default"
4244 # Check whether --enable-macosx was given.
4245 if test "${enable_macosx+set}" = set; then :
4246 enableval=$enable_macosx; if test "$enableval" = "yes"
4249 $as_echo "#define DUMP_MACOSX 1" >>confdefs.h
4251 echo "Including Mac OSX restore compatibility code"
4253 echo "Not including Mac OSX restore compatibility code"
4257 echo "Not including Mac OSX restore compatibility code by default"
4262 # Check whether --enable-transselinux was given.
4263 if test "${enable_transselinux+set}" = set; then :
4264 enableval=$enable_transselinux; if test "$enableval" = "yes"
4266 LTRANSSELINUX="-lselinux"
4267 CCTRANSSELINUX="-DTRANSSELINUX"
4268 echo "restore can translate SELinux EAs"
4272 echo "restore can not translate SELinux EAs"
4276 LTRANSSELINUX="-lselinux"
4277 CCTRANSSELINUX="-DTRANSSELINUX"
4278 echo "restore can translate SELinux EAs by default"
4287 # Check whether --with-cc was given.
4288 if test "${with_cc+set}" = set; then :
4289 withval=$with_cc; { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$withval" >&5
4290 $as_echo "CC=$withval" >&6; }
4293 if test -z "$CC" ; then CC=cc; fi
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC defaults to $CC" >&5
4295 $as_echo "CC defaults to $CC" >&6; }
4301 # Check whether --with-linker was given.
4302 if test "${with_linker+set}" = set; then :
4303 withval=$with_linker; { $as_echo "$as_me:${as_lineno-$LINENO}: result: LD=$withval" >&5
4304 $as_echo "LD=$withval" >&6; }
4307 if test -z "$LD" ; then LD=$CC; fi
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: LD defaults to $LD" >&5
4309 $as_echo "LD defaults to $LD" >&6; }
4315 # Check whether --with-ccopts was given.
4316 if test "${with_ccopts+set}" = set; then :
4317 withval=$with_ccopts; { $as_echo "$as_me:${as_lineno-$LINENO}: result: CCOPTS is $withval" >&5
4318 $as_echo "CCOPTS is $withval" >&6; }
4320 CFLAGS="$CFLAGS $withval"
4327 # Check whether --with-ldopts was given.
4328 if test "${with_ldopts+set}" = set; then :
4329 withval=$with_ldopts; { $as_echo "$as_me:${as_lineno-$LINENO}: result: LDFLAGS is $withval" >&5
4330 $as_echo "LDFLAGS is $withval" >&6; }
4332 LDFLAGS="$LDFLAGS $withval"
4339 # Check whether --with-binowner was given.
4340 if test "${with_binowner+set}" = set; then :
4341 withval=$with_binowner; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINOWNER is $withval" >&5
4342 $as_echo "BINOWNER is $withval" >&6; }
4346 echo "BINOWNER defaults to $BINOWNER"
4352 # Check whether --with-bingrp was given.
4353 if test "${with_bingrp+set}" = set; then :
4354 withval=$with_bingrp; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINGRP is $withval" >&5
4355 $as_echo "BINGRP is $withval" >&6; }
4359 echo "BINGRP defaults to $BINGRP"
4365 # Check whether --with-binmode was given.
4366 if test "${with_binmode+set}" = set; then :
4367 withval=$with_binmode; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINMODE is $withval" >&5
4368 $as_echo "BINMODE is $withval" >&6; }
4372 echo "BINMODE defaults to $BINMODE"
4378 # Check whether --with-manowner was given.
4379 if test "${with_manowner+set}" = set; then :
4380 withval=$with_manowner; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANOWNER is $withval" >&5
4381 $as_echo "MANOWNER is $withval" >&6; }
4385 echo "MANOWNER defaults to $MANOWNER"
4391 # Check whether --with-mangrp was given.
4392 if test "${with_mangrp+set}" = set; then :
4393 withval=$with_mangrp; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANGRP is $withval" >&5
4394 $as_echo "MANGRP is $withval" >&6; }
4398 echo "MANGRP defaults to $MANGRP"
4404 # Check whether --with-manmode was given.
4405 if test "${with_manmode+set}" = set; then :
4406 withval=$with_manmode; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANMODE is $withval" >&5
4407 $as_echo "MANMODE is $withval" >&6; }
4411 echo "MANMODE defaults to $MANMODE"
4417 # Check whether --with-dumpdatespath was given.
4418 if test "${with_dumpdatespath+set}" = set; then :
4419 withval=$with_dumpdatespath; { $as_echo "$as_me:${as_lineno-$LINENO}: result: DUMPDATESPATH is $withval" >&5
4420 $as_echo "DUMPDATESPATH is $withval" >&6; }
4421 DUMPDATESPATH=$withval
4423 DUMPDATESPATH="${sysconfdir}/dumpdates"
4424 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
4429 ac_fn_c_check_header_preproc "$LINENO" "ext2fs/ext2fs.h" "ac_cv_header_ext2fs_ext2fs_h"
4430 if test "x$ac_cv_header_ext2fs_ext2fs_h" = x""yes; then :
4443 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4444 if test -n "$ac_tool_prefix"; then
4445 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4446 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4450 $as_echo_n "(cached) " >&6
4454 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4476 if test -n "$PKG_CONFIG"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4478 $as_echo "$PKG_CONFIG" >&6; }
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4486 if test -z "$ac_cv_path_PKG_CONFIG"; then
4487 ac_pt_PKG_CONFIG=$PKG_CONFIG
4488 # Extract the first word of "pkg-config", so it can be a program name with args.
4489 set dummy pkg-config; ac_word=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; }
4492 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4493 $as_echo_n "(cached) " >&6
4495 case $ac_pt_PKG_CONFIG in
4497 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 test -z "$as_dir" && as_dir=.
4505 for ac_exec_ext in '' $ac_executable_extensions; do
4506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4519 if test -n "$ac_pt_PKG_CONFIG"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4521 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4527 if test "x$ac_pt_PKG_CONFIG" = x; then
4530 case $cross_compiling:$ac_tool_warned in
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4534 ac_tool_warned=yes ;;
4536 PKG_CONFIG=$ac_pt_PKG_CONFIG
4539 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4543 if test -n "$PKG_CONFIG"; then
4544 _pkg_min_version=0.9.0
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4546 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4547 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4549 $as_echo "yes" >&6; }
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4552 $as_echo "no" >&6; }
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXT2FS" >&5
4559 $as_echo_n "checking for EXT2FS... " >&6; }
4561 if test -n "$EXT2FS_CFLAGS"; then
4562 pkg_cv_EXT2FS_CFLAGS="$EXT2FS_CFLAGS"
4563 elif test -n "$PKG_CONFIG"; then
4564 if test -n "$PKG_CONFIG" && \
4565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ext2fs\""; } >&5
4566 ($PKG_CONFIG --exists --print-errors "ext2fs") 2>&5
4568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4569 test $ac_status = 0; }; then
4570 pkg_cv_EXT2FS_CFLAGS=`$PKG_CONFIG --cflags "ext2fs" 2>/dev/null`
4577 if test -n "$EXT2FS_LIBS"; then
4578 pkg_cv_EXT2FS_LIBS="$EXT2FS_LIBS"
4579 elif test -n "$PKG_CONFIG"; then
4580 if test -n "$PKG_CONFIG" && \
4581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ext2fs\""; } >&5
4582 ($PKG_CONFIG --exists --print-errors "ext2fs") 2>&5
4584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4585 test $ac_status = 0; }; then
4586 pkg_cv_EXT2FS_LIBS=`$PKG_CONFIG --libs "ext2fs" 2>/dev/null`
4596 if test $pkg_failed = yes; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4601 _pkg_short_errors_supported=yes
4603 _pkg_short_errors_supported=no
4605 if test $_pkg_short_errors_supported = yes; then
4606 EXT2FS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ext2fs" 2>&1`
4608 EXT2FS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ext2fs" 2>&1`
4610 # Put the nasty error message in config.log where it belongs
4611 echo "$EXT2FS_PKG_ERRORS" >&5
4613 as_fn_error $? "Package requirements (ext2fs) were not met:
4617 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4618 installed software in a non-standard prefix.
4620 Alternatively, you may set the environment variables EXT2FS_CFLAGS
4621 and EXT2FS_LIBS to avoid the need to call pkg-config.
4622 See the pkg-config man page for more details." "$LINENO" 5
4623 elif test $pkg_failed = untried; then
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4628 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4629 is in your PATH or set the PKG_CONFIG environment variable to the full
4632 Alternatively, you may set the environment variables EXT2FS_CFLAGS
4633 and EXT2FS_LIBS to avoid the need to call pkg-config.
4634 See the pkg-config man page for more details.
4636 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4637 See \`config.log' for more details" "$LINENO" 5 ; }
4639 EXT2FS_CFLAGS=$pkg_cv_EXT2FS_CFLAGS
4640 EXT2FS_LIBS=$pkg_cv_EXT2FS_LIBS
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4642 $as_echo "yes" >&6; }
4645 if test -n "$STATIC" ; then
4646 EXT2FS_LIBS=`$PKG_CONFIG --libs --static ext2fs`
4648 if test "$ext2fs_h" = no -o "x$EXT2FS_LIBS" = "x"; then
4649 as_fn_error $? "You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" "$LINENO" 5
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_read_inode_full in -lext2fs" >&5
4653 $as_echo_n "checking for ext2fs_read_inode_full in -lext2fs... " >&6; }
4654 if test "${ac_cv_lib_ext2fs_ext2fs_read_inode_full+set}" = set; then :
4655 $as_echo_n "(cached) " >&6
4657 ac_check_lib_save_LIBS=$LIBS
4658 LIBS="-lext2fs -lcom_err $LIBS"
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4662 /* Override any GCC internal prototype to avoid an error.
4663 Use char because int might match the return type of a GCC
4664 builtin and then its argument prototype would still apply. */
4668 char ext2fs_read_inode_full ();
4672 return ext2fs_read_inode_full ();
4677 if ac_fn_c_try_link "$LINENO"; then :
4678 ac_cv_lib_ext2fs_ext2fs_read_inode_full=yes
4680 ac_cv_lib_ext2fs_ext2fs_read_inode_full=no
4682 rm -f core conftest.err conftest.$ac_objext \
4683 conftest$ac_exeext conftest.$ac_ext
4684 LIBS=$ac_check_lib_save_LIBS
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_read_inode_full" >&5
4687 $as_echo "$ac_cv_lib_ext2fs_ext2fs_read_inode_full" >&6; }
4688 if test "x$ac_cv_lib_ext2fs_ext2fs_read_inode_full" = x""yes; then :
4694 if test "$rif" = yes; then
4696 $as_echo "#define HAVE_EXT2FS_READ_INODE_FULL 1" >>confdefs.h
4700 for ac_header in ext2fs/ext2_fs.h
4702 ac_fn_c_check_header_preproc "$LINENO" "ext2fs/ext2_fs.h" "ac_cv_header_ext2fs_ext2_fs_h"
4703 if test "x$ac_cv_header_ext2fs_ext2_fs_h" = x""yes; then :
4704 cat >>confdefs.h <<_ACEOF
4705 #define HAVE_EXT2FS_EXT2_FS_H 1
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2_ino_t type in libext2fs headers" >&5
4714 $as_echo_n "checking for ext2_ino_t type in libext2fs headers... " >&6; }
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4718 #ifdef HAVE_EXT2FS_EXT2_FS_H
4719 #include <ext2fs/ext2_fs.h>
4721 #include <linux/ext2_fs.h>
4723 #include <ext2fs/ext2fs.h>
4732 if ac_fn_c_try_compile "$LINENO"; then :
4734 $as_echo "#define HAVE_EXT2_INO_T 1" >>confdefs.h
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4737 $as_echo "yes" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for s_journal_inum field in ext2_super_block struct" >&5
4745 $as_echo_n "checking for s_journal_inum field in ext2_super_block struct... " >&6; }
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4749 #ifdef HAVE_EXT2FS_EXT2_FS_H
4750 #include <ext2fs/ext2_fs.h>
4752 #include <linux/ext2_fs.h>
4754 #include <ext2fs/ext2fs.h>
4758 struct ext2_super_block es; es.s_journal_inum = 0;
4763 if ac_fn_c_try_compile "$LINENO"; then :
4765 $as_echo "#define HAVE_EXT2_JOURNAL_INUM 1" >>confdefs.h
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4768 $as_echo "yes" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 ac_fn_c_check_header_preproc "$LINENO" "blkid/blkid.h" "ac_cv_header_blkid_blkid_h"
4776 if test "x$ac_cv_header_blkid_blkid_h" = x""yes; then :
4783 if test -n "$PKG_CONFIG" && \
4784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"blkid\""; } >&5
4785 ($PKG_CONFIG --exists --print-errors "blkid") 2>&5
4787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788 test $ac_status = 0; }; then
4790 if test -n $STATIC ; then
4791 BLKID=`$PKG_CONFIG --libs --static blkid`
4793 BLKID=`$PKG_CONFIG --libs blkid`
4795 if test "$blkid_h" = yes ; then
4797 $as_echo "#define HAVE_BLKID 1" >>confdefs.h
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
4807 $as_echo_n "checking for tgetent in -lncurses... " >&6; }
4808 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then :
4809 $as_echo_n "(cached) " >&6
4811 ac_check_lib_save_LIBS=$LIBS
4812 LIBS="-lncurses $LIBS"
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4816 /* Override any GCC internal prototype to avoid an error.
4817 Use char because int might match the return type of a GCC
4818 builtin and then its argument prototype would still apply. */
4831 if ac_fn_c_try_link "$LINENO"; then :
4832 ac_cv_lib_ncurses_tgetent=yes
4834 ac_cv_lib_ncurses_tgetent=no
4836 rm -f core conftest.err conftest.$ac_objext \
4837 conftest$ac_exeext conftest.$ac_ext
4838 LIBS=$ac_check_lib_save_LIBS
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
4841 $as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
4842 if test "x$ac_cv_lib_ncurses_tgetent" = x""yes; then :
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
4849 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
4850 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then :
4851 $as_echo_n "(cached) " >&6
4853 ac_check_lib_save_LIBS=$LIBS
4854 LIBS="-ltermcap $LIBS"
4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4858 /* Override any GCC internal prototype to avoid an error.
4859 Use char because int might match the return type of a GCC
4860 builtin and then its argument prototype would still apply. */
4873 if ac_fn_c_try_link "$LINENO"; then :
4874 ac_cv_lib_termcap_tgetent=yes
4876 ac_cv_lib_termcap_tgetent=no
4878 rm -f core conftest.err conftest.$ac_objext \
4879 conftest$ac_exeext conftest.$ac_ext
4880 LIBS=$ac_check_lib_save_LIBS
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
4883 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
4884 if test "x$ac_cv_lib_termcap_tgetent" = x""yes; then :
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
4891 $as_echo_n "checking for tgetent in -ltinfo... " >&6; }
4892 if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then :
4893 $as_echo_n "(cached) " >&6
4895 ac_check_lib_save_LIBS=$LIBS
4896 LIBS="-ltinfo $LIBS"
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4900 /* Override any GCC internal prototype to avoid an error.
4901 Use char because int might match the return type of a GCC
4902 builtin and then its argument prototype would still apply. */
4915 if ac_fn_c_try_link "$LINENO"; then :
4916 ac_cv_lib_tinfo_tgetent=yes
4918 ac_cv_lib_tinfo_tgetent=no
4920 rm -f core conftest.err conftest.$ac_objext \
4921 conftest$ac_exeext conftest.$ac_ext
4922 LIBS=$ac_check_lib_save_LIBS
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
4925 $as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
4926 if test "x$ac_cv_lib_tinfo_tgetent" = x""yes; then :
4933 if test "$ncurses_lib" = no -a "$termcap_lib" = no -a "$tinfo_lib" = no; then
4934 if test "$READLINE" = "yes"; then
4935 as_fn_error $? "You need to install the ncurses or termcap library or configure without --enable-readline" "$LINENO" 5
4938 if test "$tinfo_lib" = yes; then
4940 elif test "$ncurses_lib" = yes; then
4942 elif test "$termcap_lib" = yes; then
4946 ac_fn_c_check_header_preproc "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h"
4947 if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
4955 $as_echo_n "checking for readline in -lreadline... " >&6; }
4956 if test "${ac_cv_lib_readline_readline+set}" = set; then :
4957 $as_echo_n "(cached) " >&6
4959 ac_check_lib_save_LIBS=$LIBS
4960 LIBS="-lreadline $rdllib $LIBS"
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4964 /* Override any GCC internal prototype to avoid an error.
4965 Use char because int might match the return type of a GCC
4966 builtin and then its argument prototype would still apply. */
4979 if ac_fn_c_try_link "$LINENO"; then :
4980 ac_cv_lib_readline_readline=yes
4982 ac_cv_lib_readline_readline=no
4984 rm -f core conftest.err conftest.$ac_objext \
4985 conftest$ac_exeext conftest.$ac_ext
4986 LIBS=$ac_check_lib_save_LIBS
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
4989 $as_echo "$ac_cv_lib_readline_readline" >&6; }
4990 if test "x$ac_cv_lib_readline_readline" = x""yes; then :
4996 if test "$readline_h" = no -o "$readline_lib" = no; then
4997 if test "$READLINE" = "yes"; then
4998 as_fn_error $? "You need to install the GNU readline library or configure without --enable-readline" "$LINENO" 5
5001 if test "$READLINE" = yes; then
5002 READLINE="-lreadline $rdllib"
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5
5007 $as_echo_n "checking for rl_completion_matches in -lreadline... " >&6; }
5008 if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then :
5009 $as_echo_n "(cached) " >&6
5011 ac_check_lib_save_LIBS=$LIBS
5012 LIBS="-lreadline "-ltermcap" $LIBS"
5013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5014 /* end confdefs.h. */
5016 /* Override any GCC internal prototype to avoid an error.
5017 Use char because int might match the return type of a GCC
5018 builtin and then its argument prototype would still apply. */
5022 char rl_completion_matches ();
5026 return rl_completion_matches ();
5031 if ac_fn_c_try_link "$LINENO"; then :
5032 ac_cv_lib_readline_rl_completion_matches=yes
5034 ac_cv_lib_readline_rl_completion_matches=no
5036 rm -f core conftest.err conftest.$ac_objext \
5037 conftest$ac_exeext conftest.$ac_ext
5038 LIBS=$ac_check_lib_save_LIBS
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5
5041 $as_echo "$ac_cv_lib_readline_rl_completion_matches" >&6; }
5042 if test "x$ac_cv_lib_readline_rl_completion_matches" = x""yes; then :
5048 if test "$rlcm" = yes; then
5050 $as_echo "#define HAVE_READLINE_RLCM 1" >>confdefs.h
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_append_character in -lreadline" >&5
5055 $as_echo_n "checking for rl_completion_append_character in -lreadline... " >&6; }
5056 if test "${ac_cv_lib_readline_rl_completion_append_character+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5059 ac_check_lib_save_LIBS=$LIBS
5060 LIBS="-lreadline "-ltermcap" $LIBS"
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5064 /* Override any GCC internal prototype to avoid an error.
5065 Use char because int might match the return type of a GCC
5066 builtin and then its argument prototype would still apply. */
5070 char rl_completion_append_character ();
5074 return rl_completion_append_character ();
5079 if ac_fn_c_try_link "$LINENO"; then :
5080 ac_cv_lib_readline_rl_completion_append_character=yes
5082 ac_cv_lib_readline_rl_completion_append_character=no
5084 rm -f core conftest.err conftest.$ac_objext \
5085 conftest$ac_exeext conftest.$ac_ext
5086 LIBS=$ac_check_lib_save_LIBS
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_append_character" >&5
5089 $as_echo "$ac_cv_lib_readline_rl_completion_append_character" >&6; }
5090 if test "x$ac_cv_lib_readline_rl_completion_append_character" = x""yes; then :
5096 if test "$rcac" = yes; then
5098 $as_echo "#define HAVE_READLINE_CAC 1" >>confdefs.h
5102 ac_fn_c_check_header_preproc "$LINENO" "zlib.h" "ac_cv_header_zlib_h"
5103 if test "x$ac_cv_header_zlib_h" = x""yes; then :
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
5111 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
5112 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
5113 $as_echo_n "(cached) " >&6
5115 ac_check_lib_save_LIBS=$LIBS
5117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h. */
5120 /* Override any GCC internal prototype to avoid an error.
5121 Use char because int might match the return type of a GCC
5122 builtin and then its argument prototype would still apply. */
5126 char zlibVersion ();
5130 return zlibVersion ();
5135 if ac_fn_c_try_link "$LINENO"; then :
5136 ac_cv_lib_z_zlibVersion=yes
5138 ac_cv_lib_z_zlibVersion=no
5140 rm -f core conftest.err conftest.$ac_objext \
5141 conftest$ac_exeext conftest.$ac_ext
5142 LIBS=$ac_check_lib_save_LIBS
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
5145 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
5146 if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
5152 if test "$zlib_h" = yes -a "$zlib_lib" = yes; then
5153 if test "$STATICZ" = yes; then
5154 ZLIB="-Wl,-Bstatic -lz -Wl,-Bdynamic"
5159 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
5166 ac_fn_c_check_header_preproc "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h"
5167 if test "x$ac_cv_header_bzlib_h" = x""yes; then :
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzBuffToBuffCompress in -lbz2" >&5
5175 $as_echo_n "checking for BZ2_bzBuffToBuffCompress in -lbz2... " >&6; }
5176 if test "${ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5179 ac_check_lib_save_LIBS=$LIBS
5181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5182 /* end confdefs.h. */
5184 /* Override any GCC internal prototype to avoid an error.
5185 Use char because int might match the return type of a GCC
5186 builtin and then its argument prototype would still apply. */
5190 char BZ2_bzBuffToBuffCompress ();
5194 return BZ2_bzBuffToBuffCompress ();
5199 if ac_fn_c_try_link "$LINENO"; then :
5200 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress=yes
5202 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress=no
5204 rm -f core conftest.err conftest.$ac_objext \
5205 conftest$ac_exeext conftest.$ac_ext
5206 LIBS=$ac_check_lib_save_LIBS
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&5
5209 $as_echo "$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&6; }
5210 if test "x$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" = x""yes; then :
5216 if test "$bzlib_h" = yes -a "$bzlib_lib" = yes; then
5217 if test "$STATICZ" = yes; then
5218 BZLIB="-Wl,-Bstatic -lbz2 -Wl,-Bdynamic"
5223 $as_echo "#define HAVE_BZLIB 1" >>confdefs.h
5230 for ac_func in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
5232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5235 cat >>confdefs.h <<_ACEOF
5236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5242 ac_fn_c_check_func "$LINENO" "glob" "ac_cv_func_glob"
5243 if test "x$ac_cv_func_glob" = x""yes; then :
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended glob routines" >&5
5249 $as_echo_n "checking for extended glob routines... " >&6; }
5250 if test "$ac_cv_func_glob" = "yes"; then
5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5255 # ifdef GLOB_ALTDIRFUNC
5260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5261 $EGREP "yes" >/dev/null 2>&1; then :
5264 $as_echo "#define HAVE_GLOB 1" >>confdefs.h
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5267 $as_echo "yes" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5273 echo "Your system does not support extended glob, will use the internal routines"
5280 if test "$ERMT" != ""; then
5281 ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
5282 if test "x$ac_cv_header_openssl_evp_h" = x""yes; then :
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
5290 $as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
5291 if test "${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+set}" = set; then :
5292 $as_echo_n "(cached) " >&6
5294 ac_check_lib_save_LIBS=$LIBS
5295 LIBS="-lcrypto $LIBS"
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5299 /* Override any GCC internal prototype to avoid an error.
5300 Use char because int might match the return type of a GCC
5301 builtin and then its argument prototype would still apply. */
5305 char EVP_CIPHER_CTX_set_padding ();
5309 return EVP_CIPHER_CTX_set_padding ();
5314 if ac_fn_c_try_link "$LINENO"; then :
5315 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
5317 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
5319 rm -f core conftest.err conftest.$ac_objext \
5320 conftest$ac_exeext conftest.$ac_ext
5321 LIBS=$ac_check_lib_save_LIBS
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
5324 $as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
5325 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = x""yes; then :
5331 if test -n "$PKG_CONFIG" && \
5332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5
5333 ($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5
5335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5336 test $ac_status = 0; }; then
5338 if test -n $STATIC ; then
5339 CRYPTO=`$PKG_CONFIG --libs --static libcrypto`
5341 CRYPTO=`$PKG_CONFIG --libs libcrypto`
5347 if test "$evp_h" = no -o "x$CRYPTO" = "x"; then
5348 as_fn_error or configure without --enable-ermt "You need to install the OpenSSL library (version 0.9.7a or later)" "$LINENO" 5
5353 ac_fn_c_check_type "$LINENO" "quad_t" "ac_cv_type_quad_t" "$ac_includes_default"
5354 if test "x$ac_cv_type_quad_t" = x""yes; then :
5358 cat >>confdefs.h <<_ACEOF
5359 #define quad_t int64_t
5364 ac_fn_c_check_type "$LINENO" "u_quad_t" "ac_cv_type_u_quad_t" "$ac_includes_default"
5365 if test "x$ac_cv_type_u_quad_t" = x""yes; then :
5369 cat >>confdefs.h <<_ACEOF
5370 #define u_quad_t uint64_t
5376 top_builddir=`cd .; pwd`
5379 test -d compat || mkdir compat
5380 test -d compat/lib || mkdir compat/lib
5382 ac_config_files="$ac_config_files MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"
5384 cat >confcache <<\_ACEOF
5385 # This file is a shell script that caches the results of configure
5386 # tests run on this system so they can be shared between configure
5387 # scripts and configure runs, see configure's option --config-cache.
5388 # It is not useful on other systems. If it contains results you don't
5389 # want to keep, you may remove or edit it.
5391 # config.status only pays attention to the cache file if you give it
5392 # the --recheck option to rerun configure.
5394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5400 # The following way of writing the cache mishandles newlines in values,
5401 # but we know of no workaround that is simple, portable, and efficient.
5402 # So, we kill variables containing newlines.
5403 # Ultrix sh set writes to stderr and can't be redirected directly,
5404 # and sets the high bit in the cache file unless we assign to the vars.
5406 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5407 eval ac_val=\$$ac_var
5411 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5412 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5415 _ | IFS | as_nl) ;; #(
5416 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5417 *) { eval $ac_var=; unset $ac_var;} ;;
5423 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5424 *${as_nl}ac_space=\ *)
5425 # `set' does not quote correctly, so add quotes: double-quote
5426 # substitution turns \\\\ into \\, and sed turns \\ into \.
5429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5432 # `set' quotes correctly as required by POSIX, so do not add quotes.
5433 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5442 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5444 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5446 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5447 if test -w "$cache_file"; then
5448 test "x$cache_file" != "x/dev/null" &&
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5450 $as_echo "$as_me: updating cache $cache_file" >&6;}
5451 cat confcache >$cache_file
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5454 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5459 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5460 # Let make expand exec_prefix.
5461 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5463 DEFS=-DHAVE_CONFIG_H
5468 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5469 # 1. Remove the extension, and $U if already installed.
5470 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5471 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5472 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5473 # will be set to the directory where LIBOBJS objects are built.
5474 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5475 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5479 LTLIBOBJS=$ac_ltlibobjs
5483 : ${CONFIG_STATUS=./config.status}
5485 ac_clean_files_save=$ac_clean_files
5486 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5488 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5490 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5492 # Generated by $as_me.
5493 # Run this file to recreate the current configuration.
5494 # Compiler output produced by configure, useful for debugging
5495 # configure, is in config.log if it exists.
5501 SHELL=\${CONFIG_SHELL-$SHELL}
5504 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5505 ## -------------------- ##
5506 ## M4sh Initialization. ##
5507 ## -------------------- ##
5509 # Be more Bourne compatible
5510 DUALCASE=1; export DUALCASE # for MKS sh
5511 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5514 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5515 # is contrary to our usage. Disable this feature.
5516 alias -g '${1+"$@"}'='"$@"'
5517 setopt NO_GLOB_SUBST
5519 case `(set -o) 2>/dev/null` in #(
5531 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5532 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5533 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5534 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5535 # Prefer a ksh shell builtin over an external printf program on Solaris,
5536 # but without wasting forks for bash or zsh.
5537 if test -z "$BASH_VERSION$ZSH_VERSION" \
5538 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5539 as_echo='print -r --'
5540 as_echo_n='print -rn --'
5541 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5542 as_echo='printf %s\n'
5543 as_echo_n='printf %s'
5545 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5546 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5547 as_echo_n='/usr/ucb/echo -n'
5549 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5550 as_echo_n_body='eval
5554 expr "X$arg" : "X\\(.*\\)$as_nl";
5555 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5557 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5559 export as_echo_n_body
5560 as_echo_n='sh -c $as_echo_n_body as_echo'
5563 as_echo='sh -c $as_echo_body as_echo'
5566 # The user is always right.
5567 if test "${PATH_SEPARATOR+set}" != set; then
5569 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5570 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5577 # We need space, tab and new line, in precisely that order. Quoting is
5578 # there to prevent editors from complaining about space-tab.
5579 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5580 # splitting by setting IFS to empty value.)
5583 # Find who we are. Look in the path if we contain no directory separator.
5585 *[\\/]* ) as_myself=$0 ;;
5586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir=.
5591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5597 # We did not find ourselves, most probably we were run as `sh COMMAND'
5598 # in which case we are not to be found in the path.
5599 if test "x$as_myself" = x; then
5602 if test ! -f "$as_myself"; then
5603 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5607 # Unset variables that we do not need and which cause bugs (e.g. in
5608 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5609 # suppresses any "Segmentation fault" message there. '((' could
5610 # trigger a bug in pdksh 5.2.14.
5611 for as_var in BASH_ENV ENV MAIL MAILPATH
5612 do eval test x\${$as_var+set} = xset \
5613 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5626 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5629 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5630 # ----------------------------------------
5631 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5632 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5633 # script with STATUS, using 1 if that was 0.
5636 as_status=$1; test $as_status -eq 0 && as_status=1
5638 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5639 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5641 $as_echo "$as_me: error: $2" >&2
5642 as_fn_exit $as_status
5646 # as_fn_set_status STATUS
5647 # -----------------------
5648 # Set $? to STATUS, without forking.
5652 } # as_fn_set_status
5656 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5666 # Portably unset VAR.
5669 { eval $1=; unset $1;}
5671 as_unset=as_fn_unset
5672 # as_fn_append VAR VALUE
5673 # ----------------------
5674 # Append the text in VALUE to the end of the definition contained in VAR. Take
5675 # advantage of any shell optimizations that allow amortized linear growth over
5676 # repeated appends, instead of the typical quadratic growth present in naive
5678 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5679 eval 'as_fn_append ()
5690 # as_fn_arith ARG...
5691 # ------------------
5692 # Perform arithmetic evaluation on the ARGs, and store the result in the
5693 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5694 # must be portable across $(()) and expr.
5695 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5696 eval 'as_fn_arith ()
5703 as_val=`expr "$@" || test $? -eq 1`
5708 if expr a : '\(a\)' >/dev/null 2>&1 &&
5709 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5715 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5716 as_basename=basename
5721 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5727 as_me=`$as_basename -- "$0" ||
5728 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5729 X"$0" : 'X\(//\)$' \| \
5730 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5732 sed '/^.*\/\([^/][^/]*\)\/*$/{
5746 # Avoid depending upon Character Ranges.
5747 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5748 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5749 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5750 as_cr_digits='0123456789'
5751 as_cr_alnum=$as_cr_Letters$as_cr_digits
5753 ECHO_C= ECHO_N= ECHO_T=
5754 case `echo -n x` in #(((((
5756 case `echo 'xy\c'` in
5757 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5759 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5766 rm -f conf$$ conf$$.exe conf$$.file
5767 if test -d conf$$.dir; then
5768 rm -f conf$$.dir/conf$$.file
5771 mkdir conf$$.dir 2>/dev/null
5773 if (echo >conf$$.file) 2>/dev/null; then
5774 if ln -s conf$$.file conf$$ 2>/dev/null; then
5776 # ... but there are two gotchas:
5777 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5778 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5779 # In both cases, we have to default to `cp -p'.
5780 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5782 elif ln conf$$.file conf$$ 2>/dev/null; then
5790 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5791 rmdir conf$$.dir 2>/dev/null
5796 # Create "$as_dir" as a directory, including parents if necessary.
5801 -*) as_dir=./$as_dir;;
5803 test -d "$as_dir" || eval $as_mkdir_p || {
5807 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5808 *) as_qdir=$as_dir;;
5810 as_dirs="'$as_qdir' $as_dirs"
5811 as_dir=`$as_dirname -- "$as_dir" ||
5812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5813 X"$as_dir" : 'X\(//\)[^/]' \| \
5814 X"$as_dir" : 'X\(//\)$' \| \
5815 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5816 $as_echo X"$as_dir" |
5817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5834 test -d "$as_dir" && break
5836 test -z "$as_dirs" || eval "mkdir $as_dirs"
5837 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5841 if mkdir -p . 2>/dev/null; then
5842 as_mkdir_p='mkdir -p "$as_dir"'
5844 test -d ./-p && rmdir ./-p
5848 if test -x / >/dev/null 2>&1; then
5851 if ls -dL / >/dev/null 2>&1; then
5858 if test -d "$1"; then
5864 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5865 ???[sx]*):;;*)false;;esac;fi
5869 as_executable_p=$as_test_x
5871 # Sed expression to map a string onto a valid CPP name.
5872 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5874 # Sed expression to map a string onto a valid variable name.
5875 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5879 ## ----------------------------------- ##
5880 ## Main body of $CONFIG_STATUS script. ##
5881 ## ----------------------------------- ##
5883 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5886 # Save the log message, to keep $0 and so on meaningful, and to
5887 # report actual input values of CONFIG_FILES etc. instead of their
5888 # values after options handling.
5890 This file was extended by $as_me, which was
5891 generated by GNU Autoconf 2.67. Invocation command line was
5893 CONFIG_FILES = $CONFIG_FILES
5894 CONFIG_HEADERS = $CONFIG_HEADERS
5895 CONFIG_LINKS = $CONFIG_LINKS
5896 CONFIG_COMMANDS = $CONFIG_COMMANDS
5899 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5904 case $ac_config_files in *"
5905 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5908 case $ac_config_headers in *"
5909 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5914 # Files that config.status was made for.
5915 config_files="$ac_config_files"
5916 config_headers="$ac_config_headers"
5920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5922 \`$as_me' instantiates files and other configuration actions
5923 from templates according to the current configuration. Unless the files
5924 and actions are specified as TAGs, all are instantiated by default.
5926 Usage: $0 [OPTION]... [TAG]...
5928 -h, --help print this help, then exit
5929 -V, --version print version number and configuration settings, then exit
5930 --config print configuration, then exit
5931 -q, --quiet, --silent
5932 do not print progress messages
5933 -d, --debug don't remove temporary files
5934 --recheck update $as_me by reconfiguring in the same conditions
5935 --file=FILE[:TEMPLATE]
5936 instantiate the configuration file FILE
5937 --header=FILE[:TEMPLATE]
5938 instantiate the configuration header FILE
5940 Configuration files:
5943 Configuration headers:
5946 Report bugs to the package provider."
5949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5950 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5953 configured by $0, generated by GNU Autoconf 2.67,
5954 with options \\"\$ac_cs_config\\"
5956 Copyright (C) 2010 Free Software Foundation, Inc.
5957 This config.status script is free software; the Free Software Foundation
5958 gives unlimited permission to copy, distribute and modify it."
5963 test -n "\$AWK" || AWK=awk
5966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5967 # The default lists apply if the user does not specify any file.
5973 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5974 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5978 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5990 # Handling of the options.
5991 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5993 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5994 $as_echo "$ac_cs_version"; exit ;;
5995 --config | --confi | --conf | --con | --co | --c )
5996 $as_echo "$ac_cs_config"; exit ;;
5997 --debug | --debu | --deb | --de | --d | -d )
5999 --file | --fil | --fi | --f )
6002 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6003 '') as_fn_error $? "missing file argument" ;;
6005 as_fn_append CONFIG_FILES " '$ac_optarg'"
6006 ac_need_defaults=false;;
6007 --header | --heade | --head | --hea )
6010 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6012 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6013 ac_need_defaults=false;;
6015 # Conflict between --help and --header
6016 as_fn_error $? "ambiguous option: \`$1'
6017 Try \`$0 --help' for more information.";;
6018 --help | --hel | -h )
6019 $as_echo "$ac_cs_usage"; exit ;;
6020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6021 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6025 -*) as_fn_error $? "unrecognized option: \`$1'
6026 Try \`$0 --help' for more information." ;;
6028 *) as_fn_append ac_config_targets " $1"
6029 ac_need_defaults=false ;;
6035 ac_configure_extra_args=
6037 if $ac_cs_silent; then
6039 ac_configure_extra_args="$ac_configure_extra_args --silent"
6043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6044 if \$ac_cs_recheck; then
6045 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6047 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6048 CONFIG_SHELL='$SHELL'
6054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6058 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6059 ## Running $as_me. ##
6065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6070 # Handling of arguments.
6071 for ac_config_target in $ac_config_targets
6073 case $ac_config_target in
6074 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6075 "MCONFIG") CONFIG_FILES="$CONFIG_FILES MCONFIG" ;;
6076 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6077 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
6078 "compat/include/Makefile") CONFIG_FILES="$CONFIG_FILES compat/include/Makefile" ;;
6079 "compat/lib/Makefile") CONFIG_FILES="$CONFIG_FILES compat/lib/Makefile" ;;
6080 "dump/Makefile") CONFIG_FILES="$CONFIG_FILES dump/Makefile" ;;
6081 "restore/Makefile") CONFIG_FILES="$CONFIG_FILES restore/Makefile" ;;
6082 "$RMTMAKEFILE") CONFIG_FILES="$CONFIG_FILES $RMTMAKEFILE" ;;
6084 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
6089 # If the user did not use the arguments to specify the items to instantiate,
6090 # then the envvar interface is used. Set only those that are not.
6091 # We use the long form for the default assignment because of an extremely
6092 # bizarre bug on SunOS 4.1.3.
6093 if $ac_need_defaults; then
6094 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6095 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6098 # Have a temporary directory for convenience. Make it in the build tree
6099 # simply because there is no reason against having it here, and in addition,
6100 # creating and moving files from /tmp can sometimes cause problems.
6101 # Hook for its removal unless debugging.
6102 # Note that there is a small window in which the directory will not be cleaned:
6103 # after its creation but before its name has been assigned to `$tmp'.
6107 trap 'exit_status=$?
6108 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6110 trap 'as_fn_exit 1' 1 2 13 15
6112 # Create a (secure) tmp directory for tmp files.
6115 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6116 test -n "$tmp" && test -d "$tmp"
6119 tmp=./conf$$-$RANDOM
6120 (umask 077 && mkdir "$tmp")
6121 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6123 # Set up the scripts for CONFIG_FILES section.
6124 # No need to generate them if there are no CONFIG_FILES.
6125 # This happens for instance with `./config.status config.h'.
6126 if test -n "$CONFIG_FILES"; then
6128 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
6130 ac_cs_awk_pipe_init=
6131 ac_cs_awk_read_file='
6132 while ((getline aline < (F[key])) > 0)
6135 ac_cs_awk_pipe_fini=
6137 ac_cs_awk_getline=false
6138 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
6139 ac_cs_awk_read_file='
6141 print "cat " F[key] " &&"
6142 '$ac_cs_awk_pipe_init
6143 # The final `:' finishes the AND list.
6144 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
6146 ac_cr=`echo X | tr X '\015'`
6147 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6148 # But we know of no other shell where ac_cr would be empty at this
6149 # point, so we can use a bashism as a fallback.
6150 if test "x$ac_cr" = x; then
6151 eval ac_cr=\$\'\\r\'
6153 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6154 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6160 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6163 # Create commands to substitute file output variables.
6165 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
6166 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
6167 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
6170 } >conf$$files.sh &&
6171 . ./conf$$files.sh ||
6172 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6173 rm -f conf$$files.sh
6176 echo "cat >conf$$subs.awk <<_ACEOF" &&
6177 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6181 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6183 for ac_last_try in false false false false false :; do
6184 . ./conf$$subs.sh ||
6185 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6187 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6188 if test $ac_delim_n = $ac_delim_num; then
6190 elif $ac_last_try; then
6191 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6193 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6199 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6203 s/^/S["/; s/!.*/"]=/
6213 s/\(.\{148\}\)..*/\1/
6215 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6220 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6227 s/\(.\{148\}\)..*/\1/
6229 s/["\\]/\\&/g; s/^/"/; s/$/"/
6233 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6238 ' <conf$$subs.awk | sed '
6243 ' >>$CONFIG_STATUS || ac_write_fail=1
6244 rm -f conf$$subs.awk
6245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6247 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6248 for (key in S) S_is_set[key] = 1
6250 \$ac_cs_awk_pipe_init
6254 nfields = split(line, field, "@")
6256 len = length(field[1])
6257 for (i = 2; i < nfields; i++) {
6259 keylen = length(key)
6260 if (S_is_set[key]) {
6262 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6263 len += length(value) + length(field[++i])
6268 if (nfields == 3 && !substed) {
6270 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
6271 \$ac_cs_awk_read_file
6277 \$ac_cs_awk_pipe_fini
6280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6281 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6282 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6285 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6286 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6289 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6290 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6291 # trailing colons and then remove the whole line if VPATH becomes empty
6292 # (actually we leave an empty line to preserve line numbers).
6293 if test "x$srcdir" = x.; then
6294 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6313 fi # test -n "$CONFIG_FILES"
6315 # Set up the scripts for CONFIG_HEADERS section.
6316 # No need to generate them if there are no CONFIG_HEADERS.
6317 # This happens for instance with `./config.status Makefile'.
6318 if test -n "$CONFIG_HEADERS"; then
6319 cat >"$tmp/defines.awk" <<\_ACAWK ||
6323 # Transform confdefs.h into an awk script `defines.awk', embedded as
6324 # here-document in config.status, that substitutes the proper values into
6325 # config.h.in to produce config.h.
6327 # Create a delimiter string that does not exist in confdefs.h, to ease
6328 # handling of long lines.
6330 for ac_last_try in false false :; do
6331 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6332 if test -z "$ac_t"; then
6334 elif $ac_last_try; then
6335 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6337 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6341 # For the awk script, D is an array of macro values keyed by name,
6342 # likewise P contains macro parameters if any. Preserve backslash
6343 # newline sequences.
6345 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6347 s/.\{148\}/&'"$ac_delim"'/g
6350 s/^[ ]*#[ ]*define[ ][ ]*/ /
6357 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6364 D["\1"]=" \3\\\\\\n"\\/p
6366 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6371 s/.\{148\}/&'"$ac_delim"'/g
6376 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6379 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6381 ' <confdefs.h | sed '
6382 s/'"$ac_delim"'/"\\\
6383 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6386 for (key in D) D_is_set[key] = 1
6389 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6391 split(line, arg, " ")
6392 if (arg[1] == "#") {
6396 defundef = substr(arg[1], 2)
6399 split(mac1, mac2, "(") #)
6401 prefix = substr(line, 1, index(line, defundef) - 1)
6402 if (D_is_set[macro]) {
6403 # Preserve the white space surrounding the "#".
6404 print prefix "define", macro P[macro] D[macro]
6407 # Replace #undef with comments. This is necessary, for example,
6408 # in the case of _POSIX_SOURCE, which is predefined and required
6409 # on some systems where configure will not decide to define it.
6410 if (defundef == "undef") {
6411 print "/*", prefix defundef, macro, "*/"
6419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6420 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6421 fi # test -n "$CONFIG_HEADERS"
6424 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6429 :[FHLC]) ac_mode=$ac_tag; continue;;
6431 case $ac_mode$ac_tag in
6433 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6434 :[FH]-) ac_tag=-:-;;
6435 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6452 -) ac_f="$tmp/stdin";;
6453 *) # Look for the file first in the build tree, then in the source tree
6454 # (if the path is not absolute). The absolute path cannot be DOS-style,
6455 # because $ac_f cannot contain `:'.
6459 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6461 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6463 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6464 as_fn_append ac_file_inputs " '$ac_f'"
6467 # Let's still pretend it is `configure' which instantiates (i.e., don't
6468 # use $as_me), people would be surprised to read:
6469 # /* config.h. Generated by config.status. */
6470 configure_input='Generated from '`
6471 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6473 if test x"$ac_file" != x-; then
6474 configure_input="$ac_file. $configure_input"
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6476 $as_echo "$as_me: creating $ac_file" >&6;}
6478 # Neutralize special characters interpreted by sed in replacement strings.
6479 case $configure_input in #(
6480 *\&* | *\|* | *\\* )
6481 ac_sed_conf_input=`$as_echo "$configure_input" |
6482 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6483 *) ac_sed_conf_input=$configure_input;;
6487 *:-:* | *:-) cat >"$tmp/stdin" \
6488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6493 ac_dir=`$as_dirname -- "$ac_file" ||
6494 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6495 X"$ac_file" : 'X\(//\)[^/]' \| \
6496 X"$ac_file" : 'X\(//\)$' \| \
6497 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6498 $as_echo X"$ac_file" |
6499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6516 as_dir="$ac_dir"; as_fn_mkdir_p
6520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6522 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6523 # A ".." for each directory in $ac_dir_suffix.
6524 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6525 case $ac_top_builddir_sub in
6526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6530 ac_abs_top_builddir=$ac_pwd
6531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6532 # for backward compatibility:
6533 ac_top_builddir=$ac_top_build_prefix
6536 .) # We are building in place.
6538 ac_top_srcdir=$ac_top_builddir_sub
6539 ac_abs_top_srcdir=$ac_pwd ;;
6540 [\\/]* | ?:[\\/]* ) # Absolute name.
6541 ac_srcdir=$srcdir$ac_dir_suffix;
6542 ac_top_srcdir=$srcdir
6543 ac_abs_top_srcdir=$srcdir ;;
6545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6546 ac_top_srcdir=$ac_top_build_prefix$srcdir
6547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6559 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6560 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6565 # If the template does not know about datarootdir, expand it.
6566 # FIXME: This hack should be removed a few years after 2.60.
6567 ac_datarootdir_hack=; ac_datarootdir_seen=
6578 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6579 *datarootdir*) ac_datarootdir_seen=yes;;
6580 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6582 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6585 ac_datarootdir_hack='
6586 s&@datadir@&$datadir&g
6587 s&@docdir@&$docdir&g
6588 s&@infodir@&$infodir&g
6589 s&@localedir@&$localedir&g
6590 s&@mandir@&$mandir&g
6591 s&\\\${datarootdir}&$datarootdir&g' ;;
6595 # Neutralize VPATH when `$srcdir' = `.'.
6596 # Shell code in configure.ac might set extrasub.
6597 # FIXME: do we really want to maintain this feature?
6598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6599 ac_sed_extra="$ac_vpsub
6602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6604 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6605 s|@configure_input@|$ac_sed_conf_input|;t t
6606 s&@top_builddir@&$ac_top_builddir_sub&;t t
6607 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6608 s&@srcdir@&$ac_srcdir&;t t
6609 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6610 s&@top_srcdir@&$ac_top_srcdir&;t t
6611 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6612 s&@builddir@&$ac_builddir&;t t
6613 s&@abs_builddir@&$ac_abs_builddir&;t t
6614 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6615 s&@INSTALL@&$ac_INSTALL&;t t
6616 $ac_datarootdir_hack
6618 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
6619 if $ac_cs_awk_getline; then
6620 $AWK -f "$tmp/subs.awk"
6622 $AWK -f "$tmp/subs.awk" | $SHELL
6624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6626 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6627 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6628 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6630 which seems to be undefined. Please make sure it is defined" >&5
6631 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6632 which seems to be undefined. Please make sure it is defined" >&2;}
6636 -) cat "$tmp/out" && rm -f "$tmp/out";;
6637 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6639 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6645 if test x"$ac_file" != x-; then
6647 $as_echo "/* $configure_input */" \
6648 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6649 } >"$tmp/config.h" \
6650 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6651 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6653 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6656 mv "$tmp/config.h" "$ac_file" \
6657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6660 $as_echo "/* $configure_input */" \
6661 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6662 || as_fn_error $? "could not create -" "$LINENO" 5
6674 ac_clean_files=$ac_clean_files_save
6676 test $ac_write_fail = 0 ||
6677 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6680 # configure is writing to config.log, and then calls config.status.
6681 # config.status does its own redirection, appending to config.log.
6682 # Unfortunately, on DOS this fails, as config.log is still kept open
6683 # by configure, so config.status won't be able to write to it; its
6684 # output is simply discarded. So we exec the FD to /dev/null,
6685 # effectively closing config.log, so it can be properly (re)opened and
6686 # appended to by config.status. When coming back to configure, we
6687 # need to make the FD available again.
6688 if test "$no_create" != yes; then
6690 ac_config_status_args=
6691 test "$silent" = yes &&
6692 ac_config_status_args="$ac_config_status_args --quiet"
6694 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6696 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6697 # would make configure fail if this is the last instruction.
6698 $ac_cs_success || as_fn_exit 1
6700 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6702 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}