2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for backupninja 0.9.9.
5
# Report bugs to <backupninja@lists.riseup.net>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176
if (eval "$as_required") 2>/dev/null; then :
181
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189
test -z "$as_dir" && as_dir=.
193
for as_base in sh bash ksh sh5; do
194
# Try only shells that exist, to save several forks.
195
as_shell=$as_dir/$as_base
196
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
CONFIG_SHELL=$as_shell as_have_required=yes
199
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209
CONFIG_SHELL=$SHELL as_have_required=yes
214
if test "x$CONFIG_SHELL" != x; then :
215
# We cannot yet assume a decent shell, so we have to provide a
216
# neutralization value for shells without unset; and this also
217
# works around shells that cannot unset nonexistent variables.
220
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225
if test x$as_have_required = xno; then :
226
$as_echo "$0: This script requires a shell more modern than all"
227
$as_echo "$0: the shells that I found on your system."
228
if test x${ZSH_VERSION+set} = xset ; then
229
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
232
$as_echo "$0: Please tell bug-autoconf@gnu.org and
233
$0: backupninja@lists.riseup.net about your system,
234
$0: including any error possibly output before this
235
$0: message. Then install a modern shell, or manually run
236
$0: the script under such a shell if you do have one."
242
SHELL=${CONFIG_SHELL-/bin/sh}
244
# Unset more variables known to interfere with behavior of common tools.
245
CLICOLOR_FORCE= GREP_OPTIONS=
246
unset CLICOLOR_FORCE GREP_OPTIONS
248
## --------------------- ##
249
## M4sh Shell Functions. ##
250
## --------------------- ##
253
# Portably unset VAR.
256
{ eval $1=; unset $1;}
260
# as_fn_set_status STATUS
261
# -----------------------
262
# Set $? to STATUS, without forking.
270
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280
# Create "$as_dir" as a directory, including parents if necessary.
285
-*) as_dir=./$as_dir;;
287
test -d "$as_dir" || eval $as_mkdir_p || {
291
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294
as_dirs="'$as_qdir' $as_dirs"
295
as_dir=`$as_dirname -- "$as_dir" ||
296
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297
X"$as_dir" : 'X\(//\)[^/]' \| \
298
X"$as_dir" : 'X\(//\)$' \| \
299
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300
$as_echo X"$as_dir" |
301
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318
test -d "$as_dir" && break
320
test -z "$as_dirs" || eval "mkdir $as_dirs"
321
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
325
# as_fn_append VAR VALUE
326
# ----------------------
327
# Append the text in VALUE to the end of the definition contained in VAR. Take
328
# advantage of any shell optimizations that allow amortized linear growth over
329
# repeated appends, instead of the typical quadratic growth present in naive
331
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332
eval 'as_fn_append ()
345
# Perform arithmetic evaluation on the ARGs, and store the result in the
346
# global $as_val. Take advantage of shells that can avoid forks. The arguments
347
# must be portable across $(()) and expr.
348
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356
as_val=`expr "$@" || test $? -eq 1`
361
# as_fn_error STATUS ERROR [LINENO LOG_FD]
362
# ----------------------------------------
363
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365
# script with STATUS, using 1 if that was 0.
368
as_status=$1; test $as_status -eq 0 && as_status=1
370
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373
$as_echo "$as_me: error: $2" >&2
374
as_fn_exit $as_status
377
if expr a : '\(a\)' >/dev/null 2>&1 &&
378
test "X`expr 00001 : '.*\(...\)'`" = X001; then
384
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396
as_me=`$as_basename -- "$0" ||
397
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398
X"$0" : 'X\(//\)$' \| \
399
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401
sed '/^.*\/\([^/][^/]*\)\/*$/{
415
# Avoid depending upon Character Ranges.
416
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419
as_cr_digits='0123456789'
420
as_cr_alnum=$as_cr_Letters$as_cr_digits
423
as_lineno_1=$LINENO as_lineno_1a=$LINENO
424
as_lineno_2=$LINENO as_lineno_2a=$LINENO
425
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443
chmod +x "$as_me.lineno" ||
444
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
# Don't try to exec as it changes $[0], causing all sort of problems
447
# (the dirname of $[0] is not the place where we might find the
448
# original and so on. Autoconf is especially sensitive to this).
450
# Exit status is that of the last command.
454
ECHO_C= ECHO_N= ECHO_T=
455
case `echo -n x` in #(((((
457
case `echo 'xy\c'` in
458
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
460
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467
rm -f conf$$ conf$$.exe conf$$.file
468
if test -d conf$$.dir; then
469
rm -f conf$$.dir/conf$$.file
472
mkdir conf$$.dir 2>/dev/null
474
if (echo >conf$$.file) 2>/dev/null; then
475
if ln -s conf$$.file conf$$ 2>/dev/null; then
477
# ... but there are two gotchas:
478
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480
# In both cases, we have to default to `cp -p'.
481
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483
elif ln conf$$.file conf$$ 2>/dev/null; then
491
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492
rmdir conf$$.dir 2>/dev/null
494
if mkdir -p . 2>/dev/null; then
495
as_mkdir_p='mkdir -p "$as_dir"'
497
test -d ./-p && rmdir ./-p
501
if test -x / >/dev/null 2>&1; then
504
if ls -dL / >/dev/null 2>&1; then
511
if test -d "$1"; then
517
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518
???[sx]*):;;*)false;;esac;fi
522
as_executable_p=$as_test_x
524
# Sed expression to map a string onto a valid CPP name.
525
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
# Sed expression to map a string onto a valid variable name.
528
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
test -n "$DJDIR" || exec 7<&0 </dev/null
535
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536
# so uname gets run too.
537
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
542
ac_default_prefix=/usr/local
544
ac_config_libobj_dir=.
551
# Identity of this package.
552
PACKAGE_NAME='backupninja'
553
PACKAGE_TARNAME='backupninja'
554
PACKAGE_VERSION='0.9.9'
555
PACKAGE_STRING='backupninja 0.9.9'
556
PACKAGE_BUGREPORT='backupninja@lists.riseup.net'
559
ac_unique_file="src/backupninja.in"
560
ac_subst_vars='LTLIBOBJS
578
INSTALL_STRIP_PROGRAM
620
program_transform_name
633
enable_option_checking
635
ac_precious_vars='build_alias
640
# Initialize some variables set by options.
642
ac_init_version=false
643
ac_unrecognized_opts=
645
# The variables have the same names as the options, with
646
# dashes changed to underlines.
654
program_transform_name=s,x,x,
662
# Installation directory options.
663
# These are left unexpanded so users can "make install exec_prefix=/foo"
664
# and all the variables that are supposed to be based on exec_prefix
665
# by default will actually change.
666
# Use braces instead of parens because sh, perl, etc. also accept them.
667
# (The list follows the same order as the GNU Coding Standards.)
668
bindir='${exec_prefix}/bin'
669
sbindir='${exec_prefix}/sbin'
670
libexecdir='${exec_prefix}/libexec'
671
datarootdir='${prefix}/share'
672
datadir='${datarootdir}'
673
sysconfdir='${prefix}/etc'
674
sharedstatedir='${prefix}/com'
675
localstatedir='${prefix}/var'
676
includedir='${prefix}/include'
677
oldincludedir='/usr/include'
678
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
679
infodir='${datarootdir}/info'
684
libdir='${exec_prefix}/lib'
685
localedir='${datarootdir}/locale'
686
mandir='${datarootdir}/man'
692
# If the previous option needs an argument, assign it.
693
if test -n "$ac_prev"; then
694
eval $ac_prev=\$ac_option
700
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
705
# Accept the important Cygnus configure options, so we can diagnose typos.
707
case $ac_dashdash$ac_option in
711
-bindir | --bindir | --bindi | --bind | --bin | --bi)
713
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
716
-build | --build | --buil | --bui | --bu)
717
ac_prev=build_alias ;;
718
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
719
build_alias=$ac_optarg ;;
721
-cache-file | --cache-file | --cache-fil | --cache-fi \
722
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723
ac_prev=cache_file ;;
724
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726
cache_file=$ac_optarg ;;
729
cache_file=config.cache ;;
731
-datadir | --datadir | --datadi | --datad)
733
-datadir=* | --datadir=* | --datadi=* | --datad=*)
734
datadir=$ac_optarg ;;
736
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737
| --dataroo | --dataro | --datar)
738
ac_prev=datarootdir ;;
739
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741
datarootdir=$ac_optarg ;;
743
-disable-* | --disable-*)
744
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745
# Reject names that are not valid shell variable names.
746
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
747
as_fn_error $? "invalid feature name: $ac_useropt"
748
ac_useropt_orig=$ac_useropt
749
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
750
case $ac_user_opts in
754
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
755
ac_unrecognized_sep=', ';;
757
eval enable_$ac_useropt=no ;;
759
-docdir | --docdir | --docdi | --doc | --do)
761
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
764
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
766
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
769
-enable-* | --enable-*)
770
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
771
# Reject names that are not valid shell variable names.
772
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
773
as_fn_error $? "invalid feature name: $ac_useropt"
774
ac_useropt_orig=$ac_useropt
775
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
776
case $ac_user_opts in
780
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
781
ac_unrecognized_sep=', ';;
783
eval enable_$ac_useropt=\$ac_optarg ;;
785
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
786
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
787
| --exec | --exe | --ex)
788
ac_prev=exec_prefix ;;
789
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
790
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
791
| --exec=* | --exe=* | --ex=*)
792
exec_prefix=$ac_optarg ;;
794
-gas | --gas | --ga | --g)
795
# Obsolete; use --with-gas.
798
-help | --help | --hel | --he | -h)
800
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
801
ac_init_help=recursive ;;
802
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
803
ac_init_help=short ;;
805
-host | --host | --hos | --ho)
806
ac_prev=host_alias ;;
807
-host=* | --host=* | --hos=* | --ho=*)
808
host_alias=$ac_optarg ;;
810
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
812
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
814
htmldir=$ac_optarg ;;
816
-includedir | --includedir | --includedi | --included | --include \
817
| --includ | --inclu | --incl | --inc)
818
ac_prev=includedir ;;
819
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
820
| --includ=* | --inclu=* | --incl=* | --inc=*)
821
includedir=$ac_optarg ;;
823
-infodir | --infodir | --infodi | --infod | --info | --inf)
825
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
826
infodir=$ac_optarg ;;
828
-libdir | --libdir | --libdi | --libd)
830
-libdir=* | --libdir=* | --libdi=* | --libd=*)
833
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
834
| --libexe | --libex | --libe)
835
ac_prev=libexecdir ;;
836
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
837
| --libexe=* | --libex=* | --libe=*)
838
libexecdir=$ac_optarg ;;
840
-localedir | --localedir | --localedi | --localed | --locale)
842
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
843
localedir=$ac_optarg ;;
845
-localstatedir | --localstatedir | --localstatedi | --localstated \
846
| --localstate | --localstat | --localsta | --localst | --locals)
847
ac_prev=localstatedir ;;
848
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
849
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
850
localstatedir=$ac_optarg ;;
852
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
854
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
858
# Obsolete; use --without-fp.
861
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
862
| --no-cr | --no-c | -n)
865
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
866
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
869
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
870
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
871
| --oldin | --oldi | --old | --ol | --o)
872
ac_prev=oldincludedir ;;
873
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
874
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
875
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
876
oldincludedir=$ac_optarg ;;
878
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
880
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
883
-program-prefix | --program-prefix | --program-prefi | --program-pref \
884
| --program-pre | --program-pr | --program-p)
885
ac_prev=program_prefix ;;
886
-program-prefix=* | --program-prefix=* | --program-prefi=* \
887
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
888
program_prefix=$ac_optarg ;;
890
-program-suffix | --program-suffix | --program-suffi | --program-suff \
891
| --program-suf | --program-su | --program-s)
892
ac_prev=program_suffix ;;
893
-program-suffix=* | --program-suffix=* | --program-suffi=* \
894
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
895
program_suffix=$ac_optarg ;;
897
-program-transform-name | --program-transform-name \
898
| --program-transform-nam | --program-transform-na \
899
| --program-transform-n | --program-transform- \
900
| --program-transform | --program-transfor \
901
| --program-transfo | --program-transf \
902
| --program-trans | --program-tran \
903
| --progr-tra | --program-tr | --program-t)
904
ac_prev=program_transform_name ;;
905
-program-transform-name=* | --program-transform-name=* \
906
| --program-transform-nam=* | --program-transform-na=* \
907
| --program-transform-n=* | --program-transform-=* \
908
| --program-transform=* | --program-transfor=* \
909
| --program-transfo=* | --program-transf=* \
910
| --program-trans=* | --program-tran=* \
911
| --progr-tra=* | --program-tr=* | --program-t=*)
912
program_transform_name=$ac_optarg ;;
914
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
916
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
919
-psdir | --psdir | --psdi | --psd | --ps)
921
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
924
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
925
| -silent | --silent | --silen | --sile | --sil)
928
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
930
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
932
sbindir=$ac_optarg ;;
934
-sharedstatedir | --sharedstatedir | --sharedstatedi \
935
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
936
| --sharedst | --shareds | --shared | --share | --shar \
938
ac_prev=sharedstatedir ;;
939
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
940
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
941
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
943
sharedstatedir=$ac_optarg ;;
945
-site | --site | --sit)
947
-site=* | --site=* | --sit=*)
950
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
952
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
955
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
956
| --syscon | --sysco | --sysc | --sys | --sy)
957
ac_prev=sysconfdir ;;
958
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
959
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
960
sysconfdir=$ac_optarg ;;
962
-target | --target | --targe | --targ | --tar | --ta | --t)
963
ac_prev=target_alias ;;
964
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
965
target_alias=$ac_optarg ;;
967
-v | -verbose | --verbose | --verbos | --verbo | --verb)
970
-version | --version | --versio | --versi | --vers | -V)
974
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
975
# Reject names that are not valid shell variable names.
976
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977
as_fn_error $? "invalid package name: $ac_useropt"
978
ac_useropt_orig=$ac_useropt
979
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980
case $ac_user_opts in
984
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
985
ac_unrecognized_sep=', ';;
987
eval with_$ac_useropt=\$ac_optarg ;;
989
-without-* | --without-*)
990
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991
# Reject names that are not valid shell variable names.
992
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993
as_fn_error $? "invalid package name: $ac_useropt"
994
ac_useropt_orig=$ac_useropt
995
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996
case $ac_user_opts in
1000
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1001
ac_unrecognized_sep=', ';;
1003
eval with_$ac_useropt=no ;;
1006
# Obsolete; use --with-x.
1009
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010
| --x-incl | --x-inc | --x-in | --x-i)
1011
ac_prev=x_includes ;;
1012
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014
x_includes=$ac_optarg ;;
1016
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1017
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018
ac_prev=x_libraries ;;
1019
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021
x_libraries=$ac_optarg ;;
1023
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1024
Try \`$0 --help' for more information"
1028
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1029
# Reject names that are not valid shell variable names.
1030
case $ac_envvar in #(
1031
'' | [0-9]* | *[!_$as_cr_alnum]* )
1032
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1034
eval $ac_envvar=\$ac_optarg
1035
export $ac_envvar ;;
1038
# FIXME: should be removed in autoconf 3.0.
1039
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1048
if test -n "$ac_prev"; then
1049
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050
as_fn_error $? "missing argument to $ac_option"
1053
if test -n "$ac_unrecognized_opts"; then
1054
case $enable_option_checking in
1056
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1057
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1061
# Check all directory arguments for consistency.
1062
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1063
datadir sysconfdir sharedstatedir localstatedir includedir \
1064
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1065
libdir localedir mandir
1067
eval ac_val=\$$ac_var
1068
# Remove trailing slashes.
1071
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1072
eval $ac_var=\$ac_val;;
1074
# Be sure to have absolute directory names.
1076
[\\/$]* | ?:[\\/]* ) continue;;
1077
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1079
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1082
# There might be people who depend on the old broken behavior: `$host'
1083
# used to hold the argument of --host etc.
1084
# FIXME: To remove some day.
1087
target=$target_alias
1089
# FIXME: To remove some day.
1090
if test "x$host_alias" != x; then
1091
if test "x$build_alias" = x; then
1092
cross_compiling=maybe
1093
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1094
If a cross compiler is detected then cross compile mode will be used" >&2
1095
elif test "x$build_alias" != "x$host_alias"; then
1101
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1103
test "$silent" = yes && exec 6>/dev/null
1106
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1107
ac_ls_di=`ls -di .` &&
1108
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1109
as_fn_error $? "working directory cannot be determined"
1110
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1111
as_fn_error $? "pwd does not report name of working directory"
1114
# Find the source files, if location was not specified.
1115
if test -z "$srcdir"; then
1116
ac_srcdir_defaulted=yes
1117
# Try the directory containing this script, then the parent directory.
1118
ac_confdir=`$as_dirname -- "$as_myself" ||
1119
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1120
X"$as_myself" : 'X\(//\)[^/]' \| \
1121
X"$as_myself" : 'X\(//\)$' \| \
1122
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1123
$as_echo X"$as_myself" |
1124
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1142
if test ! -r "$srcdir/$ac_unique_file"; then
1146
ac_srcdir_defaulted=no
1148
if test ! -r "$srcdir/$ac_unique_file"; then
1149
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1150
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1152
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1154
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1156
# When building in place, set srcdir=.
1157
if test "$ac_abs_confdir" = "$ac_pwd"; then
1160
# Remove unnecessary trailing slashes from srcdir.
1161
# Double slashes in file names in object file debugging info
1162
# mess up M-x gdb in Emacs.
1164
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1166
for ac_var in $ac_precious_vars; do
1167
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1168
eval ac_env_${ac_var}_value=\$${ac_var}
1169
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1170
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1174
# Report the --help message.
1176
if test "$ac_init_help" = "long"; then
1177
# Omit some internal or obsolete options to make the list less imposing.
1178
# This message is too long to be a string in the A/UX 3.1 sh.
1180
\`configure' configures backupninja 0.9.9 to adapt to many kinds of systems.
1182
Usage: $0 [OPTION]... [VAR=VALUE]...
1184
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1185
VAR=VALUE. See below for descriptions of some of the useful variables.
1187
Defaults for the options are specified in brackets.
1190
-h, --help display this help and exit
1191
--help=short display options specific to this package
1192
--help=recursive display the short help of all the included packages
1193
-V, --version display version information and exit
1194
-q, --quiet, --silent do not print \`checking ...' messages
1195
--cache-file=FILE cache test results in FILE [disabled]
1196
-C, --config-cache alias for \`--cache-file=config.cache'
1197
-n, --no-create do not create output files
1198
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1200
Installation directories:
1201
--prefix=PREFIX install architecture-independent files in PREFIX
1202
[$ac_default_prefix]
1203
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1206
By default, \`make install' will install all the files in
1207
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1208
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1209
for instance \`--prefix=\$HOME'.
1211
For better control, use the options below.
1213
Fine tuning of the installation directories:
1214
--bindir=DIR user executables [EPREFIX/bin]
1215
--sbindir=DIR system admin executables [EPREFIX/sbin]
1216
--libexecdir=DIR program executables [EPREFIX/libexec]
1217
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1218
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1219
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1220
--libdir=DIR object code libraries [EPREFIX/lib]
1221
--includedir=DIR C header files [PREFIX/include]
1222
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1223
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1224
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1225
--infodir=DIR info documentation [DATAROOTDIR/info]
1226
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1227
--mandir=DIR man documentation [DATAROOTDIR/man]
1228
--docdir=DIR documentation root [DATAROOTDIR/doc/backupninja]
1229
--htmldir=DIR html documentation [DOCDIR]
1230
--dvidir=DIR dvi documentation [DOCDIR]
1231
--pdfdir=DIR pdf documentation [DOCDIR]
1232
--psdir=DIR ps documentation [DOCDIR]
1238
--program-prefix=PREFIX prepend PREFIX to installed program names
1239
--program-suffix=SUFFIX append SUFFIX to installed program names
1240
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1244
if test -n "$ac_init_help"; then
1245
case $ac_init_help in
1246
short | recursive ) echo "Configuration of backupninja 0.9.9:";;
1250
Report bugs to <backupninja@lists.riseup.net>.
1255
if test "$ac_init_help" = "recursive"; then
1256
# If there are subdirs, report their specific --help.
1257
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1258
test -d "$ac_dir" ||
1259
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1264
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1267
# A ".." for each directory in $ac_dir_suffix.
1268
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1269
case $ac_top_builddir_sub in
1270
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1271
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1274
ac_abs_top_builddir=$ac_pwd
1275
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1276
# for backward compatibility:
1277
ac_top_builddir=$ac_top_build_prefix
1280
.) # We are building in place.
1282
ac_top_srcdir=$ac_top_builddir_sub
1283
ac_abs_top_srcdir=$ac_pwd ;;
1284
[\\/]* | ?:[\\/]* ) # Absolute name.
1285
ac_srcdir=$srcdir$ac_dir_suffix;
1286
ac_top_srcdir=$srcdir
1287
ac_abs_top_srcdir=$srcdir ;;
1289
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1290
ac_top_srcdir=$ac_top_build_prefix$srcdir
1291
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1293
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1295
cd "$ac_dir" || { ac_status=$?; continue; }
1296
# Check for guested configure.
1297
if test -f "$ac_srcdir/configure.gnu"; then
1299
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1300
elif test -f "$ac_srcdir/configure"; then
1302
$SHELL "$ac_srcdir/configure" --help=recursive
1304
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1306
cd "$ac_pwd" || { ac_status=$?; break; }
1310
test -n "$ac_init_help" && exit $ac_status
1311
if $ac_init_version; then
1313
backupninja configure 0.9.9
1314
generated by GNU Autoconf 2.67
1316
Copyright (C) 2010 Free Software Foundation, Inc.
1317
This configure script is free software; the Free Software Foundation
1318
gives unlimited permission to copy, distribute and modify it.
1323
## ------------------------ ##
1324
## Autoconf initialization. ##
1325
## ------------------------ ##
1326
cat >config.log <<_ACEOF
1327
This file contains any messages produced by compilers while
1328
running configure, to aid debugging if configure makes a mistake.
1330
It was created by backupninja $as_me 0.9.9, which was
1331
generated by GNU Autoconf 2.67. Invocation command line was
1343
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1344
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1345
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1346
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1347
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1349
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1350
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1352
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1353
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1354
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1355
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1356
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1357
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1358
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1362
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366
test -z "$as_dir" && as_dir=.
1367
$as_echo "PATH: $as_dir"
1383
# Keep a trace of the command line.
1384
# Strip out --no-create and --no-recursion so they do not pile up.
1385
# Strip out --silent because we don't want to record it for future runs.
1386
# Also quote any args containing shell meta-characters.
1387
# Make two passes to allow for proper duplicate-argument suppression.
1391
ac_must_keep_next=false
1397
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1398
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1399
| -silent | --silent | --silen | --sile | --sil)
1402
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1405
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1407
as_fn_append ac_configure_args1 " '$ac_arg'"
1408
if test $ac_must_keep_next = true; then
1409
ac_must_keep_next=false # Got value, back to normal.
1412
*=* | --config-cache | -C | -disable-* | --disable-* \
1413
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1414
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1415
| -with-* | --with-* | -without-* | --without-* | --x)
1416
case "$ac_configure_args0 " in
1417
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1420
-* ) ac_must_keep_next=true ;;
1423
as_fn_append ac_configure_args " '$ac_arg'"
1428
{ ac_configure_args0=; unset ac_configure_args0;}
1429
{ ac_configure_args1=; unset ac_configure_args1;}
1431
# When interrupted or exit'd, cleanup temporary files, and complete
1432
# config.log. We remove comments because anyway the quotes in there
1433
# would cause problems or look ugly.
1434
# WARNING: Use '\'' to represent an apostrophe within the trap.
1435
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1436
trap 'exit_status=$?
1437
# Save into config.log some information that might help in debugging.
1441
$as_echo "## ---------------- ##
1442
## Cache variables. ##
1443
## ---------------- ##"
1445
# The following way of writing the cache mishandles newlines in values,
1447
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1448
eval ac_val=\$$ac_var
1452
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1453
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1456
_ | IFS | as_nl) ;; #(
1457
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1458
*) { eval $ac_var=; unset $ac_var;} ;;
1463
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1464
*${as_nl}ac_space=\ *)
1466
"s/'\''/'\''\\\\'\'''\''/g;
1467
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1470
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1477
$as_echo "## ----------------- ##
1478
## Output variables. ##
1479
## ----------------- ##"
1481
for ac_var in $ac_subst_vars
1483
eval ac_val=\$$ac_var
1485
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1487
$as_echo "$ac_var='\''$ac_val'\''"
1491
if test -n "$ac_subst_files"; then
1492
$as_echo "## ------------------- ##
1493
## File substitutions. ##
1494
## ------------------- ##"
1496
for ac_var in $ac_subst_files
1498
eval ac_val=\$$ac_var
1500
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1502
$as_echo "$ac_var='\''$ac_val'\''"
1507
if test -s confdefs.h; then
1508
$as_echo "## ----------- ##
1515
test "$ac_signal" != 0 &&
1516
$as_echo "$as_me: caught signal $ac_signal"
1517
$as_echo "$as_me: exit $exit_status"
1519
rm -f core *.core core.conftest.* &&
1520
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1523
for ac_signal in 1 2 13 15; do
1524
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1528
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1529
rm -f -r conftest* confdefs.h
1531
$as_echo "/* confdefs.h */" > confdefs.h
1533
# Predefined preprocessor variables.
1535
cat >>confdefs.h <<_ACEOF
1536
#define PACKAGE_NAME "$PACKAGE_NAME"
1539
cat >>confdefs.h <<_ACEOF
1540
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1543
cat >>confdefs.h <<_ACEOF
1544
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1547
cat >>confdefs.h <<_ACEOF
1548
#define PACKAGE_STRING "$PACKAGE_STRING"
1551
cat >>confdefs.h <<_ACEOF
1552
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1555
cat >>confdefs.h <<_ACEOF
1556
#define PACKAGE_URL "$PACKAGE_URL"
1560
# Let the site file select an alternate cache file if it wants to.
1561
# Prefer an explicitly selected file to automatically selected ones.
1564
if test -n "$CONFIG_SITE"; then
1565
# We do not want a PATH search for config.site.
1566
case $CONFIG_SITE in #((
1567
-*) ac_site_file1=./$CONFIG_SITE;;
1568
*/*) ac_site_file1=$CONFIG_SITE;;
1569
*) ac_site_file1=./$CONFIG_SITE;;
1571
elif test "x$prefix" != xNONE; then
1572
ac_site_file1=$prefix/share/config.site
1573
ac_site_file2=$prefix/etc/config.site
1575
ac_site_file1=$ac_default_prefix/share/config.site
1576
ac_site_file2=$ac_default_prefix/etc/config.site
1578
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1580
test "x$ac_site_file" = xNONE && continue
1581
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1582
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1583
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1584
sed 's/^/| /' "$ac_site_file" >&5
1586
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1587
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1588
as_fn_error $? "failed to load site script $ac_site_file
1589
See \`config.log' for more details" "$LINENO" 5 ; }
1593
if test -r "$cache_file"; then
1594
# Some versions of bash will fail to source /dev/null (special files
1595
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
1596
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1597
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1598
$as_echo "$as_me: loading cache $cache_file" >&6;}
1600
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1601
*) . "./$cache_file";;
1605
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1606
$as_echo "$as_me: creating cache $cache_file" >&6;}
1610
# Check that the precious variables saved in the cache have kept the same
1612
ac_cache_corrupted=false
1613
for ac_var in $ac_precious_vars; do
1614
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1615
eval ac_new_set=\$ac_env_${ac_var}_set
1616
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1617
eval ac_new_val=\$ac_env_${ac_var}_value
1618
case $ac_old_set,$ac_new_set in
1620
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1621
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1622
ac_cache_corrupted=: ;;
1624
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1625
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1626
ac_cache_corrupted=: ;;
1629
if test "x$ac_old_val" != "x$ac_new_val"; then
1630
# differences in whitespace do not lead to failure.
1631
ac_old_val_w=`echo x $ac_old_val`
1632
ac_new_val_w=`echo x $ac_new_val`
1633
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1635
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1636
ac_cache_corrupted=:
1638
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1639
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1640
eval $ac_var=\$ac_old_val
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1643
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1644
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1645
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1648
# Pass precious variables to config.status.
1649
if test "$ac_new_set" = set; then
1651
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1652
*) ac_arg=$ac_var=$ac_new_val ;;
1654
case " $ac_configure_args " in
1655
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1656
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
1660
if $ac_cache_corrupted; then
1661
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1662
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1663
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1664
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1665
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1667
## -------------------- ##
1668
## Main body of script. ##
1669
## -------------------- ##
1672
ac_cpp='$CPP $CPPFLAGS'
1673
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1674
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1675
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679
am__api_version='1.11'
1682
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1683
if test -f "$ac_dir/install-sh"; then
1685
ac_install_sh="$ac_aux_dir/install-sh -c"
1687
elif test -f "$ac_dir/install.sh"; then
1689
ac_install_sh="$ac_aux_dir/install.sh -c"
1691
elif test -f "$ac_dir/shtool"; then
1693
ac_install_sh="$ac_aux_dir/shtool install -c"
1697
if test -z "$ac_aux_dir"; then
1698
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1701
# These three variables are undocumented and unsupported,
1702
# and are intended to be withdrawn in a future Autoconf release.
1703
# They can cause serious problems if a builder's source tree is in a directory
1704
# whose full name contains unusual characters.
1705
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1706
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1707
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1710
# Find a good install program. We prefer a C program (faster),
1711
# so one script is as good as another. But avoid the broken or
1712
# incompatible versions:
1713
# SysV /etc/install, /usr/sbin/install
1714
# SunOS /usr/etc/install
1715
# IRIX /sbin/install
1717
# AmigaOS /C/install, which installs bootblocks on floppy discs
1718
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1719
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1720
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1721
# OS/2's system install, which has a completely different semantic
1722
# ./install, which can be erroneously created by make from ./install.sh.
1723
# Reject install programs that cannot install multiple files.
1724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1725
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1726
if test -z "$INSTALL"; then
1727
if test "${ac_cv_path_install+set}" = set; then :
1728
$as_echo_n "(cached) " >&6
1730
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1734
test -z "$as_dir" && as_dir=.
1735
# Account for people who put trailing slashes in PATH elements.
1736
case $as_dir/ in #((
1737
./ | .// | /[cC]/* | \
1738
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1739
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1742
# OSF1 and SCO ODT 3.0 have their own names for install.
1743
# Don't use installbsd from OSF since it installs stuff as root
1745
for ac_prog in ginstall scoinst install; do
1746
for ac_exec_ext in '' $ac_executable_extensions; do
1747
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1748
if test $ac_prog = install &&
1749
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1750
# AIX install. It has an incompatible calling convention.
1752
elif test $ac_prog = install &&
1753
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1754
# program-specific install script used by HP pwplus--don't use.
1757
rm -rf conftest.one conftest.two conftest.dir
1758
echo one > conftest.one
1759
echo two > conftest.two
1761
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1762
test -s conftest.one && test -s conftest.two &&
1763
test -s conftest.dir/conftest.one &&
1764
test -s conftest.dir/conftest.two
1766
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1779
rm -rf conftest.one conftest.two conftest.dir
1782
if test "${ac_cv_path_install+set}" = set; then
1783
INSTALL=$ac_cv_path_install
1785
# As a last resort, use the slow shell script. Don't cache a
1786
# value for INSTALL within a source directory, because that will
1787
# break other packages using the cache if that directory is
1788
# removed, or if the value is a relative name.
1789
INSTALL=$ac_install_sh
1792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1793
$as_echo "$INSTALL" >&6; }
1795
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1796
# It thinks the first close brace ends the variable substitution.
1797
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1799
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1801
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1804
$as_echo_n "checking whether build environment is sane... " >&6; }
1807
echo timestamp > conftest.file
1808
# Reject unsafe characters in $srcdir or the absolute working directory
1809
# name. Accept space and tab only in the latter.
1813
*[\\\"\#\$\&\'\`$am_lf]*)
1814
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
1817
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1818
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
1821
# Do `set' in a subshell so we don't clobber the current shell's
1822
# arguments. Must try -L first in case configure is actually a
1823
# symlink; some systems play weird games with the mod time of symlinks
1824
# (eg FreeBSD returns the mod time of the symlink's containing
1827
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1828
if test "$*" = "X"; then
1830
set X `ls -t "$srcdir/configure" conftest.file`
1833
if test "$*" != "X $srcdir/configure conftest.file" \
1834
&& test "$*" != "X conftest.file $srcdir/configure"; then
1836
# If neither matched, then we have a broken ls. This can happen
1837
# if, for instance, CONFIG_SHELL is bash and it inherits a
1838
# broken ls alias from the environment. This has actually
1839
# happened. Such a system could not be considered "sane".
1840
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1841
alias in your environment" "$LINENO" 5
1844
test "$2" = conftest.file
1850
as_fn_error $? "newly created file is older than distributed files!
1851
Check your system clock" "$LINENO" 5
1853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1854
$as_echo "yes" >&6; }
1855
test "$program_prefix" != NONE &&
1856
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1857
# Use a double $ so make ignores it.
1858
test "$program_suffix" != NONE &&
1859
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1860
# Double any \ or $.
1861
# By default was `s,x,x', remove it if useless.
1862
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1863
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1865
# expand $ac_aux_dir to an absolute path
1866
am_aux_dir=`cd $ac_aux_dir && pwd`
1868
if test x"${MISSING+set}" != xset; then
1871
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1873
MISSING="\${SHELL} $am_aux_dir/missing" ;;
1876
# Use eval to expand $SHELL
1877
if eval "$MISSING --run true"; then
1878
am_missing_run="$MISSING --run "
1881
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1882
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1885
if test x"${install_sh}" != xset; then
1888
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1890
install_sh="\${SHELL} $am_aux_dir/install-sh"
1894
# Installed binaries are usually stripped using `strip' when the user
1895
# run `make install-strip'. However `strip' might not be the right
1896
# tool to use in cross-compilation environments, therefore Automake
1897
# will honor the `STRIP' environment variable to overrule this program.
1898
if test "$cross_compiling" != no; then
1899
if test -n "$ac_tool_prefix"; then
1900
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1901
set dummy ${ac_tool_prefix}strip; ac_word=$2
1902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1903
$as_echo_n "checking for $ac_word... " >&6; }
1904
if test "${ac_cv_prog_STRIP+set}" = set; then :
1905
$as_echo_n "(cached) " >&6
1907
if test -n "$STRIP"; then
1908
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1910
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914
test -z "$as_dir" && as_dir=.
1915
for ac_exec_ext in '' $ac_executable_extensions; do
1916
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1917
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1918
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1927
STRIP=$ac_cv_prog_STRIP
1928
if test -n "$STRIP"; then
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1930
$as_echo "$STRIP" >&6; }
1932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1933
$as_echo "no" >&6; }
1938
if test -z "$ac_cv_prog_STRIP"; then
1940
# Extract the first word of "strip", so it can be a program name with args.
1941
set dummy strip; ac_word=$2
1942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1943
$as_echo_n "checking for $ac_word... " >&6; }
1944
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1945
$as_echo_n "(cached) " >&6
1947
if test -n "$ac_ct_STRIP"; then
1948
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1950
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954
test -z "$as_dir" && as_dir=.
1955
for ac_exec_ext in '' $ac_executable_extensions; do
1956
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1957
ac_cv_prog_ac_ct_STRIP="strip"
1958
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1967
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1968
if test -n "$ac_ct_STRIP"; then
1969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1970
$as_echo "$ac_ct_STRIP" >&6; }
1972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1973
$as_echo "no" >&6; }
1976
if test "x$ac_ct_STRIP" = x; then
1979
case $cross_compiling:$ac_tool_warned in
1981
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1982
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1983
ac_tool_warned=yes ;;
1988
STRIP="$ac_cv_prog_STRIP"
1992
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1995
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1996
if test -z "$MKDIR_P"; then
1997
if test "${ac_cv_path_mkdir+set}" = set; then :
1998
$as_echo_n "(cached) " >&6
2000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2004
test -z "$as_dir" && as_dir=.
2005
for ac_prog in mkdir gmkdir; do
2006
for ac_exec_ext in '' $ac_executable_extensions; do
2007
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2008
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2009
'mkdir (GNU coreutils) '* | \
2010
'mkdir (coreutils) '* | \
2011
'mkdir (fileutils) '4.1*)
2012
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2022
test -d ./--version && rmdir ./--version
2023
if test "${ac_cv_path_mkdir+set}" = set; then
2024
MKDIR_P="$ac_cv_path_mkdir -p"
2026
# As a last resort, use the slow shell script. Don't cache a
2027
# value for MKDIR_P within a source directory, because that will
2028
# break other packages using the cache if that directory is
2029
# removed, or if the value is a relative name.
2030
MKDIR_P="$ac_install_sh -d"
2033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2034
$as_echo "$MKDIR_P" >&6; }
2038
[\\/$]* | ?:[\\/]*) ;;
2039
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2042
for ac_prog in gawk mawk nawk awk
2044
# Extract the first word of "$ac_prog", so it can be a program name with args.
2045
set dummy $ac_prog; ac_word=$2
2046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2047
$as_echo_n "checking for $ac_word... " >&6; }
2048
if test "${ac_cv_prog_AWK+set}" = set; then :
2049
$as_echo_n "(cached) " >&6
2051
if test -n "$AWK"; then
2052
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058
test -z "$as_dir" && as_dir=.
2059
for ac_exec_ext in '' $ac_executable_extensions; do
2060
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061
ac_cv_prog_AWK="$ac_prog"
2062
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2072
if test -n "$AWK"; then
2073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2074
$as_echo "$AWK" >&6; }
2076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2077
$as_echo "no" >&6; }
2081
test -n "$AWK" && break
2084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2085
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2087
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2088
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2089
$as_echo_n "(cached) " >&6
2091
cat >conftest.make <<\_ACEOF
2094
@echo '@@@%%%=$(MAKE)=@@@%%%'
2096
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2097
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2099
eval ac_cv_prog_make_${ac_make}_set=yes;;
2101
eval ac_cv_prog_make_${ac_make}_set=no;;
2105
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2107
$as_echo "yes" >&6; }
2110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2111
$as_echo "no" >&6; }
2112
SET_MAKE="MAKE=${MAKE-make}"
2115
rm -rf .tst 2>/dev/null
2116
mkdir .tst 2>/dev/null
2117
if test -d .tst; then
2122
rmdir .tst 2>/dev/null
2124
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2125
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2126
# is not polluted with repeated "-I."
2127
am__isrc=' -I$(srcdir)'
2128
# test to see if srcdir already configured
2129
if test -f $srcdir/config.status; then
2130
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2134
# test whether we have cygpath
2135
if test -z "$CYGPATH_W"; then
2136
if (cygpath --version) >/dev/null 2>/dev/null; then
2137
CYGPATH_W='cygpath -w'
2144
# Define the identity of the package.
2145
PACKAGE='backupninja'
2149
cat >>confdefs.h <<_ACEOF
2150
#define PACKAGE "$PACKAGE"
2154
cat >>confdefs.h <<_ACEOF
2155
#define VERSION "$VERSION"
2158
# Some tools Automake needs.
2160
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2163
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2166
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2169
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2172
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2174
# We need awk for the "check" target. The system "awk" is bad on
2176
# Always define AMTAR for backward compatibility.
2178
AMTAR=${AMTAR-"${am_missing_run}tar"}
2180
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2187
# Checks for programs.
2189
# BASH may already be set in the shell, if the admin then changes the
2190
# the /bin/sh symlink to a non-bash shell, all hell will break lose.
2194
# Extract the first word of "$ac_prog", so it can be a program name with args.
2195
set dummy $ac_prog; ac_word=$2
2196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2197
$as_echo_n "checking for $ac_word... " >&6; }
2198
if test "${ac_cv_path_BASH+set}" = set; then :
2199
$as_echo_n "(cached) " >&6
2203
ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
2206
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207
as_dummy="$PATH:/bin:/usr/bin:/usr/sbin"
2208
for as_dir in $as_dummy
2211
test -z "$as_dir" && as_dir=.
2212
for ac_exec_ext in '' $ac_executable_extensions; do
2213
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2214
ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
2215
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2225
BASH=$ac_cv_path_BASH
2226
if test -n "$BASH"; then
2227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
2228
$as_echo "$BASH" >&6; }
2230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2231
$as_echo "no" >&6; }
2235
test -n "$BASH" && break
2237
test -n "$BASH" || BASH=""no""
2239
if test x$BASH = "xno"; then
2240
as_fn_error $? "bash is required" "$LINENO" 5
2245
# Extract the first word of "$ac_prog", so it can be a program name with args.
2246
set dummy $ac_prog; ac_word=$2
2247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2248
$as_echo_n "checking for $ac_word... " >&6; }
2249
if test "${ac_cv_path_SED+set}" = set; then :
2250
$as_echo_n "(cached) " >&6
2254
ac_cv_path_SED="$SED" # Let the user override the test with a path.
2257
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261
test -z "$as_dir" && as_dir=.
2262
for ac_exec_ext in '' $ac_executable_extensions; do
2263
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264
ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
2265
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2276
if test -n "$SED"; then
2277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
2278
$as_echo "$SED" >&6; }
2280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2281
$as_echo "no" >&6; }
2285
test -n "$SED" && break
2287
test -n "$SED" || SED=""no""
2289
if test x$SED = "xno"; then
2290
as_fn_error $? "sed is required" "$LINENO" 5
2297
# Extract the first word of "$ac_prog", so it can be a program name with args.
2298
set dummy $ac_prog; ac_word=$2
2299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300
$as_echo_n "checking for $ac_word... " >&6; }
2301
if test "${ac_cv_path_AWK+set}" = set; then :
2302
$as_echo_n "(cached) " >&6
2306
ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
2309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313
test -z "$as_dir" && as_dir=.
2314
for ac_exec_ext in '' $ac_executable_extensions; do
2315
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316
ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
2317
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2328
if test -n "$AWK"; then
2329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2330
$as_echo "$AWK" >&6; }
2332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333
$as_echo "no" >&6; }
2337
test -n "$AWK" && break
2339
test -n "$AWK" || AWK=""no""
2341
if test x$AWK = "xno"; then
2342
as_fn_error $? "awk is required" "$LINENO" 5
2347
for ac_prog in mktemp
2349
# Extract the first word of "$ac_prog", so it can be a program name with args.
2350
set dummy $ac_prog; ac_word=$2
2351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352
$as_echo_n "checking for $ac_word... " >&6; }
2353
if test "${ac_cv_path_MKTEMP+set}" = set; then :
2354
$as_echo_n "(cached) " >&6
2358
ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
2361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365
test -z "$as_dir" && as_dir=.
2366
for ac_exec_ext in '' $ac_executable_extensions; do
2367
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368
ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
2369
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2379
MKTEMP=$ac_cv_path_MKTEMP
2380
if test -n "$MKTEMP"; then
2381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKTEMP" >&5
2382
$as_echo "$MKTEMP" >&6; }
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2385
$as_echo "no" >&6; }
2389
test -n "$MKTEMP" && break
2391
test -n "$MKTEMP" || MKTEMP=""no""
2393
if test x$MKTEMPT = "xno"; then
2394
as_fn_error $? "mktemp is required" "$LINENO" 5
2399
# Extract the first word of "$ac_prog", so it can be a program name with args.
2400
set dummy $ac_prog; ac_word=$2
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2402
$as_echo_n "checking for $ac_word... " >&6; }
2403
if test "${ac_cv_path_STAT+set}" = set; then :
2404
$as_echo_n "(cached) " >&6
2408
ac_cv_path_STAT="$STAT" # Let the user override the test with a path.
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_path_STAT="$as_dir/$ac_word$ac_exec_ext"
2419
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429
STAT=$ac_cv_path_STAT
2430
if test -n "$STAT"; then
2431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STAT" >&5
2432
$as_echo "$STAT" >&6; }
2434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435
$as_echo "no" >&6; }
2439
test -n "$STAT" && break
2441
test -n "$STAT" || STAT=""no""
2443
if test x$STAT = "xno"; then
2444
as_fn_error $? "stat is required" "$LINENO" 5
2449
# Extract the first word of "rpm", so it can be a program name with args.
2450
set dummy rpm; ac_word=$2
2451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2452
$as_echo_n "checking for $ac_word... " >&6; }
2453
if test "${ac_cv_prog_ac_cv_have_rpm+set}" = set; then :
2454
$as_echo_n "(cached) " >&6
2456
if test -n "$ac_cv_have_rpm"; then
2457
ac_cv_prog_ac_cv_have_rpm="$ac_cv_have_rpm" # Let the user override the test.
2459
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463
test -z "$as_dir" && as_dir=.
2464
for ac_exec_ext in '' $ac_executable_extensions; do
2465
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466
ac_cv_prog_ac_cv_have_rpm=""yes""
2467
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2474
test -z "$ac_cv_prog_ac_cv_have_rpm" && ac_cv_prog_ac_cv_have_rpm=""no""
2477
ac_cv_have_rpm=$ac_cv_prog_ac_cv_have_rpm
2478
if test -n "$ac_cv_have_rpm"; then
2479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_rpm" >&5
2480
$as_echo "$ac_cv_have_rpm" >&6; }
2482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483
$as_echo "no" >&6; }
2487
if test "x$ac_cv_have_rpm" = "xyes"; then
2488
rpm --define '_topdir /tmp' > /dev/null 2>&1
2489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if we can redefine _topdir" >&5
2490
$as_echo_n "checking to see if we can redefine _topdir... " >&6; }
2491
if test $? -eq 0 ; then
2492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2493
$as_echo "yes" >&6; }
2496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no. You'll have to build packages manually." >&5
2497
$as_echo "no. You'll have to build packages manually." >&6; }
2503
# Extract the first word of "rpm", so it can be a program name with args.
2504
set dummy rpm; ac_word=$2
2505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2506
$as_echo_n "checking for $ac_word... " >&6; }
2507
if test "${ac_cv_prog_ac_cv_have_rpm+set}" = set; then :
2508
$as_echo_n "(cached) " >&6
2510
if test -n "$ac_cv_have_rpm"; then
2511
ac_cv_prog_ac_cv_have_rpm="$ac_cv_have_rpm" # Let the user override the test.
2513
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517
test -z "$as_dir" && as_dir=.
2518
for ac_exec_ext in '' $ac_executable_extensions; do
2519
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520
ac_cv_prog_ac_cv_have_rpm=""yes""
2521
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528
test -z "$ac_cv_prog_ac_cv_have_rpm" && ac_cv_prog_ac_cv_have_rpm=""no""
2531
ac_cv_have_rpm=$ac_cv_prog_ac_cv_have_rpm
2532
if test -n "$ac_cv_have_rpm"; then
2533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_rpm" >&5
2534
$as_echo "$ac_cv_have_rpm" >&6; }
2536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2537
$as_echo "no" >&6; }
2541
if test "x$ac_cv_have_rpm" = "xyes"; then
2542
rpm --define '_topdir /tmp' > /dev/null 2>&1
2543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if we can redefine _topdir" >&5
2544
$as_echo_n "checking to see if we can redefine _topdir... " >&6; }
2545
if test $? -eq 0 ; then
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2547
$as_echo "yes" >&6; }
2550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no. You'll have to build packages manually." >&5
2551
$as_echo "no. You'll have to build packages manually." >&6; }
2557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2558
$as_echo_n "checking whether ln -s works... " >&6; }
2560
if test "$LN_S" = "ln -s"; then
2561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2562
$as_echo "yes" >&6; }
2564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2565
$as_echo "no, using $LN_S" >&6; }
2569
CFGDIR="${sysconfdir}"
2572
ac_config_files="$ac_config_files Makefile etc/Makefile examples/Makefile handlers/Makefile lib/Makefile man/Makefile src/Makefile"
2575
ac_config_files="$ac_config_files backupninja.spec"
2577
cat >confcache <<\_ACEOF
2578
# This file is a shell script that caches the results of configure
2579
# tests run on this system so they can be shared between configure
2580
# scripts and configure runs, see configure's option --config-cache.
2581
# It is not useful on other systems. If it contains results you don't
2582
# want to keep, you may remove or edit it.
2584
# config.status only pays attention to the cache file if you give it
2585
# the --recheck option to rerun configure.
2587
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2588
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2593
# The following way of writing the cache mishandles newlines in values,
2594
# but we know of no workaround that is simple, portable, and efficient.
2595
# So, we kill variables containing newlines.
2596
# Ultrix sh set writes to stderr and can't be redirected directly,
2597
# and sets the high bit in the cache file unless we assign to the vars.
2599
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2600
eval ac_val=\$$ac_var
2604
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2605
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2608
_ | IFS | as_nl) ;; #(
2609
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2610
*) { eval $ac_var=; unset $ac_var;} ;;
2616
case $as_nl`(ac_space=' '; set) 2>&1` in #(
2617
*${as_nl}ac_space=\ *)
2618
# `set' does not quote correctly, so add quotes: double-quote
2619
# substitution turns \\\\ into \\, and sed turns \\ into \.
2622
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2625
# `set' quotes correctly as required by POSIX, so do not add quotes.
2626
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2635
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2637
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2639
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2640
if test -w "$cache_file"; then
2641
test "x$cache_file" != "x/dev/null" &&
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2643
$as_echo "$as_me: updating cache $cache_file" >&6;}
2644
cat confcache >$cache_file
2646
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2647
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2652
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2653
# Let make expand exec_prefix.
2654
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2656
# Transform confdefs.h into DEFS.
2657
# Protect against shell expansion while executing Makefile rules.
2658
# Protect against Makefile macro expansion.
2660
# If the first sed substitution is executed (which looks for macros that
2661
# take arguments), then branch to the quote section. Otherwise,
2662
# look for a macro that doesn't take arguments.
2672
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2674
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2678
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2691
DEFS=`sed -n "$ac_script" confdefs.h`
2697
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2698
# 1. Remove the extension, and $U if already installed.
2699
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2700
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2701
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2702
# will be set to the directory where LIBOBJS objects are built.
2703
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2704
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2708
LTLIBOBJS=$ac_ltlibobjs
2713
: ${CONFIG_STATUS=./config.status}
2715
ac_clean_files_save=$ac_clean_files
2716
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2717
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2718
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2720
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2722
# Generated by $as_me.
2723
# Run this file to recreate the current configuration.
2724
# Compiler output produced by configure, useful for debugging
2725
# configure, is in config.log if it exists.
2731
SHELL=\${CONFIG_SHELL-$SHELL}
2734
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2735
## -------------------- ##
2736
## M4sh Initialization. ##
2737
## -------------------- ##
2739
# Be more Bourne compatible
2740
DUALCASE=1; export DUALCASE # for MKS sh
2741
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2744
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2745
# is contrary to our usage. Disable this feature.
2746
alias -g '${1+"$@"}'='"$@"'
2747
setopt NO_GLOB_SUBST
2749
case `(set -o) 2>/dev/null` in #(
2761
# Printing a long string crashes Solaris 7 /usr/bin/printf.
2762
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2763
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2764
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2765
# Prefer a ksh shell builtin over an external printf program on Solaris,
2766
# but without wasting forks for bash or zsh.
2767
if test -z "$BASH_VERSION$ZSH_VERSION" \
2768
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2769
as_echo='print -r --'
2770
as_echo_n='print -rn --'
2771
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2772
as_echo='printf %s\n'
2773
as_echo_n='printf %s'
2775
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2776
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2777
as_echo_n='/usr/ucb/echo -n'
2779
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2780
as_echo_n_body='eval
2784
expr "X$arg" : "X\\(.*\\)$as_nl";
2785
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2787
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2789
export as_echo_n_body
2790
as_echo_n='sh -c $as_echo_n_body as_echo'
2793
as_echo='sh -c $as_echo_body as_echo'
2796
# The user is always right.
2797
if test "${PATH_SEPARATOR+set}" != set; then
2799
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2800
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2807
# We need space, tab and new line, in precisely that order. Quoting is
2808
# there to prevent editors from complaining about space-tab.
2809
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2810
# splitting by setting IFS to empty value.)
2813
# Find who we are. Look in the path if we contain no directory separator.
2815
*[\\/]* ) as_myself=$0 ;;
2816
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820
test -z "$as_dir" && as_dir=.
2821
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2827
# We did not find ourselves, most probably we were run as `sh COMMAND'
2828
# in which case we are not to be found in the path.
2829
if test "x$as_myself" = x; then
2832
if test ! -f "$as_myself"; then
2833
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2837
# Unset variables that we do not need and which cause bugs (e.g. in
2838
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2839
# suppresses any "Segmentation fault" message there. '((' could
2840
# trigger a bug in pdksh 5.2.14.
2841
for as_var in BASH_ENV ENV MAIL MAILPATH
2842
do eval test x\${$as_var+set} = xset \
2843
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2856
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2859
# as_fn_error STATUS ERROR [LINENO LOG_FD]
2860
# ----------------------------------------
2861
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2862
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2863
# script with STATUS, using 1 if that was 0.
2866
as_status=$1; test $as_status -eq 0 && as_status=1
2868
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2869
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2871
$as_echo "$as_me: error: $2" >&2
2872
as_fn_exit $as_status
2876
# as_fn_set_status STATUS
2877
# -----------------------
2878
# Set $? to STATUS, without forking.
2882
} # as_fn_set_status
2886
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2896
# Portably unset VAR.
2899
{ eval $1=; unset $1;}
2901
as_unset=as_fn_unset
2902
# as_fn_append VAR VALUE
2903
# ----------------------
2904
# Append the text in VALUE to the end of the definition contained in VAR. Take
2905
# advantage of any shell optimizations that allow amortized linear growth over
2906
# repeated appends, instead of the typical quadratic growth present in naive
2908
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2909
eval 'as_fn_append ()
2920
# as_fn_arith ARG...
2921
# ------------------
2922
# Perform arithmetic evaluation on the ARGs, and store the result in the
2923
# global $as_val. Take advantage of shells that can avoid forks. The arguments
2924
# must be portable across $(()) and expr.
2925
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2926
eval 'as_fn_arith ()
2933
as_val=`expr "$@" || test $? -eq 1`
2938
if expr a : '\(a\)' >/dev/null 2>&1 &&
2939
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2945
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2946
as_basename=basename
2951
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2957
as_me=`$as_basename -- "$0" ||
2958
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2959
X"$0" : 'X\(//\)$' \| \
2960
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2962
sed '/^.*\/\([^/][^/]*\)\/*$/{
2976
# Avoid depending upon Character Ranges.
2977
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2978
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2979
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2980
as_cr_digits='0123456789'
2981
as_cr_alnum=$as_cr_Letters$as_cr_digits
2983
ECHO_C= ECHO_N= ECHO_T=
2984
case `echo -n x` in #(((((
2986
case `echo 'xy\c'` in
2987
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
2989
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2996
rm -f conf$$ conf$$.exe conf$$.file
2997
if test -d conf$$.dir; then
2998
rm -f conf$$.dir/conf$$.file
3001
mkdir conf$$.dir 2>/dev/null
3003
if (echo >conf$$.file) 2>/dev/null; then
3004
if ln -s conf$$.file conf$$ 2>/dev/null; then
3006
# ... but there are two gotchas:
3007
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3008
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3009
# In both cases, we have to default to `cp -p'.
3010
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3012
elif ln conf$$.file conf$$ 2>/dev/null; then
3020
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3021
rmdir conf$$.dir 2>/dev/null
3026
# Create "$as_dir" as a directory, including parents if necessary.
3031
-*) as_dir=./$as_dir;;
3033
test -d "$as_dir" || eval $as_mkdir_p || {
3037
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3038
*) as_qdir=$as_dir;;
3040
as_dirs="'$as_qdir' $as_dirs"
3041
as_dir=`$as_dirname -- "$as_dir" ||
3042
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3043
X"$as_dir" : 'X\(//\)[^/]' \| \
3044
X"$as_dir" : 'X\(//\)$' \| \
3045
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3046
$as_echo X"$as_dir" |
3047
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3064
test -d "$as_dir" && break
3066
test -z "$as_dirs" || eval "mkdir $as_dirs"
3067
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3071
if mkdir -p . 2>/dev/null; then
3072
as_mkdir_p='mkdir -p "$as_dir"'
3074
test -d ./-p && rmdir ./-p
3078
if test -x / >/dev/null 2>&1; then
3081
if ls -dL / >/dev/null 2>&1; then
3088
if test -d "$1"; then
3094
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3095
???[sx]*):;;*)false;;esac;fi
3099
as_executable_p=$as_test_x
3101
# Sed expression to map a string onto a valid CPP name.
3102
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3104
# Sed expression to map a string onto a valid variable name.
3105
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3109
## ----------------------------------- ##
3110
## Main body of $CONFIG_STATUS script. ##
3111
## ----------------------------------- ##
3113
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3115
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3116
# Save the log message, to keep $0 and so on meaningful, and to
3117
# report actual input values of CONFIG_FILES etc. instead of their
3118
# values after options handling.
3120
This file was extended by backupninja $as_me 0.9.9, which was
3121
generated by GNU Autoconf 2.67. Invocation command line was
3123
CONFIG_FILES = $CONFIG_FILES
3124
CONFIG_HEADERS = $CONFIG_HEADERS
3125
CONFIG_LINKS = $CONFIG_LINKS
3126
CONFIG_COMMANDS = $CONFIG_COMMANDS
3129
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3134
case $ac_config_files in *"
3135
"*) set x $ac_config_files; shift; ac_config_files=$*;;
3140
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3141
# Files that config.status was made for.
3142
config_files="$ac_config_files"
3146
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3148
\`$as_me' instantiates files and other configuration actions
3149
from templates according to the current configuration. Unless the files
3150
and actions are specified as TAGs, all are instantiated by default.
3152
Usage: $0 [OPTION]... [TAG]...
3154
-h, --help print this help, then exit
3155
-V, --version print version number and configuration settings, then exit
3156
--config print configuration, then exit
3157
-q, --quiet, --silent
3158
do not print progress messages
3159
-d, --debug don't remove temporary files
3160
--recheck update $as_me by reconfiguring in the same conditions
3161
--file=FILE[:TEMPLATE]
3162
instantiate the configuration file FILE
3164
Configuration files:
3167
Report bugs to <backupninja@lists.riseup.net>."
3170
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3171
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3173
backupninja config.status 0.9.9
3174
configured by $0, generated by GNU Autoconf 2.67,
3175
with options \\"\$ac_cs_config\\"
3177
Copyright (C) 2010 Free Software Foundation, Inc.
3178
This config.status script is free software; the Free Software Foundation
3179
gives unlimited permission to copy, distribute and modify it."
3186
test -n "\$AWK" || AWK=awk
3189
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3190
# The default lists apply if the user does not specify any file.
3196
ac_option=`expr "X$1" : 'X\([^=]*\)='`
3197
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3201
ac_option=`expr "X$1" : 'X\([^=]*\)='`
3213
# Handling of the options.
3214
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3216
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3217
$as_echo "$ac_cs_version"; exit ;;
3218
--config | --confi | --conf | --con | --co | --c )
3219
$as_echo "$ac_cs_config"; exit ;;
3220
--debug | --debu | --deb | --de | --d | -d )
3222
--file | --fil | --fi | --f )
3225
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3226
'') as_fn_error $? "missing file argument" ;;
3228
as_fn_append CONFIG_FILES " '$ac_optarg'"
3229
ac_need_defaults=false;;
3230
--he | --h | --help | --hel | -h )
3231
$as_echo "$ac_cs_usage"; exit ;;
3232
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
3233
| -silent | --silent | --silen | --sile | --sil | --si | --s)
3237
-*) as_fn_error $? "unrecognized option: \`$1'
3238
Try \`$0 --help' for more information." ;;
3240
*) as_fn_append ac_config_targets " $1"
3241
ac_need_defaults=false ;;
3247
ac_configure_extra_args=
3249
if $ac_cs_silent; then
3251
ac_configure_extra_args="$ac_configure_extra_args --silent"
3255
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3256
if \$ac_cs_recheck; then
3257
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3259
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3260
CONFIG_SHELL='$SHELL'
3266
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3270
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3271
## Running $as_me. ##
3277
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3280
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3282
# Handling of arguments.
3283
for ac_config_target in $ac_config_targets
3285
case $ac_config_target in
3286
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3287
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
3288
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
3289
"handlers/Makefile") CONFIG_FILES="$CONFIG_FILES handlers/Makefile" ;;
3290
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3291
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3292
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3293
"backupninja.spec") CONFIG_FILES="$CONFIG_FILES backupninja.spec" ;;
3295
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3300
# If the user did not use the arguments to specify the items to instantiate,
3301
# then the envvar interface is used. Set only those that are not.
3302
# We use the long form for the default assignment because of an extremely
3303
# bizarre bug on SunOS 4.1.3.
3304
if $ac_need_defaults; then
3305
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3308
# Have a temporary directory for convenience. Make it in the build tree
3309
# simply because there is no reason against having it here, and in addition,
3310
# creating and moving files from /tmp can sometimes cause problems.
3311
# Hook for its removal unless debugging.
3312
# Note that there is a small window in which the directory will not be cleaned:
3313
# after its creation but before its name has been assigned to `$tmp'.
3317
trap 'exit_status=$?
3318
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3320
trap 'as_fn_exit 1' 1 2 13 15
3322
# Create a (secure) tmp directory for tmp files.
3325
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3326
test -n "$tmp" && test -d "$tmp"
3329
tmp=./conf$$-$RANDOM
3330
(umask 077 && mkdir "$tmp")
3331
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3333
# Set up the scripts for CONFIG_FILES section.
3334
# No need to generate them if there are no CONFIG_FILES.
3335
# This happens for instance with `./config.status config.h'.
3336
if test -n "$CONFIG_FILES"; then
3339
ac_cr=`echo X | tr X '\015'`
3340
# On cygwin, bash can eat \r inside `` if the user requested igncr.
3341
# But we know of no other shell where ac_cr would be empty at this
3342
# point, so we can use a bashism as a fallback.
3343
if test "x$ac_cr" = x; then
3344
eval ac_cr=\$\'\\r\'
3346
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3347
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3353
echo 'BEGIN {' >"$tmp/subs1.awk" &&
3358
echo "cat >conf$$subs.awk <<_ACEOF" &&
3359
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3362
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3363
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3365
for ac_last_try in false false false false false :; do
3366
. ./conf$$subs.sh ||
3367
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3369
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3370
if test $ac_delim_n = $ac_delim_num; then
3372
elif $ac_last_try; then
3373
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3375
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3380
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3381
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3385
s/^/S["/; s/!.*/"]=/
3395
s/\(.\{148\}\)..*/\1/
3397
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3402
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3409
s/\(.\{148\}\)..*/\1/
3411
s/["\\]/\\&/g; s/^/"/; s/$/"/
3415
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3420
' <conf$$subs.awk | sed '
3425
' >>$CONFIG_STATUS || ac_write_fail=1
3426
rm -f conf$$subs.awk
3427
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3429
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3430
for (key in S) S_is_set[key] = 1
3436
nfields = split(line, field, "@")
3438
len = length(field[1])
3439
for (i = 2; i < nfields; i++) {
3441
keylen = length(key)
3442
if (S_is_set[key]) {
3444
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3445
len += length(value) + length(field[++i])
3456
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3457
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3458
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3461
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3462
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3465
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3466
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3467
# trailing colons and then remove the whole line if VPATH becomes empty
3468
# (actually we leave an empty line to preserve line numbers).
3469
if test "x$srcdir" = x.; then
3470
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3488
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3489
fi # test -n "$CONFIG_FILES"
3492
eval set X " :F $CONFIG_FILES "
3497
:[FHLC]) ac_mode=$ac_tag; continue;;
3499
case $ac_mode$ac_tag in
3501
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3502
:[FH]-) ac_tag=-:-;;
3503
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3520
-) ac_f="$tmp/stdin";;
3521
*) # Look for the file first in the build tree, then in the source tree
3522
# (if the path is not absolute). The absolute path cannot be DOS-style,
3523
# because $ac_f cannot contain `:'.
3527
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3529
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3531
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3532
as_fn_append ac_file_inputs " '$ac_f'"
3535
# Let's still pretend it is `configure' which instantiates (i.e., don't
3536
# use $as_me), people would be surprised to read:
3537
# /* config.h. Generated by config.status. */
3538
configure_input='Generated from '`
3539
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3541
if test x"$ac_file" != x-; then
3542
configure_input="$ac_file. $configure_input"
3543
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3544
$as_echo "$as_me: creating $ac_file" >&6;}
3546
# Neutralize special characters interpreted by sed in replacement strings.
3547
case $configure_input in #(
3548
*\&* | *\|* | *\\* )
3549
ac_sed_conf_input=`$as_echo "$configure_input" |
3550
sed 's/[\\\\&|]/\\\\&/g'`;; #(
3551
*) ac_sed_conf_input=$configure_input;;
3555
*:-:* | *:-) cat >"$tmp/stdin" \
3556
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3561
ac_dir=`$as_dirname -- "$ac_file" ||
3562
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3563
X"$ac_file" : 'X\(//\)[^/]' \| \
3564
X"$ac_file" : 'X\(//\)$' \| \
3565
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3566
$as_echo X"$ac_file" |
3567
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3584
as_dir="$ac_dir"; as_fn_mkdir_p
3588
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3590
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3591
# A ".." for each directory in $ac_dir_suffix.
3592
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3593
case $ac_top_builddir_sub in
3594
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3595
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3598
ac_abs_top_builddir=$ac_pwd
3599
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3600
# for backward compatibility:
3601
ac_top_builddir=$ac_top_build_prefix
3604
.) # We are building in place.
3606
ac_top_srcdir=$ac_top_builddir_sub
3607
ac_abs_top_srcdir=$ac_pwd ;;
3608
[\\/]* | ?:[\\/]* ) # Absolute name.
3609
ac_srcdir=$srcdir$ac_dir_suffix;
3610
ac_top_srcdir=$srcdir
3611
ac_abs_top_srcdir=$srcdir ;;
3613
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3614
ac_top_srcdir=$ac_top_build_prefix$srcdir
3615
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3617
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3627
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3628
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3632
[\\/$]* | ?:[\\/]* ) ;;
3633
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3637
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3638
# If the template does not know about datarootdir, expand it.
3639
# FIXME: This hack should be removed a few years after 2.60.
3640
ac_datarootdir_hack=; ac_datarootdir_seen=
3651
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3652
*datarootdir*) ac_datarootdir_seen=yes;;
3653
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3655
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3657
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3658
ac_datarootdir_hack='
3659
s&@datadir@&$datadir&g
3660
s&@docdir@&$docdir&g
3661
s&@infodir@&$infodir&g
3662
s&@localedir@&$localedir&g
3663
s&@mandir@&$mandir&g
3664
s&\\\${datarootdir}&$datarootdir&g' ;;
3668
# Neutralize VPATH when `$srcdir' = `.'.
3669
# Shell code in configure.ac might set extrasub.
3670
# FIXME: do we really want to maintain this feature?
3671
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3672
ac_sed_extra="$ac_vpsub
3675
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3677
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3678
s|@configure_input@|$ac_sed_conf_input|;t t
3679
s&@top_builddir@&$ac_top_builddir_sub&;t t
3680
s&@top_build_prefix@&$ac_top_build_prefix&;t t
3681
s&@srcdir@&$ac_srcdir&;t t
3682
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3683
s&@top_srcdir@&$ac_top_srcdir&;t t
3684
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3685
s&@builddir@&$ac_builddir&;t t
3686
s&@abs_builddir@&$ac_abs_builddir&;t t
3687
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3688
s&@INSTALL@&$ac_INSTALL&;t t
3689
s&@MKDIR_P@&$ac_MKDIR_P&;t t
3690
$ac_datarootdir_hack
3692
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3693
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
3695
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3696
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3697
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3698
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3699
which seems to be undefined. Please make sure it is defined" >&5
3700
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3701
which seems to be undefined. Please make sure it is defined" >&2;}
3705
-) cat "$tmp/out" && rm -f "$tmp/out";;
3706
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3708
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
3720
ac_clean_files=$ac_clean_files_save
3722
test $ac_write_fail = 0 ||
3723
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3726
# configure is writing to config.log, and then calls config.status.
3727
# config.status does its own redirection, appending to config.log.
3728
# Unfortunately, on DOS this fails, as config.log is still kept open
3729
# by configure, so config.status won't be able to write to it; its
3730
# output is simply discarded. So we exec the FD to /dev/null,
3731
# effectively closing config.log, so it can be properly (re)opened and
3732
# appended to by config.status. When coming back to configure, we
3733
# need to make the FD available again.
3734
if test "$no_create" != yes; then
3736
ac_config_status_args=
3737
test "$silent" = yes &&
3738
ac_config_status_args="$ac_config_status_args --quiet"
3740
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3742
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
3743
# would make configure fail if this is the last instruction.
3744
$ac_cs_success || as_fn_exit 1
3746
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3748
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}