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
669 program_transform_name
680 ac_subst_files
='MCONFIG'
682 enable_option_checking
690 enable_oldstylefscript
708 ac_precious_vars
='build_alias
719 # Initialize some variables set by options.
721 ac_init_version
=false
722 ac_unrecognized_opts
=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name
=s
,x
,x
,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir
='${exec_prefix}/bin'
748 sbindir
='${exec_prefix}/sbin'
749 libexecdir
='${exec_prefix}/libexec'
750 datarootdir
='${prefix}/share'
751 datadir
='${datarootdir}'
752 sysconfdir
='${prefix}/etc'
753 sharedstatedir
='${prefix}/com'
754 localstatedir
='${prefix}/var'
755 includedir
='${prefix}/include'
756 oldincludedir
='/usr/include'
757 docdir
='${datarootdir}/doc/${PACKAGE}'
758 infodir
='${datarootdir}/info'
763 libdir
='${exec_prefix}/lib'
764 localedir
='${datarootdir}/locale'
765 mandir
='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\
$ac_option
779 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
792 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
795 -build |
--build |
--buil |
--bui |
--bu)
796 ac_prev
=build_alias
;;
797 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
798 build_alias
=$ac_optarg ;;
800 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
801 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
802 ac_prev
=cache_file
;;
803 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
804 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
805 cache_file
=$ac_optarg ;;
808 cache_file
=config.cache
;;
810 -datadir |
--datadir |
--datadi |
--datad)
812 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
813 datadir
=$ac_optarg ;;
815 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
816 |
--dataroo |
--dataro |
--datar)
817 ac_prev
=datarootdir
;;
818 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
819 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
820 datarootdir
=$ac_optarg ;;
822 -disable-* |
--disable-*)
823 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
826 as_fn_error $?
"invalid feature name: $ac_useropt"
827 ac_useropt_orig
=$ac_useropt
828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep
=', ';;
836 eval enable_
$ac_useropt=no
;;
838 -docdir |
--docdir |
--docdi |
--doc |
--do)
840 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
843 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
845 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
848 -enable-* |
--enable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error $?
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=\
$ac_optarg ;;
864 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
865 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
866 |
--exec |
--exe |
--ex)
867 ac_prev
=exec_prefix
;;
868 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
869 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
870 |
--exec=* |
--exe=* |
--ex=*)
871 exec_prefix
=$ac_optarg ;;
873 -gas |
--gas |
--ga |
--g)
874 # Obsolete; use --with-gas.
877 -help |
--help |
--hel |
--he |
-h)
879 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
880 ac_init_help
=recursive
;;
881 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
882 ac_init_help
=short
;;
884 -host |
--host |
--hos |
--ho)
885 ac_prev
=host_alias
;;
886 -host=* |
--host=* |
--hos=* |
--ho=*)
887 host_alias
=$ac_optarg ;;
889 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
891 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
893 htmldir
=$ac_optarg ;;
895 -includedir |
--includedir |
--includedi |
--included |
--include \
896 |
--includ |
--inclu |
--incl |
--inc)
897 ac_prev
=includedir
;;
898 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
899 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
900 includedir
=$ac_optarg ;;
902 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
904 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
905 infodir
=$ac_optarg ;;
907 -libdir |
--libdir |
--libdi |
--libd)
909 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
912 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
913 |
--libexe |
--libex |
--libe)
914 ac_prev
=libexecdir
;;
915 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
916 |
--libexe=* |
--libex=* |
--libe=*)
917 libexecdir
=$ac_optarg ;;
919 -localedir |
--localedir |
--localedi |
--localed |
--locale)
921 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
922 localedir
=$ac_optarg ;;
924 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
925 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
926 ac_prev
=localstatedir
;;
927 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
928 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
929 localstatedir
=$ac_optarg ;;
931 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
933 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
937 # Obsolete; use --without-fp.
940 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
941 |
--no-cr |
--no-c |
-n)
944 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
945 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
948 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
949 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
950 |
--oldin |
--oldi |
--old |
--ol |
--o)
951 ac_prev
=oldincludedir
;;
952 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
953 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
954 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
955 oldincludedir
=$ac_optarg ;;
957 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
959 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
962 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
963 |
--program-pre |
--program-pr |
--program-p)
964 ac_prev
=program_prefix
;;
965 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
966 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
967 program_prefix
=$ac_optarg ;;
969 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
970 |
--program-suf |
--program-su |
--program-s)
971 ac_prev
=program_suffix
;;
972 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
973 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
974 program_suffix
=$ac_optarg ;;
976 -program-transform-name |
--program-transform-name \
977 |
--program-transform-nam |
--program-transform-na \
978 |
--program-transform-n |
--program-transform- \
979 |
--program-transform |
--program-transfor \
980 |
--program-transfo |
--program-transf \
981 |
--program-trans |
--program-tran \
982 |
--progr-tra |
--program-tr |
--program-t)
983 ac_prev
=program_transform_name
;;
984 -program-transform-name=* |
--program-transform-name=* \
985 |
--program-transform-nam=* |
--program-transform-na=* \
986 |
--program-transform-n=* |
--program-transform-=* \
987 |
--program-transform=* |
--program-transfor=* \
988 |
--program-transfo=* |
--program-transf=* \
989 |
--program-trans=* |
--program-tran=* \
990 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
991 program_transform_name
=$ac_optarg ;;
993 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
995 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
998 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1000 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1004 |
-silent |
--silent |
--silen |
--sile |
--sil)
1007 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1009 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1011 sbindir
=$ac_optarg ;;
1013 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1014 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1015 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1017 ac_prev
=sharedstatedir
;;
1018 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1019 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1020 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1022 sharedstatedir
=$ac_optarg ;;
1024 -site |
--site |
--sit)
1026 -site=* |
--site=* |
--sit=*)
1029 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1031 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1032 srcdir
=$ac_optarg ;;
1034 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1035 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1036 ac_prev
=sysconfdir
;;
1037 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1038 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1039 sysconfdir
=$ac_optarg ;;
1041 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1042 ac_prev
=target_alias
;;
1043 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1044 target_alias
=$ac_optarg ;;
1046 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1049 -version |
--version |
--versio |
--versi |
--vers |
-V)
1050 ac_init_version
=: ;;
1053 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error $?
"invalid package name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval with_
$ac_useropt=\
$ac_optarg ;;
1068 -without-* |
--without-*)
1069 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1072 as_fn_error $?
"invalid package name: $ac_useropt"
1073 ac_useropt_orig
=$ac_useropt
1074 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep
=', ';;
1082 eval with_
$ac_useropt=no
;;
1085 # Obsolete; use --with-x.
1088 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1089 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1090 ac_prev
=x_includes
;;
1091 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1092 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1093 x_includes
=$ac_optarg ;;
1095 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1096 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1097 ac_prev
=x_libraries
;;
1098 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1099 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1100 x_libraries
=$ac_optarg ;;
1102 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1107 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1111 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1113 eval $ac_envvar=\
$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1127 if test -n "$ac_prev"; then
1128 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error $?
"missing argument to $ac_option"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1135 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140 # Check all directory arguments for consistency.
1141 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val
=\$
$ac_var
1147 # Remove trailing slashes.
1150 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\
$ac_val;;
1153 # Be sure to have absolute directory names.
1155 [\\/$
]* | ?
:[\\/]* ) continue;;
1156 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1158 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1166 target
=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x
; then
1170 if test "x$build_alias" = x
; then
1171 cross_compiling
=maybe
1172 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1173 If a cross compiler is detected then cross compile mode will be used" >&2
1174 elif test "x$build_alias" != "x$host_alias"; then
1180 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1182 test "$silent" = yes && exec 6>/dev
/null
1185 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1186 ac_ls_di
=`ls -di .` &&
1187 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1188 as_fn_error $?
"working directory cannot be determined"
1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190 as_fn_error $?
"pwd does not report name of working directory"
1193 # Find the source files, if location was not specified.
1194 if test -z "$srcdir"; then
1195 ac_srcdir_defaulted
=yes
1196 # Try the directory containing this script, then the parent directory.
1197 ac_confdir
=`$as_dirname -- "$as_myself" ||
1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202 $as_echo X"$as_myself" |
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1225 ac_srcdir_defaulted
=no
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1229 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1231 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1243 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245 for ac_var
in $ac_precious_vars; do
1246 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1248 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1253 # Report the --help message.
1255 if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1259 \`configure' configures this package to adapt to many kinds of systems.
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE. See below for descriptions of some of the useful variables.
1266 Defaults for the options are specified in brackets.
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking ...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1290 For better control, use the options below.
1292 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1318 if test -n "$ac_init_help"; then
1323 --disable-option-checking ignore unrecognized
--enable/--with options
1324 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1325 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1326 --enable-debug include debugging code
(default is NO
)
1327 --enable-static link dump and restore statically
(default is NO
)
1328 --enable-staticz link libz and libbz2 statically
(default is NO
)
1329 --enable-rmt compile and
install rmt
(default is YES
)
1330 --enable-ermt compile ermt
, an encrypting version of rmt
(default is NO
)
1331 --enable-kerberos compile kerberos extensions
(default is NO
)
1332 --enable-readline enable readline support
in restore
(default is YES
)
1333 --enable-oldstylefscript enable old style F
script (no arguments
) (default is NO
)
1334 --enable-largefile enable Large File System support
(default is YES
)
1335 --enable-qfa enable Quick File Access support
(default is YES
)
1336 --enable-qfadebug include Quick File Access debugging code
(default is NO
)
1337 --enable-macosx include Mac OSX restore compatibility
(default is NO
)
1338 --enable-transselinux restore can translate SELinux EAs
(default is YES
)
1341 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1342 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1343 --with-cc=COMPILER
select compiler to use
1344 --with-linker=LINKER
select linker to use
1345 --with-ccopts=CCOPTS
select compiler
command line options
1346 --with-ldopts=LDOPTS
select linker
command line options
1347 --with-binowner=USER
select owner
for binaries
1348 --with-bingrp=GROUP
select group
for binaries
1349 --with-binmode=MODE
select mode
for binaries
1350 --with-manowner=USER
select owner
for manual pages
1351 --with-mangrp=GROUP
select group
for manual pages
1352 --with-manmode=MODE
select mode
for manual pages
1353 --with-dumpdatespath=PATH
select path
for dumpdates
file
1355 Some influential environment variables
:
1356 CC C compiler
command
1357 CFLAGS C compiler flags
1358 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1359 nonstandard directory
<lib dir
>
1360 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1361 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1362 you have headers
in a nonstandard directory
<include dir
>
1365 Use these variables to override the choices made by
`configure' or to help
1366 it to find libraries and programs with nonstandard names/locations.
1368 Report bugs to the package provider.
1373 if test "$ac_init_help" = "recursive"; then
1374 # If there are subdirs, report their specific --help.
1375 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1376 test -d "$ac_dir" ||
1377 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1385 # A ".." for each directory in $ac_dir_suffix.
1386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1387 case $ac_top_builddir_sub in
1388 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1392 ac_abs_top_builddir=$ac_pwd
1393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1394 # for backward compatibility:
1395 ac_top_builddir=$ac_top_build_prefix
1398 .) # We are building in place.
1400 ac_top_srcdir=$ac_top_builddir_sub
1401 ac_abs_top_srcdir=$ac_pwd ;;
1402 [\\/]* | ?:[\\/]* ) # Absolute name.
1403 ac_srcdir=$srcdir$ac_dir_suffix;
1404 ac_top_srcdir=$srcdir
1405 ac_abs_top_srcdir=$srcdir ;;
1407 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1408 ac_top_srcdir=$ac_top_build_prefix$srcdir
1409 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1413 cd "$ac_dir" || { ac_status=$?; continue; }
1414 # Check for guested configure.
1415 if test -f "$ac_srcdir/configure.gnu"; then
1417 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1418 elif test -f "$ac_srcdir/configure"; then
1420 $SHELL "$ac_srcdir/configure" --help=recursive
1422 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1424 cd "$ac_pwd" || { ac_status=$?; break; }
1428 test -n "$ac_init_help" && exit $ac_status
1429 if $ac_init_version; then
1432 generated by GNU Autoconf 2.67
1434 Copyright (C) 2010 Free Software Foundation, Inc.
1435 This configure script is free software; the Free Software Foundation
1436 gives unlimited permission to copy, distribute and modify it.
1441 ## ------------------------ ##
1442 ## Autoconf initialization. ##
1443 ## ------------------------ ##
1445 # ac_fn_c_try_compile LINENO
1446 # --------------------------
1447 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1448 ac_fn_c_try_compile ()
1450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1451 rm -f conftest.$ac_objext
1452 if { { ac_try="$ac_compile"
1454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1455 *) ac_try_echo
=$ac_try;;
1457 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458 $as_echo "$ac_try_echo"; } >&5
1459 (eval "$ac_compile") 2>conftest.err
1461 if test -s conftest.err
; then
1462 grep -v '^ *+' conftest.err
>conftest.er1
1463 cat conftest.er1
>&5
1464 mv -f conftest.er1 conftest.err
1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467 test $ac_status = 0; } && {
1468 test -z "$ac_c_werror_flag" ||
1469 test ! -s conftest.err
1470 } && test -s conftest.
$ac_objext; then :
1473 $as_echo "$as_me: failed program was:" >&5
1474 sed 's/^/| /' conftest.
$ac_ext >&5
1478 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1479 as_fn_set_status
$ac_retval
1481 } # ac_fn_c_try_compile
1483 # ac_fn_c_try_cpp LINENO
1484 # ----------------------
1485 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1488 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1489 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1492 *) ac_try_echo=$ac_try;;
1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1498 if test -s conftest.err; then
1499 grep -v '^ *+' conftest.err >conftest.er1
1500 cat conftest.er1 >&5
1501 mv -f conftest.er1 conftest.err
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; } > conftest.i && {
1505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1506 test ! -s conftest.err
1510 $as_echo "$as_me: failed program was:" >&5
1511 sed 's/^/| /' conftest.$ac_ext >&5
1515 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1516 as_fn_set_status $ac_retval
1520 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1521 # -------------------------------------------------------
1522 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1523 # the include files in INCLUDES and setting the cache variable VAR
1525 ac_fn_c_check_header_mongrel ()
1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1528 if eval "test \"\${$3+set}\"" = set; then :
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1530 $as_echo_n "checking for $2... " >&6; }
1531 if eval "test \"\${$3+set}\"" = set; then :
1532 $as_echo_n "(cached) " >&6
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1536 $as_echo "$ac_res" >&6; }
1538 # Is the header compilable?
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1540 $as_echo_n "checking $2 usability... " >&6; }
1541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1542 /* end confdefs.h. */
1546 if ac_fn_c_try_compile "$LINENO"; then :
1547 ac_header_compiler=yes
1549 ac_header_compiler=no
1551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1553 $as_echo "$ac_header_compiler" >&6; }
1555 # Is the header present?
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1557 $as_echo_n "checking $2 presence... " >&6; }
1558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1559 /* end confdefs.h. */
1562 if ac_fn_c_try_cpp "$LINENO"; then :
1563 ac_header_preproc=yes
1565 ac_header_preproc=no
1567 rm -f conftest.err conftest.i conftest.$ac_ext
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1569 $as_echo "$ac_header_preproc" >&6; }
1571 # So? What about this header?
1572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1575 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1577 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1581 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1583 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1585 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1587 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1589 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if eval "test \"\${$3+set}\"" = set; then :
1595 $as_echo_n "(cached) " >&6
1597 eval "$3=\$ac_header_compiler"
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601 $as_echo "$ac_res" >&6; }
1603 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605 } # ac_fn_c_check_header_mongrel
1607 # ac_fn_c_try_run LINENO
1608 # ----------------------
1609 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1610 # that executables *can* be run.
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 if { { ac_try="$ac_link"
1616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1617 *) ac_try_echo
=$ac_try;;
1619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_link") 2>&5
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1625 { { case "(($ac_try" in
1626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_try") 2>&5
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; }; }; then :
1637 $as_echo "$as_me: program exited with status $ac_status" >&5
1638 $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.$ac_ext >&5
1641 ac_retval=$ac_status
1643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1644 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1645 as_fn_set_status $ac_retval
1649 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1650 # -------------------------------------------------------
1651 # Tests whether HEADER exists and can be compiled using the include files in
1652 # INCLUDES, setting the cache variable VAR accordingly.
1653 ac_fn_c_check_header_compile ()
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657 $as_echo_n "checking for $2... " >&6; }
1658 if eval "test \"\${$3+set}\"" = set; then :
1659 $as_echo_n "(cached) " >&6
1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662 /* end confdefs.h. */
1666 if ac_fn_c_try_compile "$LINENO"; then :
1671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1678 } # ac_fn_c_check_header_compile
1680 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1681 # ----------------------------------------------
1682 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1683 ac_fn_c_check_header_preproc ()
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if eval "test \"\${$3+set}\"" = set; then :
1689 $as_echo_n "(cached) " >&6
1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1692 /* end confdefs.h. */
1695 if ac_fn_c_try_cpp "$LINENO"; then :
1700 rm -f conftest.err conftest.i conftest.$ac_ext
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704 $as_echo "$ac_res" >&6; }
1705 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707 } # ac_fn_c_check_header_preproc
1709 # ac_fn_c_try_link LINENO
1710 # -----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded.
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext conftest$ac_exeext
1716 if { { ac_try="$ac_link"
1718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1719 *) ac_try_echo
=$ac_try;;
1721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>conftest.err
1725 if test -s conftest.err
; then
1726 grep -v '^ *+' conftest.err
>conftest.er1
1727 cat conftest.er1
>&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest
$ac_exeext && {
1735 test "$cross_compiling" = yes ||
1736 $as_test_x conftest
$ac_exeext
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.
$ac_ext >&5
1745 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1746 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1747 # interfere with the next link command; also delete a directory that is
1748 # left behind by Apple's compiler. We do this before executing the actions.
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1751 as_fn_set_status
$ac_retval
1753 } # ac_fn_c_try_link
1755 # ac_fn_c_check_func LINENO FUNC VAR
1756 # ----------------------------------
1757 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1758 ac_fn_c_check_func
()
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval "test \"\${$3+set}\"" = set; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1768 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1770 #define $2 innocuous_$2
1772 /* System header to define __stub macros and hopefully few prototypes,
1773 which can conflict with char $2 (); below.
1774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1775 <limits.h> exists even on freestanding compilers. */
1778 # include <limits.h>
1780 # include <assert.h>
1785 /* Override any GCC internal prototype to avoid an error.
1786 Use char because int might match the return type of a GCC
1787 builtin and then its argument prototype would still apply. */
1792 /* The GNU C library defines this for functions which it implements
1793 to always fail with ENOSYS. Some functions are actually named
1794 something starting with __ and the normal name is an alias. */
1795 #if defined __stub_$2 || defined __stub___$2
1807 if ac_fn_c_try_link
"$LINENO"; then :
1812 rm -f core conftest.err conftest.
$ac_objext \
1813 conftest
$ac_exeext conftest.
$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1820 } # ac_fn_c_check_func
1822 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1823 # -------------------------------------------
1824 # Tests whether TYPE exists after having included INCLUDES, setting cache
1825 # variable VAR accordingly.
1826 ac_fn_c_check_type
()
1828 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830 $as_echo_n "checking for $2... " >&6; }
1831 if eval "test \"\${$3+set}\"" = set; then :
1832 $as_echo_n "(cached) " >&6
1835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1847 if ac_fn_c_try_compile
"$LINENO"; then :
1848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1860 if ac_fn_c_try_compile
"$LINENO"; then :
1865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1874 } # ac_fn_c_check_type
1875 cat >config.log
<<_ACEOF
1876 This file contains any messages produced by compilers while
1877 running configure, to aid debugging if configure makes a mistake.
1879 It was created by $as_me, which was
1880 generated by GNU Autoconf 2.67. Invocation command line was
1892 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1893 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1894 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1895 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1896 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1898 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1899 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1901 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1902 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1903 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1904 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1905 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1906 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1907 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 $as_echo "PATH: $as_dir"
1932 # Keep a trace of the command line.
1933 # Strip out --no-create and --no-recursion so they do not pile up.
1934 # Strip out --silent because we don't want to record it for future runs.
1935 # Also quote any args containing shell meta-characters.
1936 # Make two passes to allow for proper duplicate-argument suppression.
1940 ac_must_keep_next
=false
1946 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1947 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1948 |
-silent |
--silent |
--silen |
--sile |
--sil)
1951 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1954 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1956 as_fn_append ac_configure_args1
" '$ac_arg'"
1957 if test $ac_must_keep_next = true
; then
1958 ac_must_keep_next
=false
# Got value, back to normal.
1961 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1962 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1963 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1964 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1965 case "$ac_configure_args0 " in
1966 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1969 -* ) ac_must_keep_next
=true
;;
1972 as_fn_append ac_configure_args
" '$ac_arg'"
1977 { ac_configure_args0
=; unset ac_configure_args0
;}
1978 { ac_configure_args1
=; unset ac_configure_args1
;}
1980 # When interrupted or exit'd, cleanup temporary files, and complete
1981 # config.log. We remove comments because anyway the quotes in there
1982 # would cause problems or look ugly.
1983 # WARNING: Use '\'' to represent an apostrophe within the trap.
1984 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1985 trap 'exit_status=$?
1986 # Save into config.log some information that might help in debugging.
1990 $as_echo "## ---------------- ##
1991 ## Cache variables. ##
1992 ## ---------------- ##"
1994 # The following way of writing the cache mishandles newlines in values,
1996 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1997 eval ac_val=\$$ac_var
2001 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2002 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2005 _ | IFS | as_nl) ;; #(
2006 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2007 *) { eval $ac_var=; unset $ac_var;} ;;
2012 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2013 *${as_nl}ac_space=\ *)
2015 "s/'\''/'\''\\\\'\'''\''/g;
2016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2026 $as_echo "## ----------------- ##
2027 ## Output variables. ##
2028 ## ----------------- ##"
2030 for ac_var in $ac_subst_vars
2032 eval ac_val=\$$ac_var
2034 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036 $as_echo "$ac_var='\''$ac_val'\''"
2040 if test -n "$ac_subst_files"; then
2041 $as_echo "## ------------------- ##
2042 ## File substitutions. ##
2043 ## ------------------- ##"
2045 for ac_var
in $ac_subst_files
2047 eval ac_val
=\$
$ac_var
2049 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2051 $as_echo "$ac_var='\''$ac_val'\''"
2056 if test -s confdefs.h; then
2057 $as_echo "## ----------- ##
2064 test "$ac_signal" != 0 &&
2065 $as_echo "$as_me: caught signal $ac_signal"
2066 $as_echo "$as_me: exit $exit_status"
2068 rm -f core *.core core.conftest.* &&
2069 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2072 for ac_signal
in 1 2 13 15; do
2073 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2077 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2078 rm -f -r conftest
* confdefs.h
2080 $as_echo "/* confdefs.h */" > confdefs.h
2082 # Predefined preprocessor variables.
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE_NAME "$PACKAGE_NAME"
2088 cat >>confdefs.h
<<_ACEOF
2089 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2092 cat >>confdefs.h
<<_ACEOF
2093 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_STRING "$PACKAGE_STRING"
2100 cat >>confdefs.h
<<_ACEOF
2101 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2104 cat >>confdefs.h
<<_ACEOF
2105 #define PACKAGE_URL "$PACKAGE_URL"
2109 # Let the site file select an alternate cache file if it wants to.
2110 # Prefer an explicitly selected file to automatically selected ones.
2113 if test -n "$CONFIG_SITE"; then
2114 # We do not want a PATH search for config.site.
2115 case $CONFIG_SITE in #((
2116 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2117 */*) ac_site_file1
=$CONFIG_SITE;;
2118 *) ac_site_file1
=.
/$CONFIG_SITE;;
2120 elif test "x$prefix" != xNONE
; then
2121 ac_site_file1
=$prefix/share
/config.site
2122 ac_site_file2
=$prefix/etc
/config.site
2124 ac_site_file1
=$ac_default_prefix/share
/config.site
2125 ac_site_file2
=$ac_default_prefix/etc
/config.site
2127 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2129 test "x$ac_site_file" = xNONE
&& continue
2130 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2132 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2133 sed 's/^/| /' "$ac_site_file" >&5
2135 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2137 as_fn_error $?
"failed to load site script $ac_site_file
2138 See \`config.log' for more details" "$LINENO" 5 ; }
2142 if test -r "$cache_file"; then
2143 # Some versions of bash will fail to source /dev/null (special files
2144 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2145 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2147 $as_echo "$as_me: loading cache $cache_file" >&6;}
2149 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2150 *) .
"./$cache_file";;
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2155 $as_echo "$as_me: creating cache $cache_file" >&6;}
2159 # Check that the precious variables saved in the cache have kept the same
2161 ac_cache_corrupted
=false
2162 for ac_var
in $ac_precious_vars; do
2163 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2164 eval ac_new_set
=\
$ac_env_${ac_var}_set
2165 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2166 eval ac_new_val
=\
$ac_env_${ac_var}_value
2167 case $ac_old_set,$ac_new_set in
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2170 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2171 ac_cache_corrupted
=: ;;
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2174 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2175 ac_cache_corrupted
=: ;;
2178 if test "x$ac_old_val" != "x$ac_new_val"; then
2179 # differences in whitespace do not lead to failure.
2180 ac_old_val_w
=`echo x $ac_old_val`
2181 ac_new_val_w
=`echo x $ac_new_val`
2182 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2184 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2185 ac_cache_corrupted
=:
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2188 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2189 eval $ac_var=\
$ac_old_val
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2192 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2194 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2197 # Pass precious variables to config.status.
2198 if test "$ac_new_set" = set; then
2200 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2201 *) ac_arg
=$ac_var=$ac_new_val ;;
2203 case " $ac_configure_args " in
2204 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2205 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2209 if $ac_cache_corrupted; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2213 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2214 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2216 ## -------------------- ##
2217 ## Main body of script. ##
2218 ## -------------------- ##
2221 ac_cpp
='$CPP $CPPFLAGS'
2222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2232 ac_config_headers
="$ac_config_headers config.h"
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2236 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2238 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2239 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2240 $as_echo_n "(cached) " >&6
2242 cat >conftest.
make <<\_ACEOF
2245 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2247 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2248 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2250 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2252 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2256 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2258 $as_echo "yes" >&6; }
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2262 $as_echo "no" >&6; }
2263 SET_MAKE
="MAKE=${MAKE-make}"
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2267 $as_echo_n "checking whether ln -s works... " >&6; }
2269 if test "$LN_S" = "ln -s"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2271 $as_echo "yes" >&6; }
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2274 $as_echo "no, using $LN_S" >&6; }
2277 # Extract the first word of "cp", so it can be a program name with args.
2278 set dummy
cp; ac_word
=$2
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2280 $as_echo_n "checking for $ac_word... " >&6; }
2281 if test "${ac_cv_path_CP+set}" = set; then :
2282 $as_echo_n "(cached) " >&6
2286 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
2289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir
=.
2294 for ac_exec_ext
in '' $ac_executable_extensions; do
2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
2297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
2309 if test -n "$CP"; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
2311 $as_echo "$CP" >&6; }
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2314 $as_echo "no" >&6; }
2318 # Extract the first word of "mv", so it can be a program name with args.
2319 set dummy
mv; ac_word
=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_path_MV+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2327 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
2330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir
=.
2335 for ac_exec_ext
in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
2338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
2350 if test -n "$MV"; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
2352 $as_echo "$MV" >&6; }
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2355 $as_echo "no" >&6; }
2359 # Extract the first word of "rm", so it can be a program name with args.
2360 set dummy
rm; ac_word
=$2
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362 $as_echo_n "checking for $ac_word... " >&6; }
2363 if test "${ac_cv_path_RM+set}" = set; then :
2364 $as_echo_n "(cached) " >&6
2368 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
2371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir
=.
2376 for ac_exec_ext
in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
2391 if test -n "$RM"; then
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
2393 $as_echo "$RM" >&6; }
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2396 $as_echo "no" >&6; }
2400 if test -n "$ac_tool_prefix"; then
2401 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2402 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_AR+set}" = set; then :
2406 $as_echo_n "(cached) " >&6
2408 if test -n "$AR"; then
2409 ac_cv_prog_AR
="$AR" # Let the user override the test.
2411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir
=.
2416 for ac_exec_ext
in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 if test -n "$AR"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2431 $as_echo "$AR" >&6; }
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434 $as_echo "no" >&6; }
2439 if test -z "$ac_cv_prog_AR"; then
2441 # Extract the first word of "ar", so it can be a program name with args.
2442 set dummy
ar; ac_word
=$2
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2444 $as_echo_n "checking for $ac_word... " >&6; }
2445 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2446 $as_echo_n "(cached) " >&6
2448 if test -n "$ac_ct_AR"; then
2449 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir
=.
2456 for ac_exec_ext
in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_ac_ct_AR
="ar"
2459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2468 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2469 if test -n "$ac_ct_AR"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2471 $as_echo "$ac_ct_AR" >&6; }
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2474 $as_echo "no" >&6; }
2477 if test "x$ac_ct_AR" = x
; then
2480 case $cross_compiling:$ac_tool_warned in
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2484 ac_tool_warned
=yes ;;
2492 if test -n "$ac_tool_prefix"; then
2493 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2494 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2498 $as_echo_n "(cached) " >&6
2500 if test -n "$RANLIB"; then
2501 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir
=.
2508 for ac_exec_ext
in '' $ac_executable_extensions; do
2509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2510 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 RANLIB
=$ac_cv_prog_RANLIB
2521 if test -n "$RANLIB"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2523 $as_echo "$RANLIB" >&6; }
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2526 $as_echo "no" >&6; }
2531 if test -z "$ac_cv_prog_RANLIB"; then
2532 ac_ct_RANLIB
=$RANLIB
2533 # Extract the first word of "ranlib", so it can be a program name with args.
2534 set dummy ranlib
; ac_word
=$2
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2538 $as_echo_n "(cached) " >&6
2540 if test -n "$ac_ct_RANLIB"; then
2541 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir
=.
2548 for ac_exec_ext
in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2561 if test -n "$ac_ct_RANLIB"; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2563 $as_echo "$ac_ct_RANLIB" >&6; }
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566 $as_echo "no" >&6; }
2569 if test "x$ac_ct_RANLIB" = x
; then
2572 case $cross_compiling:$ac_tool_warned in
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2576 ac_tool_warned
=yes ;;
2578 RANLIB
=$ac_ct_RANLIB
2581 RANLIB
="$ac_cv_prog_RANLIB"
2584 if test -n "$ac_tool_prefix"; then
2585 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
2586 set dummy
${ac_tool_prefix}patch; ac_word
=$2
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588 $as_echo_n "checking for $ac_word... " >&6; }
2589 if test "${ac_cv_prog_PATCH+set}" = set; then :
2590 $as_echo_n "(cached) " >&6
2592 if test -n "$PATCH"; then
2593 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
2595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir
=.
2600 for ac_exec_ext
in '' $ac_executable_extensions; do
2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602 ac_cv_prog_PATCH
="${ac_tool_prefix}patch"
2603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 PATCH
=$ac_cv_prog_PATCH
2613 if test -n "$PATCH"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
2615 $as_echo "$PATCH" >&6; }
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618 $as_echo "no" >&6; }
2623 if test -z "$ac_cv_prog_PATCH"; then
2625 # Extract the first word of "patch", so it can be a program name with args.
2626 set dummy
patch; ac_word
=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if test "${ac_cv_prog_ac_ct_PATCH+set}" = set; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$ac_ct_PATCH"; then
2633 ac_cv_prog_ac_ct_PATCH
="$ac_ct_PATCH" # Let the user override the test.
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 for ac_exec_ext
in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_ac_ct_PATCH
="patch"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2652 ac_ct_PATCH
=$ac_cv_prog_ac_ct_PATCH
2653 if test -n "$ac_ct_PATCH"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PATCH" >&5
2655 $as_echo "$ac_ct_PATCH" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2661 if test "x$ac_ct_PATCH" = x
; then
2664 case $cross_compiling:$ac_tool_warned in
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2668 ac_tool_warned
=yes ;;
2673 PATCH
="$ac_cv_prog_PATCH"
2677 ac_cpp
='$CPP $CPPFLAGS'
2678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2681 if test -n "$ac_tool_prefix"; then
2682 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2683 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if test "${ac_cv_prog_CC+set}" = set; then :
2687 $as_echo_n "(cached) " >&6
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC
="$CC" # Let the user override the test.
2692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir
=.
2697 for ac_exec_ext
in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712 $as_echo "$CC" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2720 if test -z "$ac_cv_prog_CC"; then
2722 # Extract the first word of "gcc", so it can be a program name with args.
2723 set dummy gcc
; ac_word
=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2727 $as_echo_n "(cached) " >&6
2729 if test -n "$ac_ct_CC"; then
2730 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir
=.
2737 for ac_exec_ext
in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_ac_ct_CC
="gcc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2750 if test -n "$ac_ct_CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2752 $as_echo "$ac_ct_CC" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2758 if test "x$ac_ct_CC" = x
; then
2761 case $cross_compiling:$ac_tool_warned in
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2765 ac_tool_warned
=yes ;;
2773 if test -z "$CC"; then
2774 if test -n "$ac_tool_prefix"; then
2775 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2776 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if test "${ac_cv_prog_CC+set}" = set; then :
2780 $as_echo_n "(cached) " >&6
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC
="$CC" # Let the user override the test.
2785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir
=.
2790 for ac_exec_ext
in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 if test -n "$CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805 $as_echo "$CC" >&6; }
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2814 if test -z "$CC"; then
2815 # Extract the first word of "cc", so it can be a program name with args.
2816 set dummy cc
; ac_word
=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if test "${ac_cv_prog_CC+set}" = set; then :
2820 $as_echo_n "(cached) " >&6
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC
="$CC" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2834 ac_prog_rejected
=yes
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 if test $ac_prog_rejected = yes; then
2846 # We found a bogon in the path, so make sure we never use it.
2847 set dummy
$ac_cv_prog_CC
2849 if test $# != 0; then
2850 # We chose a different compiler from the bogus one.
2851 # However, it has the same basename, so the bogon will be chosen
2852 # first if we set CC to just the basename; use the full file name.
2854 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2860 if test -n "$CC"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2862 $as_echo "$CC" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2870 if test -z "$CC"; then
2871 if test -n "$ac_tool_prefix"; then
2872 for ac_prog
in cl.exe
2874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2875 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if test "${ac_cv_prog_CC+set}" = set; then :
2879 $as_echo_n "(cached) " >&6
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC
="$CC" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2911 test -n "$CC" && break
2914 if test -z "$CC"; then
2916 for ac_prog
in cl.exe
2918 # Extract the first word of "$ac_prog", so it can be a program name with args.
2919 set dummy
$ac_prog; ac_word
=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$ac_ct_CC"; then
2926 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_ac_ct_CC
="$ac_prog"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2946 if test -n "$ac_ct_CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2948 $as_echo "$ac_ct_CC" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2955 test -n "$ac_ct_CC" && break
2958 if test "x$ac_ct_CC" = x
; then
2961 case $cross_compiling:$ac_tool_warned in
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2965 ac_tool_warned
=yes ;;
2974 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2976 as_fn_error $?
"no acceptable C compiler found in \$PATH
2977 See \`config.log' for more details" "$LINENO" 5 ; }
2979 # Provide some information about the compiler.
2980 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2983 for ac_option
in --version -v -V -qversion; do
2984 { { ac_try
="$ac_compiler $ac_option >&5"
2986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 $as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2993 if test -s conftest.err; then
2995 ... rest of stderr output deleted ...
2996 10q' conftest.err >conftest.er1
2997 cat conftest.er1 >&5
2999 rm -f conftest.er1 conftest.err
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; }
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3015 ac_clean_files_save=$ac_clean_files
3016 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3017 # Try to create an executable without -o first, disregard a.out.
3018 # It will help us diagnose broken compilers, and finding out an intuition
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3021 $as_echo_n "checking whether the C compiler works... " >&6; }
3022 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3024 # The possible output files:
3025 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3028 for ac_file in $ac_files
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3032 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3037 if { { ac_try="$ac_link_default"
3039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3040 *) ac_try_echo
=$ac_try;;
3042 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_link_default") 2>&5
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }; then :
3048 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3049 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3050 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3051 # so that the user can short-circuit this test for compilers unknown to
3053 for ac_file
in $ac_files ''
3055 test -f "$ac_file" ||
continue
3057 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3060 # We found the default executable, but exeext='' is most
3064 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3066 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3068 # We set ac_cv_exeext here because the later test for it is not
3069 # safe: cross compilers may not add the suffix if given an `-o'
3070 # argument, so we may need to know it at that point already.
3071 # Even if this section looks crufty: it has the advantage of
3078 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3083 if test -z "$ac_file"; then :
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 $as_echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 as_fn_error
77 "C compiler cannot create executables
3092 See \`config.log' for more details" "$LINENO" 5 ; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3095 $as_echo "yes" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3098 $as_echo_n "checking for C compiler default output file name... " >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3100 $as_echo "$ac_file" >&6; }
3101 ac_exeext
=$ac_cv_exeext
3103 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3104 ac_clean_files
=$ac_clean_files_save
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3106 $as_echo_n "checking for suffix of executables... " >&6; }
3107 if { { ac_try
="$ac_link"
3109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3119 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3120 # work properly (i.e., refer to `conftest.exe'), while it won't with
3122 for ac_file
in conftest.exe conftest conftest.
*; do
3123 test -f "$ac_file" ||
continue
3125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3126 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3135 See \`config.log' for more details" "$LINENO" 5 ; }
3137 rm -f conftest conftest
$ac_cv_exeext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3139 $as_echo "$ac_cv_exeext" >&6; }
3141 rm -f conftest.
$ac_ext
3142 EXEEXT
=$ac_cv_exeext
3144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3150 FILE *f = fopen ("conftest.out", "w");
3151 return ferror (f) || fclose (f) != 0;
3157 ac_clean_files
="$ac_clean_files conftest.out"
3158 # Check that the compiler produces executables we can run. If not, either
3159 # the compiler is broken, or we cross compile.
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3161 $as_echo_n "checking whether we are cross compiling... " >&6; }
3162 if test "$cross_compiling" != yes; then
3163 { { ac_try
="$ac_link"
3165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_link") 2>&5
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }
3174 if { ac_try='./conftest$ac_cv_exeext'
3175 { { case "(($ac_try" in
3176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3177 *) ac_try_echo
=$ac_try;;
3179 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 $as_echo "$ac_try_echo"; } >&5
3181 (eval "$ac_try") 2>&5
3183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3184 test $ac_status = 0; }; }; then
3187 if test "$cross_compiling" = maybe
; then
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 as_fn_error $?
"cannot run C compiled programs.
3193 If you meant to cross compile, use \`--host'.
3194 See \`config.log' for more details" "$LINENO" 5 ; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3199 $as_echo "$cross_compiling" >&6; }
3201 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3202 ac_clean_files
=$ac_clean_files_save
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3204 $as_echo_n "checking for suffix of object files... " >&6; }
3205 if test "${ac_cv_objext+set}" = set; then :
3206 $as_echo_n "(cached) " >&6
3208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3219 rm -f conftest.o conftest.obj
3220 if { { ac_try
="$ac_compile"
3222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_compile") 2>&5
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }; then :
3231 for ac_file in conftest.o conftest.obj conftest.*; do
3232 test -f "$ac_file" || continue;
3234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3235 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3240 $as_echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3246 See \
`config.log' for more details" "$LINENO" 5 ; }
3248 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3251 $as_echo "$ac_cv_objext" >&6; }
3252 OBJEXT=$ac_cv_objext
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3255 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3256 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3273 if ac_fn_c_try_compile "$LINENO"; then :
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3283 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3284 if test $ac_compiler_gnu = yes; then
3289 ac_test_CFLAGS=${CFLAGS+set}
3290 ac_save_CFLAGS=$CFLAGS
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3292 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3293 if test "${ac_cv_prog_cc_g+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3296 ac_save_c_werror_flag=$ac_c_werror_flag
3297 ac_c_werror_flag=yes
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3311 if ac_fn_c_try_compile "$LINENO"; then :
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3326 if ac_fn_c_try_compile "$LINENO"; then :
3329 ac_c_werror_flag=$ac_save_c_werror_flag
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3342 if ac_fn_c_try_compile "$LINENO"; then :
3345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 ac_c_werror_flag=$ac_save_c_werror_flag
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3353 $as_echo "$ac_cv_prog_cc_g" >&6; }
3354 if test "$ac_test_CFLAGS" = set; then
3355 CFLAGS=$ac_save_CFLAGS
3356 elif test $ac_cv_prog_cc_g = yes; then
3357 if test "$GCC" = yes; then
3363 if test "$GCC" = yes; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3370 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3371 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3372 $as_echo_n "(cached) " >&6
3374 ac_cv_prog_cc_c89=no
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 #include <sys/types.h>
3381 #include <sys/stat.h>
3382 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3383 struct buf { int x; };
3384 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3385 static char *e (p, i)
3391 static char *f (char * (*g) (char **, int), char **p, ...)
3396 s = g (p, va_arg (v,int));
3401 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3402 function prototypes and stuff, but not '\xHH' hex character constants.
3403 These don't provoke an error unfortunately, instead are silently treated
3404 as 'x'. The following induces an error, until -std is added to get
3405 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3406 array size at least. It's necessary to write '\x00'==0 to get something
3407 that's true only with -std. */
3408 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3410 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3411 inside strings and character constants. */
3413 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3415 int test (int i, double x);
3416 struct s1 {int (*f) (int a);};
3417 struct s2 {int (*f) (double a);};
3418 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3424 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3429 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3430 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3432 CC="$ac_save_CC $ac_arg"
3433 if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_cv_prog_cc_c89=$ac_arg
3436 rm -f core conftest.err conftest.$ac_objext
3437 test "x$ac_cv_prog_cc_c89" != "xno" && break
3439 rm -f conftest.$ac_ext
3444 case "x$ac_cv_prog_cc_c89" in
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3447 $as_echo "none needed" >&6; } ;;
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3450 $as_echo "unsupported" >&6; } ;;
3452 CC="$CC $ac_cv_prog_cc_c89"
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3454 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3456 if test "x$ac_cv_prog_cc_c89" != xno; then :
3461 ac_cpp='$CPP $CPPFLAGS'
3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3468 if test -f "$ac_dir/install-sh"; then
3470 ac_install_sh="$ac_aux_dir/install-sh -c"
3472 elif test -f "$ac_dir/install.sh"; then
3474 ac_install_sh="$ac_aux_dir/install.sh -c"
3476 elif test -f "$ac_dir/shtool"; then
3478 ac_install_sh="$ac_aux_dir/shtool install -c"
3482 if test -z "$ac_aux_dir"; then
3483 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3486 # These three variables are undocumented and unsupported,
3487 # and are intended to be withdrawn in a future Autoconf release.
3488 # They can cause serious problems if a builder's source tree is in a directory
3489 # whose full name contains unusual characters.
3490 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3491 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3492 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3495 # Find a good install program. We prefer a C program (faster),
3496 # so one script is as good as another. But avoid the broken or
3497 # incompatible versions:
3498 # SysV /etc/install, /usr/sbin/install
3499 # SunOS /usr/etc/install
3500 # IRIX /sbin/install
3502 # AmigaOS /C/install, which installs bootblocks on floppy discs
3503 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3504 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3505 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3506 # OS/2's system install, which has a completely different semantic
3507 # ./install, which can be erroneously created by make from ./install.sh.
3508 # Reject install programs that cannot install multiple files.
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3510 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3511 if test -z "$INSTALL"; then
3512 if test "${ac_cv_path_install+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir=.
3520 # Account for people who put trailing slashes in PATH elements.
3521 case $as_dir/ in #((
3522 ./ | .// | /[cC]/* | \
3523 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3524 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3527 # OSF1 and SCO ODT 3.0 have their own names for install.
3528 # Don't use installbsd from OSF since it installs stuff as root
3530 for ac_prog in ginstall scoinst install; do
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3533 if test $ac_prog = install &&
3534 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3535 # AIX install. It has an incompatible calling convention.
3537 elif test $ac_prog = install &&
3538 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3539 # program-specific install script used by HP pwplus--don't use.
3542 rm -rf conftest.one conftest.two conftest.dir
3543 echo one > conftest.one
3544 echo two > conftest.two
3546 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3547 test -s conftest.one && test -s conftest.two &&
3548 test -s conftest.dir/conftest.one &&
3549 test -s conftest.dir/conftest.two
3551 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3564 rm -rf conftest.one conftest.two conftest.dir
3567 if test "${ac_cv_path_install+set}" = set; then
3568 INSTALL=$ac_cv_path_install
3570 # As a last resort, use the slow shell script. Don't cache a
3571 # value for INSTALL within a source directory, because that will
3572 # break other packages using the cache if that directory is
3573 # removed, or if the value is a relative name.
3574 INSTALL=$ac_install_sh
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3578 $as_echo "$INSTALL" >&6; }
3580 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3581 # It thinks the first close brace ends the variable substitution.
3582 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3584 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3586 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3597 # On Suns, sometimes $CPP names a directory.
3598 if test -n "$CPP" && test -d "$CPP"; then
3601 if test -z "$CPP"; then
3602 if test "${ac_cv_prog_CPP+set}" = set; then :
3603 $as_echo_n "(cached) " >&6
3605 # Double quotes because CPP needs to be expanded
3606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3609 for ac_c_preproc_warn_flag in '' yes
3611 # Use a header file that comes with gcc, so configuring glibc
3612 # with a fresh cross-compiler works.
3613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3614 # <limits.h> exists even on freestanding compilers.
3615 # On the NeXT, cc -E runs the code through the compiler's parser,
3616 # not just through cpp. "Syntax error" is here to catch this case.
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3620 # include <limits.h>
3622 # include <assert.h>
3626 if ac_fn_c_try_cpp "$LINENO"; then :
3629 # Broken: fails on valid input.
3632 rm -f conftest.err conftest.i conftest.$ac_ext
3634 # OK, works on sane cases. Now check whether nonexistent headers
3635 # can be detected and how.
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3638 #include <ac_nonexistent.h>
3640 if ac_fn_c_try_cpp "$LINENO"; then :
3641 # Broken: success on invalid input.
3644 # Passes both tests.
3648 rm -f conftest.err conftest.i conftest.$ac_ext
3651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3652 rm -f conftest.i conftest.err conftest.
$ac_ext
3653 if $ac_preproc_ok; then :
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3666 $as_echo "$CPP" >&6; }
3668 for ac_c_preproc_warn_flag
in '' yes
3670 # Use a header file that comes with gcc, so configuring glibc
3671 # with a fresh cross-compiler works.
3672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3673 # <limits.h> exists even on freestanding compilers.
3674 # On the NeXT, cc -E runs the code through the compiler's parser,
3675 # not just through cpp. "Syntax error" is here to catch this case.
3676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3679 # include <limits.h>
3681 # include <assert.h>
3685 if ac_fn_c_try_cpp
"$LINENO"; then :
3688 # Broken: fails on valid input.
3691 rm -f conftest.err conftest.i conftest.
$ac_ext
3693 # OK, works on sane cases. Now check whether nonexistent headers
3694 # can be detected and how.
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3697 #include <ac_nonexistent.h>
3699 if ac_fn_c_try_cpp
"$LINENO"; then :
3700 # Broken: success on invalid input.
3703 # Passes both tests.
3707 rm -f conftest.err conftest.i conftest.
$ac_ext
3710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3711 rm -f conftest.i conftest.err conftest.
$ac_ext
3712 if $ac_preproc_ok; then :
3715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3717 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3718 See \`config.log' for more details" "$LINENO" 5 ; }
3722 ac_cpp
='$CPP $CPPFLAGS'
3723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3729 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3730 if test "${ac_cv_path_GREP+set}" = set; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -z "$GREP"; then
3734 ac_path_GREP_found
=false
3735 # Loop through the user's path and test for each of PROGNAME-LIST
3736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3737 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3740 test -z "$as_dir" && as_dir
=.
3741 for ac_prog
in grep ggrep
; do
3742 for ac_exec_ext
in '' $ac_executable_extensions; do
3743 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3744 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3745 # Check for GNU ac_path_GREP and select it if it is found.
3746 # Check for GNU $ac_path_GREP
3747 case `"$ac_path_GREP" --version 2>&1` in
3749 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3752 $as_echo_n 0123456789 >"conftest.in"
3755 cat "conftest.in" "conftest.in" >"conftest.tmp"
3756 mv "conftest.tmp" "conftest.in"
3757 cp "conftest.in" "conftest.nl"
3758 $as_echo 'GREP' >> "conftest.nl"
3759 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3760 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3761 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3762 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3763 # Best one so far, save it but keep looking for a better one
3764 ac_cv_path_GREP
="$ac_path_GREP"
3765 ac_path_GREP_max
=$ac_count
3767 # 10*(2^10) chars as input seems more than enough
3768 test $ac_count -gt 10 && break
3770 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3773 $ac_path_GREP_found && break 3
3778 if test -z "$ac_cv_path_GREP"; then
3779 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3782 ac_cv_path_GREP
=$GREP
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3787 $as_echo "$ac_cv_path_GREP" >&6; }
3788 GREP
="$ac_cv_path_GREP"
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3792 $as_echo_n "checking for egrep... " >&6; }
3793 if test "${ac_cv_path_EGREP+set}" = set; then :
3794 $as_echo_n "(cached) " >&6
3796 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3797 then ac_cv_path_EGREP
="$GREP -E"
3799 if test -z "$EGREP"; then
3800 ac_path_EGREP_found
=false
3801 # Loop through the user's path and test for each of PROGNAME-LIST
3802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3803 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3806 test -z "$as_dir" && as_dir
=.
3807 for ac_prog
in egrep; do
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3811 # Check for GNU ac_path_EGREP and select it if it is found.
3812 # Check for GNU $ac_path_EGREP
3813 case `"$ac_path_EGREP" --version 2>&1` in
3815 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3818 $as_echo_n 0123456789 >"conftest.in"
3821 cat "conftest.in" "conftest.in" >"conftest.tmp"
3822 mv "conftest.tmp" "conftest.in"
3823 cp "conftest.in" "conftest.nl"
3824 $as_echo 'EGREP' >> "conftest.nl"
3825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3826 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3827 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3829 # Best one so far, save it but keep looking for a better one
3830 ac_cv_path_EGREP
="$ac_path_EGREP"
3831 ac_path_EGREP_max
=$ac_count
3833 # 10*(2^10) chars as input seems more than enough
3834 test $ac_count -gt 10 && break
3836 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3839 $ac_path_EGREP_found && break 3
3844 if test -z "$ac_cv_path_EGREP"; then
3845 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3848 ac_cv_path_EGREP
=$EGREP
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3854 $as_echo "$ac_cv_path_EGREP" >&6; }
3855 EGREP
="$ac_cv_path_EGREP"
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3859 $as_echo_n "checking for ANSI C header files... " >&6; }
3860 if test "${ac_cv_header_stdc+set}" = set; then :
3861 $as_echo_n "(cached) " >&6
3863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3878 if ac_fn_c_try_compile
"$LINENO"; then :
3879 ac_cv_header_stdc
=yes
3881 ac_cv_header_stdc
=no
3883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3885 if test $ac_cv_header_stdc = yes; then
3886 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3893 $EGREP "memchr" >/dev
/null
2>&1; then :
3896 ac_cv_header_stdc
=no
3902 if test $ac_cv_header_stdc = yes; then
3903 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev
/null
2>&1; then :
3913 ac_cv_header_stdc
=no
3919 if test $ac_cv_header_stdc = yes; then
3920 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3921 if test "$cross_compiling" = yes; then :
3924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3928 #if ((' ' & 0x0FF) == 0x020)
3929 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3930 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3932 # define ISLOWER(c) \
3933 (('a' <= (c) && (c) <= 'i') \
3934 || ('j' <= (c) && (c) <= 'r') \
3935 || ('s' <= (c) && (c) <= 'z'))
3936 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3939 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3944 for (i = 0; i < 256; i++)
3945 if (XOR (islower (i), ISLOWER (i))
3946 || toupper (i) != TOUPPER (i))
3951 if ac_fn_c_try_run
"$LINENO"; then :
3954 ac_cv_header_stdc
=no
3956 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3957 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3963 $as_echo "$ac_cv_header_stdc" >&6; }
3964 if test $ac_cv_header_stdc = yes; then
3966 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3970 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3971 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3972 inttypes.h stdint.h unistd.h
3974 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3975 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3977 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3978 cat >>confdefs.h
<<_ACEOF
3979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3987 for ac_header
in sys
/types.h
3989 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
3990 if test "x$ac_cv_header_sys_types_h" = x
""yes; then :
3991 cat >>confdefs.h
<<_ACEOF
3992 #define HAVE_SYS_TYPES_H 1
4000 CPPFLAGS
="-D_BSD_SOURCE -D_USE_BSD_SIGNAL ${CPPFLAGS}"
4002 # Check whether --enable-debug was given.
4003 if test "${enable_debug+set}" = set; then :
4004 enableval
=$enable_debug; if test "$enableval" = "no"
4008 echo "Not including debugging code"
4010 DUMPDEBUG
="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
4011 RESTOREDEBUG
="-DDIRDEBUG"
4012 echo "Including debugging code"
4017 echo "Not including debugging code by default"
4024 # Check whether --enable-static was given.
4025 if test "${enable_static+set}" = set; then :
4026 enableval
=$enable_static; if test "$enableval" = "no"
4029 echo "Linking dump and restore dynamically"
4032 echo "Linking dump and restore statically"
4037 echo "Linking dump and restore dynamically by default"
4043 # Check whether --enable-staticz was given.
4044 if test "${enable_staticz+set}" = set; then :
4045 enableval
=$enable_staticz; if test "$enableval" = "no"
4048 echo "Linking libz and libbz2 dynamically"
4051 echo "Linking libz and libbz2 statically"
4056 echo "Linking libz and libbz2 dynamically by default"
4061 # Check whether --enable-rmt was given.
4062 if test "${enable_rmt+set}" = set; then :
4063 enableval
=$enable_rmt; if test "$enableval" = "no"
4067 echo "Not compiling rmt"
4070 RMTMAKEFILE
="rmt/Makefile"
4071 echo "Compiling rmt"
4076 RMTMAKEFILE
="rmt/Makefile"
4077 echo "Compiling rmt by default"
4083 # Check whether --enable-ermt was given.
4084 if test "${enable_ermt+set}" = set; then :
4085 enableval
=$enable_ermt; if test "$enableval" = "no"
4088 echo "Not compiling ermt"
4090 if test "$RMTDIR" = ""
4092 as_fn_error $?
"ermt requires --enable-rmt" "$LINENO" 5
4095 echo "Compiling ermt"
4100 echo "Not compiling ermt by default"
4106 # Check whether --enable-kerberos was given.
4107 if test "${enable_kerberos+set}" = set; then :
4108 enableval
=$enable_kerberos; if test "$enableval" = "yes"
4110 OPTDEFS
="-DKERBEROS"
4111 echo "Compiling kerberos extensions"
4114 echo "Not compiling kerberos extensions"
4119 echo "Not compiling kerberos extensions by default"
4125 # Check whether --enable-readline was given.
4126 if test "${enable_readline+set}" = set; then :
4127 enableval
=$enable_readline; if test "$enableval" = "no"
4130 echo "Not including readline support"
4134 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
4136 echo "Including readline support"
4142 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
4144 echo "Including readline support by default"
4149 # Check whether --enable-oldstylefscript was given.
4150 if test "${enable_oldstylefscript+set}" = set; then :
4151 enableval
=$enable_oldstylefscript; if test "$enableval" = "yes"
4154 $as_echo "#define OLD_STYLE_FSCRIPT 1" >>confdefs.h
4156 echo "Using old style F script"
4158 echo "Using new style F script"
4162 echo "Using new style F script by default"
4167 # Check whether --enable-largefile was given.
4168 if test "${enable_largefile+set}" = set; then :
4169 enableval
=$enable_largefile; if test "$enableval" = "yes"
4172 $as_echo "#define USE_LFS 1" >>confdefs.h
4174 echo "Enabling Large File System support"
4176 echo "Not enabling Large File System support"
4181 $as_echo "#define USE_LFS 1" >>confdefs.h
4183 echo "Enabling Large File System support by default"
4188 # Check whether --enable-qfa was given.
4189 if test "${enable_qfa+set}" = set; then :
4190 enableval
=$enable_qfa; if test "$enableval" = "yes"
4193 $as_echo "#define USE_QFA 1" >>confdefs.h
4195 echo "Enabling Quick File Access support"
4197 echo "Not enabling Quick File Access support"
4202 $as_echo "#define USE_QFA 1" >>confdefs.h
4204 echo "Enabling Quick File Access support by default"
4209 # Check whether --enable-qfadebug was given.
4210 if test "${enable_qfadebug+set}" = set; then :
4211 enableval
=$enable_qfadebug; if test "$enableval" = "yes"
4214 $as_echo "#define DEBUG_QFA 1" >>confdefs.h
4216 echo "Including Quick File Access debugging code"
4218 echo "Not including Quick File Access debugging code"
4222 echo "Not including Quick File Access debugging code by default"
4227 # Check whether --enable-macosx was given.
4228 if test "${enable_macosx+set}" = set; then :
4229 enableval
=$enable_macosx; if test "$enableval" = "yes"
4232 $as_echo "#define DUMP_MACOSX 1" >>confdefs.h
4234 echo "Including Mac OSX restore compatibility code"
4236 echo "Not including Mac OSX restore compatibility code"
4240 echo "Not including Mac OSX restore compatibility code by default"
4245 # Check whether --enable-transselinux was given.
4246 if test "${enable_transselinux+set}" = set; then :
4247 enableval
=$enable_transselinux; if test "$enableval" = "yes"
4249 LTRANSSELINUX
="-lselinux"
4250 CCTRANSSELINUX
="-DTRANSSELINUX"
4251 echo "restore can translate SELinux EAs"
4255 echo "restore can not translate SELinux EAs"
4259 LTRANSSELINUX
="-lselinux"
4260 CCTRANSSELINUX
="-DTRANSSELINUX"
4261 echo "restore can translate SELinux EAs by default"
4270 # Check whether --with-cc was given.
4271 if test "${with_cc+set}" = set; then :
4272 withval
=$with_cc; { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$withval" >&5
4273 $as_echo "CC=$withval" >&6; }
4276 if test -z "$CC" ; then CC
=cc
; fi
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC defaults to $CC" >&5
4278 $as_echo "CC defaults to $CC" >&6; }
4284 # Check whether --with-linker was given.
4285 if test "${with_linker+set}" = set; then :
4286 withval
=$with_linker; { $as_echo "$as_me:${as_lineno-$LINENO}: result: LD=$withval" >&5
4287 $as_echo "LD=$withval" >&6; }
4290 if test -z "$LD" ; then LD
=$CC; fi
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: LD defaults to $LD" >&5
4292 $as_echo "LD defaults to $LD" >&6; }
4298 # Check whether --with-ccopts was given.
4299 if test "${with_ccopts+set}" = set; then :
4300 withval
=$with_ccopts; { $as_echo "$as_me:${as_lineno-$LINENO}: result: CCOPTS is $withval" >&5
4301 $as_echo "CCOPTS is $withval" >&6; }
4303 CFLAGS
="$CFLAGS $withval"
4310 # Check whether --with-ldopts was given.
4311 if test "${with_ldopts+set}" = set; then :
4312 withval
=$with_ldopts; { $as_echo "$as_me:${as_lineno-$LINENO}: result: LDFLAGS is $withval" >&5
4313 $as_echo "LDFLAGS is $withval" >&6; }
4315 LDFLAGS
="$LDFLAGS $withval"
4322 # Check whether --with-binowner was given.
4323 if test "${with_binowner+set}" = set; then :
4324 withval
=$with_binowner; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINOWNER is $withval" >&5
4325 $as_echo "BINOWNER is $withval" >&6; }
4329 echo "BINOWNER defaults to $BINOWNER"
4335 # Check whether --with-bingrp was given.
4336 if test "${with_bingrp+set}" = set; then :
4337 withval
=$with_bingrp; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINGRP is $withval" >&5
4338 $as_echo "BINGRP is $withval" >&6; }
4342 echo "BINGRP defaults to $BINGRP"
4348 # Check whether --with-binmode was given.
4349 if test "${with_binmode+set}" = set; then :
4350 withval
=$with_binmode; { $as_echo "$as_me:${as_lineno-$LINENO}: result: BINMODE is $withval" >&5
4351 $as_echo "BINMODE is $withval" >&6; }
4355 echo "BINMODE defaults to $BINMODE"
4361 # Check whether --with-manowner was given.
4362 if test "${with_manowner+set}" = set; then :
4363 withval
=$with_manowner; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANOWNER is $withval" >&5
4364 $as_echo "MANOWNER is $withval" >&6; }
4368 echo "MANOWNER defaults to $MANOWNER"
4374 # Check whether --with-mangrp was given.
4375 if test "${with_mangrp+set}" = set; then :
4376 withval
=$with_mangrp; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANGRP is $withval" >&5
4377 $as_echo "MANGRP is $withval" >&6; }
4381 echo "MANGRP defaults to $MANGRP"
4387 # Check whether --with-manmode was given.
4388 if test "${with_manmode+set}" = set; then :
4389 withval
=$with_manmode; { $as_echo "$as_me:${as_lineno-$LINENO}: result: MANMODE is $withval" >&5
4390 $as_echo "MANMODE is $withval" >&6; }
4394 echo "MANMODE defaults to $MANMODE"
4400 # Check whether --with-dumpdatespath was given.
4401 if test "${with_dumpdatespath+set}" = set; then :
4402 withval
=$with_dumpdatespath; { $as_echo "$as_me:${as_lineno-$LINENO}: result: DUMPDATESPATH is $withval" >&5
4403 $as_echo "DUMPDATESPATH is $withval" >&6; }
4404 DUMPDATESPATH
=$withval
4406 DUMPDATESPATH
="${sysconfdir}/dumpdates"
4407 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
4412 ac_fn_c_check_header_preproc
"$LINENO" "ext2fs/ext2fs.h" "ac_cv_header_ext2fs_ext2fs_h"
4413 if test "x$ac_cv_header_ext2fs_ext2fs_h" = x
""yes; then :
4420 PKG_CHECK_MODULES
(EXT2FS
, ext2fs
)
4421 if test -n "$STATIC" ; then
4422 EXT2FS_LIBS
=`$PKG_CONFIG --libs --static ext2fs`
4424 if test "$ext2fs_h" = no
-o "x$EXT2FS_LIBS" = "x"; then
4425 as_fn_error $?
"You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" "$LINENO" 5
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_read_inode_full in -lext2fs" >&5
4429 $as_echo_n "checking for ext2fs_read_inode_full in -lext2fs... " >&6; }
4430 if test "${ac_cv_lib_ext2fs_ext2fs_read_inode_full+set}" = set; then :
4431 $as_echo_n "(cached) " >&6
4433 ac_check_lib_save_LIBS
=$LIBS
4434 LIBS
="-lext2fs -lcom_err $LIBS"
4435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4438 /* Override any GCC internal prototype to avoid an error.
4439 Use char because int might match the return type of a GCC
4440 builtin and then its argument prototype would still apply. */
4444 char ext2fs_read_inode_full ();
4448 return ext2fs_read_inode_full ();
4453 if ac_fn_c_try_link
"$LINENO"; then :
4454 ac_cv_lib_ext2fs_ext2fs_read_inode_full
=yes
4456 ac_cv_lib_ext2fs_ext2fs_read_inode_full
=no
4458 rm -f core conftest.err conftest.
$ac_objext \
4459 conftest
$ac_exeext conftest.
$ac_ext
4460 LIBS
=$ac_check_lib_save_LIBS
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_read_inode_full" >&5
4463 $as_echo "$ac_cv_lib_ext2fs_ext2fs_read_inode_full" >&6; }
4464 if test "x$ac_cv_lib_ext2fs_ext2fs_read_inode_full" = x
""yes; then :
4470 if test "$rif" = yes; then
4472 $as_echo "#define HAVE_EXT2FS_READ_INODE_FULL 1" >>confdefs.h
4476 for ac_header
in ext2fs
/ext2_fs.h
4478 ac_fn_c_check_header_preproc
"$LINENO" "ext2fs/ext2_fs.h" "ac_cv_header_ext2fs_ext2_fs_h"
4479 if test "x$ac_cv_header_ext2fs_ext2_fs_h" = x
""yes; then :
4480 cat >>confdefs.h
<<_ACEOF
4481 #define HAVE_EXT2FS_EXT2_FS_H 1
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2_ino_t type in libext2fs headers" >&5
4490 $as_echo_n "checking for ext2_ino_t type in libext2fs headers... " >&6; }
4491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4494 #ifdef HAVE_EXT2FS_EXT2_FS_H
4495 #include <ext2fs/ext2_fs.h>
4497 #include <linux/ext2_fs.h>
4499 #include <ext2fs/ext2fs.h>
4508 if ac_fn_c_try_compile
"$LINENO"; then :
4510 $as_echo "#define HAVE_EXT2_INO_T 1" >>confdefs.h
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4513 $as_echo "yes" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for s_journal_inum field in ext2_super_block struct" >&5
4521 $as_echo_n "checking for s_journal_inum field in ext2_super_block struct... " >&6; }
4522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4525 #ifdef HAVE_EXT2FS_EXT2_FS_H
4526 #include <ext2fs/ext2_fs.h>
4528 #include <linux/ext2_fs.h>
4530 #include <ext2fs/ext2fs.h>
4534 struct ext2_super_block es; es.s_journal_inum = 0;
4539 if ac_fn_c_try_compile
"$LINENO"; then :
4541 $as_echo "#define HAVE_EXT2_JOURNAL_INUM 1" >>confdefs.h
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4544 $as_echo "yes" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4551 ac_fn_c_check_header_preproc
"$LINENO" "blkid/blkid.h" "ac_cv_header_blkid_blkid_h"
4552 if test "x$ac_cv_header_blkid_blkid_h" = x
""yes; then :
4559 PKG_CHECK_EXISTS
(blkid
,
4561 if test -n $STATIC ; then
4562 BLKID
=`$PKG_CONFIG --libs --static blkid`
4564 BLKID
=`$PKG_CONFIG --libs blkid`
4566 if test "$blkid_h" = yes ; then
4567 AC_DEFINE
([HAVE_BLKID
],1,[Define this
if you have the blkid library.
])
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
4573 $as_echo_n "checking for tgetent in -lncurses... " >&6; }
4574 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 ac_check_lib_save_LIBS
=$LIBS
4578 LIBS
="-lncurses $LIBS"
4579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4582 /* Override any GCC internal prototype to avoid an error.
4583 Use char because int might match the return type of a GCC
4584 builtin and then its argument prototype would still apply. */
4597 if ac_fn_c_try_link
"$LINENO"; then :
4598 ac_cv_lib_ncurses_tgetent
=yes
4600 ac_cv_lib_ncurses_tgetent
=no
4602 rm -f core conftest.err conftest.
$ac_objext \
4603 conftest
$ac_exeext conftest.
$ac_ext
4604 LIBS
=$ac_check_lib_save_LIBS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
4607 $as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
4608 if test "x$ac_cv_lib_ncurses_tgetent" = x
""yes; then :
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
4615 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
4616 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4619 ac_check_lib_save_LIBS
=$LIBS
4620 LIBS
="-ltermcap $LIBS"
4621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4624 /* Override any GCC internal prototype to avoid an error.
4625 Use char because int might match the return type of a GCC
4626 builtin and then its argument prototype would still apply. */
4639 if ac_fn_c_try_link
"$LINENO"; then :
4640 ac_cv_lib_termcap_tgetent
=yes
4642 ac_cv_lib_termcap_tgetent
=no
4644 rm -f core conftest.err conftest.
$ac_objext \
4645 conftest
$ac_exeext conftest.
$ac_ext
4646 LIBS
=$ac_check_lib_save_LIBS
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
4649 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
4650 if test "x$ac_cv_lib_termcap_tgetent" = x
""yes; then :
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
4657 $as_echo_n "checking for tgetent in -ltinfo... " >&6; }
4658 if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then :
4659 $as_echo_n "(cached) " >&6
4661 ac_check_lib_save_LIBS
=$LIBS
4662 LIBS
="-ltinfo $LIBS"
4663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4666 /* Override any GCC internal prototype to avoid an error.
4667 Use char because int might match the return type of a GCC
4668 builtin and then its argument prototype would still apply. */
4681 if ac_fn_c_try_link
"$LINENO"; then :
4682 ac_cv_lib_tinfo_tgetent
=yes
4684 ac_cv_lib_tinfo_tgetent
=no
4686 rm -f core conftest.err conftest.
$ac_objext \
4687 conftest
$ac_exeext conftest.
$ac_ext
4688 LIBS
=$ac_check_lib_save_LIBS
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
4691 $as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
4692 if test "x$ac_cv_lib_tinfo_tgetent" = x
""yes; then :
4699 if test "$ncurses_lib" = no
-a "$termcap_lib" = no
-a "$tinfo_lib" = no
; then
4700 if test "$READLINE" = "yes"; then
4701 as_fn_error $?
"You need to install the ncurses or termcap library or configure without --enable-readline" "$LINENO" 5
4704 if test "$tinfo_lib" = yes; then
4706 elif test "$ncurses_lib" = yes; then
4708 elif test "$termcap_lib" = yes; then
4712 ac_fn_c_check_header_preproc
"$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h"
4713 if test "x$ac_cv_header_readline_readline_h" = x
""yes; then :
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
4721 $as_echo_n "checking for readline in -lreadline... " >&6; }
4722 if test "${ac_cv_lib_readline_readline+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4725 ac_check_lib_save_LIBS
=$LIBS
4726 LIBS
="-lreadline $rdllib $LIBS"
4727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4730 /* Override any GCC internal prototype to avoid an error.
4731 Use char because int might match the return type of a GCC
4732 builtin and then its argument prototype would still apply. */
4745 if ac_fn_c_try_link
"$LINENO"; then :
4746 ac_cv_lib_readline_readline
=yes
4748 ac_cv_lib_readline_readline
=no
4750 rm -f core conftest.err conftest.
$ac_objext \
4751 conftest
$ac_exeext conftest.
$ac_ext
4752 LIBS
=$ac_check_lib_save_LIBS
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
4755 $as_echo "$ac_cv_lib_readline_readline" >&6; }
4756 if test "x$ac_cv_lib_readline_readline" = x
""yes; then :
4762 if test "$readline_h" = no
-o "$readline_lib" = no
; then
4763 if test "$READLINE" = "yes"; then
4764 as_fn_error $?
"You need to install the GNU readline library or configure without --enable-readline" "$LINENO" 5
4767 if test "$READLINE" = yes; then
4768 READLINE
="-lreadline $rdllib"
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5
4773 $as_echo_n "checking for rl_completion_matches in -lreadline... " >&6; }
4774 if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4777 ac_check_lib_save_LIBS
=$LIBS
4778 LIBS
="-lreadline "-ltermcap" $LIBS"
4779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4782 /* Override any GCC internal prototype to avoid an error.
4783 Use char because int might match the return type of a GCC
4784 builtin and then its argument prototype would still apply. */
4788 char rl_completion_matches ();
4792 return rl_completion_matches ();
4797 if ac_fn_c_try_link
"$LINENO"; then :
4798 ac_cv_lib_readline_rl_completion_matches
=yes
4800 ac_cv_lib_readline_rl_completion_matches
=no
4802 rm -f core conftest.err conftest.
$ac_objext \
4803 conftest
$ac_exeext conftest.
$ac_ext
4804 LIBS
=$ac_check_lib_save_LIBS
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5
4807 $as_echo "$ac_cv_lib_readline_rl_completion_matches" >&6; }
4808 if test "x$ac_cv_lib_readline_rl_completion_matches" = x
""yes; then :
4814 if test "$rlcm" = yes; then
4816 $as_echo "#define HAVE_READLINE_RLCM 1" >>confdefs.h
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_append_character in -lreadline" >&5
4821 $as_echo_n "checking for rl_completion_append_character in -lreadline... " >&6; }
4822 if test "${ac_cv_lib_readline_rl_completion_append_character+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4825 ac_check_lib_save_LIBS
=$LIBS
4826 LIBS
="-lreadline "-ltermcap" $LIBS"
4827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4830 /* Override any GCC internal prototype to avoid an error.
4831 Use char because int might match the return type of a GCC
4832 builtin and then its argument prototype would still apply. */
4836 char rl_completion_append_character ();
4840 return rl_completion_append_character ();
4845 if ac_fn_c_try_link
"$LINENO"; then :
4846 ac_cv_lib_readline_rl_completion_append_character
=yes
4848 ac_cv_lib_readline_rl_completion_append_character
=no
4850 rm -f core conftest.err conftest.
$ac_objext \
4851 conftest
$ac_exeext conftest.
$ac_ext
4852 LIBS
=$ac_check_lib_save_LIBS
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_append_character" >&5
4855 $as_echo "$ac_cv_lib_readline_rl_completion_append_character" >&6; }
4856 if test "x$ac_cv_lib_readline_rl_completion_append_character" = x
""yes; then :
4862 if test "$rcac" = yes; then
4864 $as_echo "#define HAVE_READLINE_CAC 1" >>confdefs.h
4868 ac_fn_c_check_header_preproc
"$LINENO" "zlib.h" "ac_cv_header_zlib_h"
4869 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
4877 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
4878 if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
4879 $as_echo_n "(cached) " >&6
4881 ac_check_lib_save_LIBS
=$LIBS
4883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4886 /* Override any GCC internal prototype to avoid an error.
4887 Use char because int might match the return type of a GCC
4888 builtin and then its argument prototype would still apply. */
4892 char zlibVersion ();
4896 return zlibVersion ();
4901 if ac_fn_c_try_link
"$LINENO"; then :
4902 ac_cv_lib_z_zlibVersion
=yes
4904 ac_cv_lib_z_zlibVersion
=no
4906 rm -f core conftest.err conftest.
$ac_objext \
4907 conftest
$ac_exeext conftest.
$ac_ext
4908 LIBS
=$ac_check_lib_save_LIBS
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
4911 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
4912 if test "x$ac_cv_lib_z_zlibVersion" = x
""yes; then :
4918 if test "$zlib_h" = yes -a "$zlib_lib" = yes; then
4919 if test "$STATICZ" = yes; then
4920 ZLIB
="-Wl,-Bstatic -lz -Wl,-Bdynamic"
4925 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
4932 ac_fn_c_check_header_preproc
"$LINENO" "bzlib.h" "ac_cv_header_bzlib_h"
4933 if test "x$ac_cv_header_bzlib_h" = x
""yes; then :
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzBuffToBuffCompress in -lbz2" >&5
4941 $as_echo_n "checking for BZ2_bzBuffToBuffCompress in -lbz2... " >&6; }
4942 if test "${ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress+set}" = set; then :
4943 $as_echo_n "(cached) " >&6
4945 ac_check_lib_save_LIBS
=$LIBS
4947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4950 /* Override any GCC internal prototype to avoid an error.
4951 Use char because int might match the return type of a GCC
4952 builtin and then its argument prototype would still apply. */
4956 char BZ2_bzBuffToBuffCompress ();
4960 return BZ2_bzBuffToBuffCompress ();
4965 if ac_fn_c_try_link
"$LINENO"; then :
4966 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress
=yes
4968 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress
=no
4970 rm -f core conftest.err conftest.
$ac_objext \
4971 conftest
$ac_exeext conftest.
$ac_ext
4972 LIBS
=$ac_check_lib_save_LIBS
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&5
4975 $as_echo "$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&6; }
4976 if test "x$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" = x
""yes; then :
4982 if test "$bzlib_h" = yes -a "$bzlib_lib" = yes; then
4983 if test "$STATICZ" = yes; then
4984 BZLIB
="-Wl,-Bstatic -lbz2 -Wl,-Bdynamic"
4989 $as_echo "#define HAVE_BZLIB 1" >>confdefs.h
4996 ac_fn_c_check_header_preproc
"$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h"
4997 if test "x$ac_cv_header_sqlite3_h" = x
""yes; then :
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
5005 $as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
5006 if test "${ac_cv_lib_sqlite3_sqlite3_initialize+set}" = set; then :
5007 $as_echo_n "(cached) " >&6
5009 ac_check_lib_save_LIBS
=$LIBS
5010 LIBS
="-lsqlite3 $LIBS"
5011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5014 /* Override any GCC internal prototype to avoid an error.
5015 Use char because int might match the return type of a GCC
5016 builtin and then its argument prototype would still apply. */
5020 char sqlite3_initialize ();
5024 return sqlite3_initialize ();
5029 if ac_fn_c_try_link
"$LINENO"; then :
5030 ac_cv_lib_sqlite3_sqlite3_initialize
=yes
5032 ac_cv_lib_sqlite3_sqlite3_initialize
=no
5034 rm -f core conftest.err conftest.
$ac_objext \
5035 conftest
$ac_exeext conftest.
$ac_ext
5036 LIBS
=$ac_check_lib_save_LIBS
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
5039 $as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
5040 if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = x
""yes; then :
5046 if test "$sqlite3_h" = yes -a "$sqlite3_lib" = yes; then
5047 if test "$STATICZ" = yes; then
5048 SQLITE3
="-Wl,-Bstatic -lsqlite3 -Wl,-Bdynamic"
5053 $as_echo "#define HAVE_SQLITE3 1" >>confdefs.h
5060 for ac_func
in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
5062 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5063 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5064 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5065 cat >>confdefs.h
<<_ACEOF
5066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5072 ac_fn_c_check_func
"$LINENO" "glob" "ac_cv_func_glob"
5073 if test "x$ac_cv_func_glob" = x
""yes; then :
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended glob routines" >&5
5079 $as_echo_n "checking for extended glob routines... " >&6; }
5080 if test "$ac_cv_func_glob" = "yes"; then
5081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5085 # ifdef GLOB_ALTDIRFUNC
5090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5091 $EGREP "yes" >/dev
/null
2>&1; then :
5094 $as_echo "#define HAVE_GLOB 1" >>confdefs.h
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5097 $as_echo "yes" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5103 echo "Your system does not support extended glob, will use the internal routines"
5110 ac_fn_c_check_header_mongrel
"$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
5111 if test "x$ac_cv_header_openssl_evp_h" = x
""yes; then :
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
5119 $as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
5120 if test "${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5123 ac_check_lib_save_LIBS
=$LIBS
5124 LIBS
="-lcrypto $LIBS"
5125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5126 /* end confdefs.h. */
5128 /* Override any GCC internal prototype to avoid an error.
5129 Use char because int might match the return type of a GCC
5130 builtin and then its argument prototype would still apply. */
5134 char EVP_CIPHER_CTX_set_padding ();
5138 return EVP_CIPHER_CTX_set_padding ();
5143 if ac_fn_c_try_link
"$LINENO"; then :
5144 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding
=yes
5146 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding
=no
5148 rm -f core conftest.err conftest.
$ac_objext \
5149 conftest
$ac_exeext conftest.
$ac_ext
5150 LIBS
=$ac_check_lib_save_LIBS
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
5153 $as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
5154 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = x
""yes; then :
5160 if test "$evp_h" = yes -a "$crypto_lib" = yes; then
5161 if test "$STATICZ" = yes; then
5162 SSLLIB
="-Wl,-Bstatic -lssl -Wl,-Bdynamic"
5167 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
5171 if test "$ERMT" != ""; then
5172 as_fn_error or configure without
--enable-ermt "You need to install the OpenSSL library (version 0.9.7a or later)" "$LINENO" 5
5177 ac_fn_c_check_type
"$LINENO" "quad_t" "ac_cv_type_quad_t" "$ac_includes_default"
5178 if test "x$ac_cv_type_quad_t" = x
""yes; then :
5182 cat >>confdefs.h
<<_ACEOF
5183 #define quad_t int64_t
5188 ac_fn_c_check_type
"$LINENO" "u_quad_t" "ac_cv_type_u_quad_t" "$ac_includes_default"
5189 if test "x$ac_cv_type_u_quad_t" = x
""yes; then :
5193 cat >>confdefs.h
<<_ACEOF
5194 #define u_quad_t uint64_t
5200 top_builddir
=`cd .; pwd`
5203 test -d compat || mkdir compat
5204 test -d compat
/lib || mkdir compat
/lib
5206 ac_config_files
="$ac_config_files MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile testing/Makefile $RMTMAKEFILE"
5208 cat >confcache
<<\_ACEOF
5209 # This file is a shell script that caches the results of configure
5210 # tests run on this system so they can be shared between configure
5211 # scripts and configure runs, see configure's option --config-cache.
5212 # It is not useful on other systems. If it contains results you don't
5213 # want to keep, you may remove or edit it.
5215 # config.status only pays attention to the cache file if you give it
5216 # the --recheck option to rerun configure.
5218 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5219 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5224 # The following way of writing the cache mishandles newlines in values,
5225 # but we know of no workaround that is simple, portable, and efficient.
5226 # So, we kill variables containing newlines.
5227 # Ultrix sh set writes to stderr and can't be redirected directly,
5228 # and sets the high bit in the cache file unless we assign to the vars.
5230 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5231 eval ac_val
=\$
$ac_var
5235 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5239 _ | IFS | as_nl
) ;; #(
5240 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5241 *) { eval $ac_var=; unset $ac_var;} ;;
5247 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5248 *${as_nl}ac_space
=\
*)
5249 # `set' does not quote correctly, so add quotes: double-quote
5250 # substitution turns \\\\ into \\, and sed turns \\ into \.
5253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5256 # `set' quotes correctly as required by POSIX, so do not add quotes.
5257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5266 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5268 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5270 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5271 if test -w "$cache_file"; then
5272 test "x$cache_file" != "x/dev/null" &&
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5274 $as_echo "$as_me: updating cache $cache_file" >&6;}
5275 cat confcache
>$cache_file
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5278 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5283 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5284 # Let make expand exec_prefix.
5285 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5287 DEFS
=-DHAVE_CONFIG_H
5292 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5293 # 1. Remove the extension, and $U if already installed.
5294 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5295 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5296 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5297 # will be set to the directory where LIBOBJS objects are built.
5298 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5299 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5303 LTLIBOBJS
=$ac_ltlibobjs
5307 : ${CONFIG_STATUS=./config.status}
5309 ac_clean_files_save
=$ac_clean_files
5310 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5312 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5314 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5316 # Generated by $as_me.
5317 # Run this file to recreate the current configuration.
5318 # Compiler output produced by configure, useful for debugging
5319 # configure, is in config.log if it exists.
5325 SHELL=\${CONFIG_SHELL-$SHELL}
5328 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5329 ## -------------------- ##
5330 ## M4sh Initialization. ##
5331 ## -------------------- ##
5333 # Be more Bourne compatible
5334 DUALCASE
=1; export DUALCASE
# for MKS sh
5335 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5338 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5339 # is contrary to our usage. Disable this feature.
5340 alias -g '${1+"$@"}'='"$@"'
5341 setopt NO_GLOB_SUBST
5343 case `(set -o) 2>/dev/null` in #(
5355 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5356 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5359 # Prefer a ksh shell builtin over an external printf program on Solaris,
5360 # but without wasting forks for bash or zsh.
5361 if test -z "$BASH_VERSION$ZSH_VERSION" \
5362 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5363 as_echo='print
-r --'
5364 as_echo_n='print
-rn --'
5365 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5366 as_echo='printf %s
\n'
5367 as_echo_n='printf %s
'
5369 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5370 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5371 as_echo_n='/usr
/ucb
/echo -n'
5373 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5374 as_echo_n_body='eval
5378 expr "X$arg" : "X\\(.*\\)$as_nl";
5379 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5381 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5383 export as_echo_n_body
5384 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5387 as_echo='sh
-c $as_echo_body as_echo
'
5390 # The user is always right.
5391 if test "${PATH_SEPARATOR+set}" != set; then
5393 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5394 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5401 # We need space, tab and new line, in precisely that order. Quoting is
5402 # there to prevent editors from complaining about space-tab.
5403 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5404 # splitting by setting IFS to empty value.)
5407 # Find who we are. Look in the path if we contain no directory separator.
5409 *[\\/]* ) as_myself=$0 ;;
5410 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 test -z "$as_dir" && as_dir=.
5415 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5421 # We did not find ourselves, most probably we were run as `sh COMMAND'
5422 # in which case we are not to be found in the path.
5423 if test "x$as_myself" = x
; then
5426 if test ! -f "$as_myself"; then
5427 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5431 # Unset variables that we do not need and which cause bugs (e.g. in
5432 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5433 # suppresses any "Segmentation fault" message there. '((' could
5434 # trigger a bug in pdksh 5.2.14.
5435 for as_var
in BASH_ENV ENV MAIL MAILPATH
5436 do eval test x\
${$as_var+set} = xset \
5437 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5450 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5453 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5454 # ----------------------------------------
5455 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5456 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5457 # script with STATUS, using 1 if that was 0.
5460 as_status
=$1; test $as_status -eq 0 && as_status
=1
5462 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5463 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5465 $as_echo "$as_me: error: $2" >&2
5466 as_fn_exit
$as_status
5470 # as_fn_set_status STATUS
5471 # -----------------------
5472 # Set $? to STATUS, without forking.
5476 } # as_fn_set_status
5480 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5490 # Portably unset VAR.
5493 { eval $1=; unset $1;}
5495 as_unset
=as_fn_unset
5496 # as_fn_append VAR VALUE
5497 # ----------------------
5498 # Append the text in VALUE to the end of the definition contained in VAR. Take
5499 # advantage of any shell optimizations that allow amortized linear growth over
5500 # repeated appends, instead of the typical quadratic growth present in naive
5502 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5503 eval 'as_fn_append ()
5514 # as_fn_arith ARG...
5515 # ------------------
5516 # Perform arithmetic evaluation on the ARGs, and store the result in the
5517 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5518 # must be portable across $(()) and expr.
5519 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5520 eval 'as_fn_arith ()
5527 as_val
=`expr "$@" || test $? -eq 1`
5532 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5533 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5539 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5540 as_basename
=basename
5545 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5551 as_me
=`$as_basename -- "$0" ||
5552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5553 X"$0" : 'X\(//\)$' \| \
5554 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5556 sed '/^.*\/\([^/][^/]*\)\/*$/{
5570 # Avoid depending upon Character Ranges.
5571 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5572 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5573 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5574 as_cr_digits
='0123456789'
5575 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5577 ECHO_C
= ECHO_N
= ECHO_T
=
5578 case `echo -n x` in #(((((
5580 case `echo 'xy\c'` in
5581 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5583 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5590 rm -f conf$$ conf$$.exe conf$$.
file
5591 if test -d conf$$.dir
; then
5592 rm -f conf$$.dir
/conf$$.
file
5595 mkdir conf$$.dir
2>/dev
/null
5597 if (echo >conf$$.
file) 2>/dev
/null
; then
5598 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5600 # ... but there are two gotchas:
5601 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5602 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5603 # In both cases, we have to default to `cp -p'.
5604 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5606 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5614 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5615 rmdir conf$$.dir
2>/dev
/null
5620 # Create "$as_dir" as a directory, including parents if necessary.
5625 -*) as_dir
=.
/$as_dir;;
5627 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5631 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5632 *) as_qdir
=$as_dir;;
5634 as_dirs
="'$as_qdir' $as_dirs"
5635 as_dir
=`$as_dirname -- "$as_dir" ||
5636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5637 X"$as_dir" : 'X\(//\)[^/]' \| \
5638 X"$as_dir" : 'X\(//\)$' \| \
5639 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5640 $as_echo X"$as_dir" |
5641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5658 test -d "$as_dir" && break
5660 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5661 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5665 if mkdir
-p .
2>/dev
/null
; then
5666 as_mkdir_p
='mkdir -p "$as_dir"'
5668 test -d .
/-p && rmdir .
/-p
5672 if test -x / >/dev
/null
2>&1; then
5675 if ls -dL / >/dev
/null
2>&1; then
5682 if test -d "$1"; then
5688 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5689 ???[sx]*):;;*)false;;esac;fi
5693 as_executable_p
=$as_test_x
5695 # Sed expression to map a string onto a valid CPP name.
5696 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5698 # Sed expression to map a string onto a valid variable name.
5699 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5703 ## ----------------------------------- ##
5704 ## Main body of $CONFIG_STATUS script. ##
5705 ## ----------------------------------- ##
5707 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5710 # Save the log message, to keep $0 and so on meaningful, and to
5711 # report actual input values of CONFIG_FILES etc. instead of their
5712 # values after options handling.
5714 This file was extended by $as_me, which was
5715 generated by GNU Autoconf 2.67. Invocation command line was
5717 CONFIG_FILES = $CONFIG_FILES
5718 CONFIG_HEADERS = $CONFIG_HEADERS
5719 CONFIG_LINKS = $CONFIG_LINKS
5720 CONFIG_COMMANDS = $CONFIG_COMMANDS
5723 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5728 case $ac_config_files in *"
5729 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5732 case $ac_config_headers in *"
5733 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5738 # Files that config.status was made for.
5739 config_files="$ac_config_files"
5740 config_headers="$ac_config_headers"
5744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5746 \`$as_me' instantiates files and other configuration actions
5747 from templates according to the current configuration. Unless the files
5748 and actions are specified as TAGs, all are instantiated by default.
5750 Usage: $0 [OPTION]... [TAG]...
5752 -h, --help print this help, then exit
5753 -V, --version print version number and configuration settings, then exit
5754 --config print configuration, then exit
5755 -q, --quiet, --silent
5756 do not print progress messages
5757 -d, --debug don't remove temporary files
5758 --recheck update $as_me by reconfiguring in the same conditions
5759 --file=FILE[:TEMPLATE]
5760 instantiate the configuration file FILE
5761 --header=FILE[:TEMPLATE]
5762 instantiate the configuration header FILE
5764 Configuration files:
5767 Configuration headers:
5770 Report bugs to the package provider."
5773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5774 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5777 configured by $0, generated by GNU Autoconf 2.67,
5778 with options \\"\$ac_cs_config\\"
5780 Copyright (C) 2010 Free Software Foundation, Inc.
5781 This config.status script is free software; the Free Software Foundation
5782 gives unlimited permission to copy, distribute and modify it."
5787 test -n "\$AWK" || AWK=awk
5790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5791 # The default lists apply if the user does not specify any file.
5797 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5798 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5802 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5814 # Handling of the options.
5815 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5817 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5818 $as_echo "$ac_cs_version"; exit ;;
5819 --config |
--confi |
--conf |
--con |
--co |
--c )
5820 $as_echo "$ac_cs_config"; exit ;;
5821 --debug |
--debu |
--deb |
--de |
--d |
-d )
5823 --file |
--fil |
--fi |
--f )
5826 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5827 '') as_fn_error $?
"missing file argument" ;;
5829 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5830 ac_need_defaults
=false
;;
5831 --header |
--heade |
--head |
--hea )
5834 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5836 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5837 ac_need_defaults
=false
;;
5839 # Conflict between --help and --header
5840 as_fn_error $?
"ambiguous option: \`$1'
5841 Try \`$0 --help' for more information.";;
5842 --help |
--hel |
-h )
5843 $as_echo "$ac_cs_usage"; exit ;;
5844 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5845 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5849 -*) as_fn_error $?
"unrecognized option: \`$1'
5850 Try \`$0 --help' for more information." ;;
5852 *) as_fn_append ac_config_targets
" $1"
5853 ac_need_defaults
=false
;;
5859 ac_configure_extra_args
=
5861 if $ac_cs_silent; then
5863 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5868 if \$ac_cs_recheck; then
5869 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5871 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5872 CONFIG_SHELL='$SHELL'
5878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5882 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5883 ## Running $as_me. ##
5889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5894 # Handling of arguments.
5895 for ac_config_target
in $ac_config_targets
5897 case $ac_config_target in
5898 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5899 "MCONFIG") CONFIG_FILES
="$CONFIG_FILES MCONFIG" ;;
5900 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5901 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
5902 "compat/include/Makefile") CONFIG_FILES
="$CONFIG_FILES compat/include/Makefile" ;;
5903 "compat/lib/Makefile") CONFIG_FILES
="$CONFIG_FILES compat/lib/Makefile" ;;
5904 "dump/Makefile") CONFIG_FILES
="$CONFIG_FILES dump/Makefile" ;;
5905 "restore/Makefile") CONFIG_FILES
="$CONFIG_FILES restore/Makefile" ;;
5906 "testing/Makefile") CONFIG_FILES
="$CONFIG_FILES testing/Makefile" ;;
5907 "$RMTMAKEFILE") CONFIG_FILES
="$CONFIG_FILES $RMTMAKEFILE" ;;
5909 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5914 # If the user did not use the arguments to specify the items to instantiate,
5915 # then the envvar interface is used. Set only those that are not.
5916 # We use the long form for the default assignment because of an extremely
5917 # bizarre bug on SunOS 4.1.3.
5918 if $ac_need_defaults; then
5919 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5920 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5923 # Have a temporary directory for convenience. Make it in the build tree
5924 # simply because there is no reason against having it here, and in addition,
5925 # creating and moving files from /tmp can sometimes cause problems.
5926 # Hook for its removal unless debugging.
5927 # Note that there is a small window in which the directory will not be cleaned:
5928 # after its creation but before its name has been assigned to `$tmp'.
5932 trap 'exit_status=$?
5933 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5935 trap 'as_fn_exit 1' 1 2 13 15
5937 # Create a (secure) tmp directory for tmp files.
5940 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5941 test -n "$tmp" && test -d "$tmp"
5944 tmp
=.
/conf$$
-$RANDOM
5945 (umask 077 && mkdir
"$tmp")
5946 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5948 # Set up the scripts for CONFIG_FILES section.
5949 # No need to generate them if there are no CONFIG_FILES.
5950 # This happens for instance with `./config.status config.h'.
5951 if test -n "$CONFIG_FILES"; then
5953 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
5955 ac_cs_awk_pipe_init
=
5956 ac_cs_awk_read_file
='
5957 while ((getline aline < (F[key])) > 0)
5960 ac_cs_awk_pipe_fini
=
5962 ac_cs_awk_getline
=false
5963 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
5964 ac_cs_awk_read_file
='
5966 print "cat " F[key] " &&"
5967 '$ac_cs_awk_pipe_init
5968 # The final `:' finishes the AND list.
5969 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
5971 ac_cr
=`echo X | tr X '\015'`
5972 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5973 # But we know of no other shell where ac_cr would be empty at this
5974 # point, so we can use a bashism as a fallback.
5975 if test "x$ac_cr" = x
; then
5976 eval ac_cr
=\$
\'\\r
\'
5978 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5979 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5985 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5988 # Create commands to substitute file output variables.
5990 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
5991 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
5992 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
5995 } >conf$
$files.sh
&&
5996 . .
/conf$
$files.sh ||
5997 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
5998 rm -f conf$
$files.sh
6001 echo "cat >conf$$subs.awk <<_ACEOF" &&
6002 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6005 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6006 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6008 for ac_last_try in false false false false false :; do
6009 . ./conf$$subs.sh ||
6010 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6012 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6013 if test $ac_delim_n = $ac_delim_num; then
6015 elif $ac_last_try; then
6016 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6018 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6024 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6028 s/^/S["/; s
/!.
*/"]=/
6038 s/\(.\{148\}\)..*/\1/
6040 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6045 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6052 s/\(.\{148\}\)..*/\1/
6054 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6058 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6063 ' <conf$$subs.awk | sed '
6068 ' >>$CONFIG_STATUS || ac_write_fail=1
6069 rm -f conf$$subs.awk
6070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6072 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6073 for (key in S) S_is_set[key] = 1
6075 \$ac_cs_awk_pipe_init
6079 nfields = split(line, field, "@
")
6081 len = length(field[1])
6082 for (i = 2; i < nfields; i++) {
6084 keylen = length(key)
6085 if (S_is_set[key]) {
6087 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6088 len += length(value) + length(field[++i])
6093 if (nfields == 3 && !substed) {
6095 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
6096 \$ac_cs_awk_read_file
6102 \$ac_cs_awk_pipe_fini
6105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6106 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6107 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6110 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6111 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6114 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6115 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6116 # trailing colons and then remove the whole line if VPATH becomes empty
6117 # (actually we leave an empty line to preserve line numbers).
6118 if test "x
$srcdir" = x.; then
6119 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6138 fi # test -n "$CONFIG_FILES"
6140 # Set up the scripts for CONFIG_HEADERS section.
6141 # No need to generate them if there are no CONFIG_HEADERS.
6142 # This happens for instance with `./config.status Makefile'.
6143 if test -n "$CONFIG_HEADERS"; then
6144 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6148 # Transform confdefs.h into an awk script `defines.awk', embedded as
6149 # here-document in config.status, that substitutes the proper values into
6150 # config.h.in to produce config.h.
6152 # Create a delimiter string that does not exist in confdefs.h, to ease
6153 # handling of long lines.
6155 for ac_last_try in false false :; do
6156 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6157 if test -z "$ac_t"; then
6159 elif $ac_last_try; then
6160 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6162 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6166 # For the awk script, D is an array of macro values keyed by name,
6167 # likewise P contains macro parameters if any. Preserve backslash
6168 # newline sequences.
6170 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6172 s/.\{148\}/&'"$ac_delim"'/g
6175 s/^[ ]*#[ ]*define[ ][ ]*/ /
6182 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6184 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6188 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6189 D["\
1"]=" \
3\\\\\\n
"\\/p
6191 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6196 s/.\{148\}/&'"$ac_delim"'/g
6201 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6204 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6206 ' <confdefs.h | sed '
6207 s/'"$ac_delim"'/"\\\
6208 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6211 for (key in D) D_is_set[key] = 1
6214 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6216 split(line, arg, " ")
6217 if (arg[1] == "#") {
6221 defundef
= substr
(arg
[1], 2)
6224 split(mac1
, mac2
, "(") #)
6226 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6227 if (D_is_set
[macro
]) {
6228 # Preserve the white space surrounding the "#".
6229 print prefix
"define", macro P
[macro
] D
[macro
]
6232 # Replace #undef with comments. This is necessary, for example,
6233 # in the case of _POSIX_SOURCE, which is predefined and required
6234 # on some systems where configure will not decide to define it.
6235 if (defundef
== "undef") {
6236 print
"/*", prefix defundef
, macro
, "*/"
6244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6245 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6246 fi # test -n "$CONFIG_HEADERS"
6249 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
6254 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6256 case $ac_mode$ac_tag in
6258 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6259 :[FH
]-) ac_tag
=-:-;;
6260 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6277 -) ac_f
="$tmp/stdin";;
6278 *) # Look for the file first in the build tree, then in the source tree
6279 # (if the path is not absolute). The absolute path cannot be DOS-style,
6280 # because $ac_f cannot contain `:'.
6284 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6286 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6288 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6289 as_fn_append ac_file_inputs
" '$ac_f'"
6292 # Let's still pretend it is `configure' which instantiates (i.e., don't
6293 # use $as_me), people would be surprised to read:
6294 # /* config.h. Generated by config.status. */
6295 configure_input
='Generated from '`
6296 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6298 if test x
"$ac_file" != x-
; then
6299 configure_input
="$ac_file. $configure_input"
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6301 $as_echo "$as_me: creating $ac_file" >&6;}
6303 # Neutralize special characters interpreted by sed in replacement strings.
6304 case $configure_input in #(
6305 *\
&* |
*\|
* |
*\\* )
6306 ac_sed_conf_input
=`$as_echo "$configure_input" |
6307 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6308 *) ac_sed_conf_input
=$configure_input;;
6312 *:-:* |
*:-) cat >"$tmp/stdin" \
6313 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6318 ac_dir
=`$as_dirname -- "$ac_file" ||
6319 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6320 X"$ac_file" : 'X\(//\)[^/]' \| \
6321 X"$ac_file" : 'X\(//\)$' \| \
6322 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6323 $as_echo X"$ac_file" |
6324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6341 as_dir
="$ac_dir"; as_fn_mkdir_p
6345 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6347 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6348 # A ".." for each directory in $ac_dir_suffix.
6349 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6350 case $ac_top_builddir_sub in
6351 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6352 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6355 ac_abs_top_builddir
=$ac_pwd
6356 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6357 # for backward compatibility:
6358 ac_top_builddir
=$ac_top_build_prefix
6361 .
) # We are building in place.
6363 ac_top_srcdir
=$ac_top_builddir_sub
6364 ac_abs_top_srcdir
=$ac_pwd ;;
6365 [\\/]* | ?
:[\\/]* ) # Absolute name.
6366 ac_srcdir
=$srcdir$ac_dir_suffix;
6367 ac_top_srcdir
=$srcdir
6368 ac_abs_top_srcdir
=$srcdir ;;
6370 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6371 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6372 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6374 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6384 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6385 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6390 # If the template does not know about datarootdir, expand it.
6391 # FIXME: This hack should be removed a few years after 2.60.
6392 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6403 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6404 *datarootdir
*) ac_datarootdir_seen
=yes;;
6405 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6407 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6410 ac_datarootdir_hack='
6411 s&@datadir@&$datadir&g
6412 s&@docdir@&$docdir&g
6413 s&@infodir@&$infodir&g
6414 s&@localedir@&$localedir&g
6415 s&@mandir@&$mandir&g
6416 s&\\\${datarootdir}&$datarootdir&g' ;;
6420 # Neutralize VPATH when `$srcdir' = `.'.
6421 # Shell code in configure.ac might set extrasub.
6422 # FIXME: do we really want to maintain this feature?
6423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6424 ac_sed_extra="$ac_vpsub
6427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6429 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6430 s|@configure_input@|
$ac_sed_conf_input|
;t t
6431 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6432 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6433 s
&@srcdir@
&$ac_srcdir&;t t
6434 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6435 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6436 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6437 s
&@builddir@
&$ac_builddir&;t t
6438 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6439 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6440 s
&@INSTALL@
&$ac_INSTALL&;t t
6441 $ac_datarootdir_hack
6443 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
6444 if $ac_cs_awk_getline; then
6445 $AWK -f "$tmp/subs.
awk"
6447 $AWK -f "$tmp/subs.
awk" | $SHELL
6449 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6451 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6452 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6453 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6455 which seems to be undefined. Please make sure it is defined" >&5
6456 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6457 which seems to be undefined. Please make sure it is defined" >&2;}
6461 -) cat "$tmp/out" && rm -f "$tmp/out";;
6462 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6464 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6470 if test x"$ac_file" != x-; then
6472 $as_echo "/* $configure_input */" \
6473 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6474 } >"$tmp/config.h" \
6475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6476 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6478 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6481 mv "$tmp/config.h" "$ac_file" \
6482 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6485 $as_echo "/* $configure_input */" \
6486 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6487 || as_fn_error $? "could not create -" "$LINENO" 5
6499 ac_clean_files=$ac_clean_files_save
6501 test $ac_write_fail = 0 ||
6502 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6505 # configure is writing to config.log, and then calls config.status.
6506 # config.status does its own redirection, appending to config.log.
6507 # Unfortunately, on DOS this fails, as config.log is still kept open
6508 # by configure, so config.status won't be able to
write to it
; its
6509 # output is simply discarded. So we exec the FD to /dev/null,
6510 # effectively closing config.log, so it can be properly (re)opened and
6511 # appended to by config.status. When coming back to configure, we
6512 # need to make the FD available again.
6513 if test "$no_create" != yes; then
6515 ac_config_status_args
=
6516 test "$silent" = yes &&
6517 ac_config_status_args
="$ac_config_status_args --quiet"
6519 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6521 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6522 # would make configure fail if this is the last instruction.
6523 $ac_cs_success || as_fn_exit
1
6525 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6527 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}