2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for backupninja 0.9.5.
5 # Report bugs to <backupninja@lists.riseup.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='backupninja'
576 PACKAGE_TARNAME='backupninja'
577 PACKAGE_VERSION='0.9.5'
578 PACKAGE_STRING='backupninja 0.9.5'
579 PACKAGE_BUGREPORT='backupninja@lists.riseup.net'
581 ac_unique_file="src/backupninja.in"
591 program_transform_name
632 INSTALL_STRIP_PROGRAM
650 ac_precious_vars='build_alias
655 # Initialize some variables set by options.
657 ac_init_version=false
658 # The variables have the same names as the options, with
659 # dashes changed to underlines.
667 program_transform_name=s,x,x,
675 # Installation directory options.
676 # These are left unexpanded so users can "make install exec_prefix=/foo"
677 # and all the variables that are supposed to be based on exec_prefix
678 # by default will actually change.
679 # Use braces instead of parens because sh, perl, etc. also accept them.
680 # (The list follows the same order as the GNU Coding Standards.)
681 bindir='${exec_prefix}/bin'
682 sbindir='${exec_prefix}/sbin'
683 libexecdir='${exec_prefix}/libexec'
684 datarootdir='${prefix}/share'
685 datadir='${datarootdir}'
686 sysconfdir='${prefix}/etc'
687 sharedstatedir='${prefix}/com'
688 localstatedir='${prefix}/var'
689 includedir='${prefix}/include'
690 oldincludedir='/usr/include'
691 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
692 infodir='${datarootdir}/info'
697 libdir='${exec_prefix}/lib'
698 localedir='${datarootdir}/locale'
699 mandir='${datarootdir}/man'
705 # If the previous option needs an argument, assign it.
706 if test -n "$ac_prev"; then
707 eval $ac_prev=\$ac_option
713 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
717 # Accept the important Cygnus configure options, so we can diagnose typos.
719 case $ac_dashdash$ac_option in
723 -bindir | --bindir | --bindi | --bind | --bin | --bi)
725 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
728 -build | --build | --buil | --bui | --bu)
729 ac_prev=build_alias ;;
730 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
731 build_alias=$ac_optarg ;;
733 -cache-file | --cache-file | --cache-fil | --cache-fi \
734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
735 ac_prev=cache_file ;;
736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
738 cache_file=$ac_optarg ;;
741 cache_file=config.cache ;;
743 -datadir | --datadir | --datadi | --datad)
745 -datadir=* | --datadir=* | --datadi=* | --datad=*)
746 datadir=$ac_optarg ;;
748 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
749 | --dataroo | --dataro | --datar)
750 ac_prev=datarootdir ;;
751 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
752 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
753 datarootdir=$ac_optarg ;;
755 -disable-* | --disable-*)
756 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
760 { (exit 1); exit 1; }; }
761 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
762 eval enable_$ac_feature=no ;;
764 -docdir | --docdir | --docdi | --doc | --do)
766 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
769 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
771 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
774 -enable-* | --enable-*)
775 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
778 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
779 { (exit 1); exit 1; }; }
780 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
781 eval enable_$ac_feature=\$ac_optarg ;;
783 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
784 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
785 | --exec | --exe | --ex)
786 ac_prev=exec_prefix ;;
787 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
788 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
789 | --exec=* | --exe=* | --ex=*)
790 exec_prefix=$ac_optarg ;;
792 -gas | --gas | --ga | --g)
793 # Obsolete; use --with-gas.
796 -help | --help | --hel | --he | -h)
798 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
799 ac_init_help=recursive ;;
800 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
801 ac_init_help=short ;;
803 -host | --host | --hos | --ho)
804 ac_prev=host_alias ;;
805 -host=* | --host=* | --hos=* | --ho=*)
806 host_alias=$ac_optarg ;;
808 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
810 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
812 htmldir=$ac_optarg ;;
814 -includedir | --includedir | --includedi | --included | --include \
815 | --includ | --inclu | --incl | --inc)
816 ac_prev=includedir ;;
817 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
818 | --includ=* | --inclu=* | --incl=* | --inc=*)
819 includedir=$ac_optarg ;;
821 -infodir | --infodir | --infodi | --infod | --info | --inf)
823 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
824 infodir=$ac_optarg ;;
826 -libdir | --libdir | --libdi | --libd)
828 -libdir=* | --libdir=* | --libdi=* | --libd=*)
831 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
832 | --libexe | --libex | --libe)
833 ac_prev=libexecdir ;;
834 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
835 | --libexe=* | --libex=* | --libe=*)
836 libexecdir=$ac_optarg ;;
838 -localedir | --localedir | --localedi | --localed | --locale)
840 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
841 localedir=$ac_optarg ;;
843 -localstatedir | --localstatedir | --localstatedi | --localstated \
844 | --localstate | --localstat | --localsta | --localst | --locals)
845 ac_prev=localstatedir ;;
846 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
847 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
848 localstatedir=$ac_optarg ;;
850 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
852 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
856 # Obsolete; use --without-fp.
859 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
860 | --no-cr | --no-c | -n)
863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
867 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
868 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
869 | --oldin | --oldi | --old | --ol | --o)
870 ac_prev=oldincludedir ;;
871 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
872 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
873 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
874 oldincludedir=$ac_optarg ;;
876 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
878 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
881 -program-prefix | --program-prefix | --program-prefi | --program-pref \
882 | --program-pre | --program-pr | --program-p)
883 ac_prev=program_prefix ;;
884 -program-prefix=* | --program-prefix=* | --program-prefi=* \
885 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
886 program_prefix=$ac_optarg ;;
888 -program-suffix | --program-suffix | --program-suffi | --program-suff \
889 | --program-suf | --program-su | --program-s)
890 ac_prev=program_suffix ;;
891 -program-suffix=* | --program-suffix=* | --program-suffi=* \
892 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
893 program_suffix=$ac_optarg ;;
895 -program-transform-name | --program-transform-name \
896 | --program-transform-nam | --program-transform-na \
897 | --program-transform-n | --program-transform- \
898 | --program-transform | --program-transfor \
899 | --program-transfo | --program-transf \
900 | --program-trans | --program-tran \
901 | --progr-tra | --program-tr | --program-t)
902 ac_prev=program_transform_name ;;
903 -program-transform-name=* | --program-transform-name=* \
904 | --program-transform-nam=* | --program-transform-na=* \
905 | --program-transform-n=* | --program-transform-=* \
906 | --program-transform=* | --program-transfor=* \
907 | --program-transfo=* | --program-transf=* \
908 | --program-trans=* | --program-tran=* \
909 | --progr-tra=* | --program-tr=* | --program-t=*)
910 program_transform_name=$ac_optarg ;;
912 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
914 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
917 -psdir | --psdir | --psdi | --psd | --ps)
919 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
923 | -silent | --silent | --silen | --sile | --sil)
926 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
928 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
930 sbindir=$ac_optarg ;;
932 -sharedstatedir | --sharedstatedir | --sharedstatedi \
933 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
934 | --sharedst | --shareds | --shared | --share | --shar \
936 ac_prev=sharedstatedir ;;
937 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
938 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
939 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
941 sharedstatedir=$ac_optarg ;;
943 -site | --site | --sit)
945 -site=* | --site=* | --sit=*)
948 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
950 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
953 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
954 | --syscon | --sysco | --sysc | --sys | --sy)
955 ac_prev=sysconfdir ;;
956 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
957 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
958 sysconfdir=$ac_optarg ;;
960 -target | --target | --targe | --targ | --tar | --ta | --t)
961 ac_prev=target_alias ;;
962 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
963 target_alias=$ac_optarg ;;
965 -v | -verbose | --verbose | --verbos | --verbo | --verb)
968 -version | --version | --versio | --versi | --vers | -V)
972 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
975 { echo "$as_me: error: invalid package name: $ac_package" >&2
976 { (exit 1); exit 1; }; }
977 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
978 eval with_$ac_package=\$ac_optarg ;;
980 -without-* | --without-*)
981 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
984 { echo "$as_me: error: invalid package name: $ac_package" >&2
985 { (exit 1); exit 1; }; }
986 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
987 eval with_$ac_package=no ;;
990 # Obsolete; use --with-x.
993 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
994 | --x-incl | --x-inc | --x-in | --x-i)
995 ac_prev=x_includes ;;
996 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
997 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
998 x_includes=$ac_optarg ;;
1000 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1001 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1002 ac_prev=x_libraries ;;
1003 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1004 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1005 x_libraries=$ac_optarg ;;
1007 -*) { echo "$as_me: error: unrecognized option: $ac_option
1008 Try \`$0 --help' for more information." >&2
1009 { (exit 1); exit 1; }; }
1013 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1016 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1017 { (exit 1); exit 1; }; }
1018 eval $ac_envvar=\$ac_optarg
1019 export $ac_envvar ;;
1022 # FIXME: should be removed in autoconf 3.0.
1023 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1024 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1025 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1026 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1032 if test -n "$ac_prev"; then
1033 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1034 { echo "$as_me: error: missing argument to $ac_option" >&2
1035 { (exit 1); exit 1; }; }
1038 # Be sure to have absolute directory names.
1039 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1040 datadir sysconfdir sharedstatedir localstatedir includedir \
1041 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1042 libdir localedir mandir
1044 eval ac_val=\$$ac_var
1046 [\\/$]* | ?:[\\/]* ) continue;;
1047 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1049 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1050 { (exit 1); exit 1; }; }
1053 # There might be people who depend on the old broken behavior: `$host'
1054 # used to hold the argument of --host etc.
1055 # FIXME: To remove some day.
1058 target=$target_alias
1060 # FIXME: To remove some day.
1061 if test "x$host_alias" != x; then
1062 if test "x$build_alias" = x; then
1063 cross_compiling=maybe
1064 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1065 If a cross compiler is detected then cross compile mode will be used." >&2
1066 elif test "x$build_alias" != "x$host_alias"; then
1072 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1074 test "$silent" = yes && exec 6>/dev/null
1077 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1078 ac_ls_di=`ls -di .` &&
1079 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1080 { echo "$as_me: error: Working directory cannot be determined" >&2
1081 { (exit 1); exit 1; }; }
1082 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1083 { echo "$as_me: error: pwd does not report name of working directory" >&2
1084 { (exit 1); exit 1; }; }
1087 # Find the source files, if location was not specified.
1088 if test -z "$srcdir"; then
1089 ac_srcdir_defaulted=yes
1090 # Try the directory containing this script, then the parent directory.
1091 ac_confdir=`$as_dirname -- "$0" ||
1092 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1093 X"$0" : 'X\(//\)[^/]' \| \
1094 X"$0" : 'X\(//\)$' \| \
1095 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1115 if test ! -r "$srcdir/$ac_unique_file"; then
1119 ac_srcdir_defaulted=no
1121 if test ! -r "$srcdir/$ac_unique_file"; then
1122 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1123 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1124 { (exit 1); exit 1; }; }
1126 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1128 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1129 { (exit 1); exit 1; }; }
1131 # When building in place, set srcdir=.
1132 if test "$ac_abs_confdir" = "$ac_pwd"; then
1135 # Remove unnecessary trailing slashes from srcdir.
1136 # Double slashes in file names in object file debugging info
1137 # mess up M-x gdb in Emacs.
1139 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1141 for ac_var in $ac_precious_vars; do
1142 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1143 eval ac_env_${ac_var}_value=\$${ac_var}
1144 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1145 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1149 # Report the --help message.
1151 if test "$ac_init_help" = "long"; then
1152 # Omit some internal or obsolete options to make the list less imposing.
1153 # This message is too long to be a string in the A/UX 3.1 sh.
1155 \`configure' configures backupninja 0.9.5 to adapt to many kinds of systems.
1157 Usage: $0 [OPTION]... [VAR=VALUE]...
1159 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1160 VAR=VALUE. See below for descriptions of some of the useful variables.
1162 Defaults for the options are specified in brackets.
1165 -h, --help display this help and exit
1166 --help=short display options specific to this package
1167 --help=recursive display the short help of all the included packages
1168 -V, --version display version information and exit
1169 -q, --quiet, --silent do not print \`checking...' messages
1170 --cache-file=FILE cache test results in FILE [disabled]
1171 -C, --config-cache alias for \`--cache-file=config.cache'
1172 -n, --no-create do not create output files
1173 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1175 Installation directories:
1176 --prefix=PREFIX install architecture-independent files in PREFIX
1177 [$ac_default_prefix]
1178 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1181 By default, \`make install' will install all the files in
1182 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1183 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1184 for instance \`--prefix=\$HOME'.
1186 For better control, use the options below.
1188 Fine tuning of the installation directories:
1189 --bindir=DIR user executables [EPREFIX/bin]
1190 --sbindir=DIR system admin executables [EPREFIX/sbin]
1191 --libexecdir=DIR program executables [EPREFIX/libexec]
1192 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1193 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1194 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1195 --libdir=DIR object code libraries [EPREFIX/lib]
1196 --includedir=DIR C header files [PREFIX/include]
1197 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1198 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1199 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1200 --infodir=DIR info documentation [DATAROOTDIR/info]
1201 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1202 --mandir=DIR man documentation [DATAROOTDIR/man]
1203 --docdir=DIR documentation root [DATAROOTDIR/doc/backupninja]
1204 --htmldir=DIR html documentation [DOCDIR]
1205 --dvidir=DIR dvi documentation [DOCDIR]
1206 --pdfdir=DIR pdf documentation [DOCDIR]
1207 --psdir=DIR ps documentation [DOCDIR]
1213 --program-prefix=PREFIX prepend PREFIX to installed program names
1214 --program-suffix=SUFFIX append SUFFIX to installed program names
1215 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1219 if test -n "$ac_init_help"; then
1220 case $ac_init_help in
1221 short | recursive ) echo "Configuration of backupninja 0.9.5:";;
1225 Report bugs to <backupninja@lists.riseup.net>.
1230 if test "$ac_init_help" = "recursive"; then
1231 # If there are subdirs, report their specific --help.
1232 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1233 test -d "$ac_dir" || continue
1237 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1239 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1240 # A ".." for each directory in $ac_dir_suffix.
1241 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1242 case $ac_top_builddir_sub in
1243 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1247 ac_abs_top_builddir=$ac_pwd
1248 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1249 # for backward compatibility:
1250 ac_top_builddir=$ac_top_build_prefix
1253 .) # We are building in place.
1255 ac_top_srcdir=$ac_top_builddir_sub
1256 ac_abs_top_srcdir=$ac_pwd ;;
1257 [\\/]* | ?:[\\/]* ) # Absolute name.
1258 ac_srcdir=$srcdir$ac_dir_suffix;
1259 ac_top_srcdir=$srcdir
1260 ac_abs_top_srcdir=$srcdir ;;
1262 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1263 ac_top_srcdir=$ac_top_build_prefix$srcdir
1264 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1266 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1268 cd "$ac_dir" || { ac_status=$?; continue; }
1269 # Check for guested configure.
1270 if test -f "$ac_srcdir/configure.gnu"; then
1272 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1273 elif test -f "$ac_srcdir/configure"; then
1275 $SHELL "$ac_srcdir/configure" --help=recursive
1277 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1279 cd "$ac_pwd" || { ac_status=$?; break; }
1283 test -n "$ac_init_help" && exit $ac_status
1284 if $ac_init_version; then
1286 backupninja configure 0.9.5
1287 generated by GNU Autoconf 2.61
1289 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1290 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1291 This configure script is free software; the Free Software Foundation
1292 gives unlimited permission to copy, distribute and modify it.
1296 cat >config.log <<_ACEOF
1297 This file contains any messages produced by compilers while
1298 running configure, to aid debugging if configure makes a mistake.
1300 It was created by backupninja $as_me 0.9.5, which was
1301 generated by GNU Autoconf 2.61. Invocation command line was
1313 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1314 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1315 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1316 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1317 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1319 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1320 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1322 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1323 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1324 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1325 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1326 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1327 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1328 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336 test -z "$as_dir" && as_dir=.
1337 echo "PATH: $as_dir"
1353 # Keep a trace of the command line.
1354 # Strip out --no-create and --no-recursion so they do not pile up.
1355 # Strip out --silent because we don't want to record it for future runs.
1356 # Also quote any args containing shell meta-characters.
1357 # Make two passes to allow for proper duplicate-argument suppression.
1361 ac_must_keep_next=false
1367 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1368 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1369 | -silent | --silent | --silen | --sile | --sil)
1372 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1375 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1377 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1378 if test $ac_must_keep_next = true; then
1379 ac_must_keep_next=false # Got value, back to normal.
1382 *=* | --config-cache | -C | -disable-* | --disable-* \
1383 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1384 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1385 | -with-* | --with-* | -without-* | --without-* | --x)
1386 case "$ac_configure_args0 " in
1387 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1390 -* ) ac_must_keep_next=true ;;
1393 ac_configure_args="$ac_configure_args '$ac_arg'"
1398 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1399 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1401 # When interrupted or exit'd, cleanup temporary files, and complete
1402 # config.log. We remove comments because anyway the quotes in there
1403 # would cause problems or look ugly.
1404 # WARNING: Use '\'' to represent an apostrophe within the trap.
1405 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1406 trap 'exit_status=$?
1407 # Save into config.log some information that might help in debugging.
1412 ## ---------------- ##
1413 ## Cache variables. ##
1414 ## ---------------- ##
1417 # The following way of writing the cache mishandles newlines in values,
1419 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1420 eval ac_val=\$$ac_var
1424 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1425 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1428 _ | IFS | as_nl) ;; #(
1429 *) $as_unset $ac_var ;;
1434 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1435 *${as_nl}ac_space=\ *)
1437 "s/'\''/'\''\\\\'\'''\''/g;
1438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1441 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1449 ## ----------------- ##
1450 ## Output variables. ##
1451 ## ----------------- ##
1454 for ac_var in $ac_subst_vars
1456 eval ac_val=\$$ac_var
1458 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1460 echo "$ac_var='\''$ac_val'\''"
1464 if test -n "$ac_subst_files"; then
1466 ## ------------------- ##
1467 ## File substitutions. ##
1468 ## ------------------- ##
1471 for ac_var in $ac_subst_files
1473 eval ac_val=\$$ac_var
1475 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1477 echo "$ac_var='\''$ac_val'\''"
1482 if test -s confdefs.h; then
1492 test "$ac_signal" != 0 &&
1493 echo "$as_me: caught signal $ac_signal"
1494 echo "$as_me: exit $exit_status"
1496 rm -f core *.core core.conftest.* &&
1497 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1500 for ac_signal in 1 2 13 15; do
1501 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1505 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1506 rm -f -r conftest* confdefs.h
1508 # Predefined preprocessor variables.
1510 cat >>confdefs.h <<_ACEOF
1511 #define PACKAGE_NAME "$PACKAGE_NAME"
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_STRING "$PACKAGE_STRING"
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1535 # Let the site file select an alternate cache file if it wants to.
1536 # Prefer explicitly selected file to automatically selected ones.
1537 if test -n "$CONFIG_SITE"; then
1538 set x "$CONFIG_SITE"
1539 elif test "x$prefix" != xNONE; then
1540 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1542 set x "$ac_default_prefix/share/config.site" \
1543 "$ac_default_prefix/etc/config.site"
1548 if test -r "$ac_site_file"; then
1549 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1550 echo "$as_me: loading site script $ac_site_file" >&6;}
1551 sed 's/^/| /' "$ac_site_file" >&5
1556 if test -r "$cache_file"; then
1557 # Some versions of bash will fail to source /dev/null (special
1558 # files actually), so we avoid doing that.
1559 if test -f "$cache_file"; then
1560 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1561 echo "$as_me: loading cache $cache_file" >&6;}
1563 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1564 *) . "./$cache_file";;
1568 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1569 echo "$as_me: creating cache $cache_file" >&6;}
1573 # Check that the precious variables saved in the cache have kept the same
1575 ac_cache_corrupted=false
1576 for ac_var in $ac_precious_vars; do
1577 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1578 eval ac_new_set=\$ac_env_${ac_var}_set
1579 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1580 eval ac_new_val=\$ac_env_${ac_var}_value
1581 case $ac_old_set,$ac_new_set in
1583 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1584 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1585 ac_cache_corrupted=: ;;
1587 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1588 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1589 ac_cache_corrupted=: ;;
1592 if test "x$ac_old_val" != "x$ac_new_val"; then
1593 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1594 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1595 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1596 echo "$as_me: former value: $ac_old_val" >&2;}
1597 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1598 echo "$as_me: current value: $ac_new_val" >&2;}
1599 ac_cache_corrupted=:
1602 # Pass precious variables to config.status.
1603 if test "$ac_new_set" = set; then
1605 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1606 *) ac_arg=$ac_var=$ac_new_val ;;
1608 case " $ac_configure_args " in
1609 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1610 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1614 if $ac_cache_corrupted; then
1615 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1616 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1617 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1618 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1619 { (exit 1); exit 1; }; }
1647 ac_cpp='$CPP $CPPFLAGS'
1648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1654 am__api_version="1.9"
1656 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1657 if test -f "$ac_dir/install-sh"; then
1659 ac_install_sh="$ac_aux_dir/install-sh -c"
1661 elif test -f "$ac_dir/install.sh"; then
1663 ac_install_sh="$ac_aux_dir/install.sh -c"
1665 elif test -f "$ac_dir/shtool"; then
1667 ac_install_sh="$ac_aux_dir/shtool install -c"
1671 if test -z "$ac_aux_dir"; then
1672 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1673 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1674 { (exit 1); exit 1; }; }
1677 # These three variables are undocumented and unsupported,
1678 # and are intended to be withdrawn in a future Autoconf release.
1679 # They can cause serious problems if a builder's source tree is in a directory
1680 # whose full name contains unusual characters.
1681 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1682 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1683 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1686 # Find a good install program. We prefer a C program (faster),
1687 # so one script is as good as another. But avoid the broken or
1688 # incompatible versions:
1689 # SysV /etc/install, /usr/sbin/install
1690 # SunOS /usr/etc/install
1691 # IRIX /sbin/install
1693 # AmigaOS /C/install, which installs bootblocks on floppy discs
1694 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1695 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1696 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1697 # OS/2's system install, which has a completely different semantic
1698 # ./install, which can be erroneously created by make from ./install.sh.
1699 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1700 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1701 if test -z "$INSTALL"; then
1702 if test "${ac_cv_path_install+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 # Account for people who put trailing slashes in PATH elements.
1712 ./ | .// | /cC/* | \
1713 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1714 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1717 # OSF1 and SCO ODT 3.0 have their own names for install.
1718 # Don't use installbsd from OSF since it installs stuff as root
1720 for ac_prog in ginstall scoinst install; do
1721 for ac_exec_ext in '' $ac_executable_extensions; do
1722 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1723 if test $ac_prog = install &&
1724 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1725 # AIX install. It has an incompatible calling convention.
1727 elif test $ac_prog = install &&
1728 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1729 # program-specific install script used by HP pwplus--don't use.
1732 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1745 if test "${ac_cv_path_install+set}" = set; then
1746 INSTALL=$ac_cv_path_install
1748 # As a last resort, use the slow shell script. Don't cache a
1749 # value for INSTALL within a source directory, because that will
1750 # break other packages using the cache if that directory is
1751 # removed, or if the value is a relative name.
1752 INSTALL=$ac_install_sh
1755 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1756 echo "${ECHO_T}$INSTALL" >&6; }
1758 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1759 # It thinks the first close brace ends the variable substitution.
1760 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1762 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1764 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1766 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1767 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1770 echo timestamp > conftest.file
1771 # Do `set' in a subshell so we don't clobber the current shell's
1772 # arguments. Must try -L first in case configure is actually a
1773 # symlink; some systems play weird games with the mod time of symlinks
1774 # (eg FreeBSD returns the mod time of the symlink's containing
1777 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1778 if test "$*" = "X"; then
1780 set X `ls -t $srcdir/configure conftest.file`
1783 if test "$*" != "X $srcdir/configure conftest.file" \
1784 && test "$*" != "X conftest.file $srcdir/configure"; then
1786 # If neither matched, then we have a broken ls. This can happen
1787 # if, for instance, CONFIG_SHELL is bash and it inherits a
1788 # broken ls alias from the environment. This has actually
1789 # happened. Such a system could not be considered "sane".
1790 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1791 alias in your environment" >&5
1792 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1793 alias in your environment" >&2;}
1794 { (exit 1); exit 1; }; }
1797 test "$2" = conftest.file
1803 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1804 Check your system clock" >&5
1805 echo "$as_me: error: newly created file is older than distributed files!
1806 Check your system clock" >&2;}
1807 { (exit 1); exit 1; }; }
1809 { echo "$as_me:$LINENO: result: yes" >&5
1810 echo "${ECHO_T}yes" >&6; }
1811 test "$program_prefix" != NONE &&
1812 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1813 # Use a double $ so make ignores it.
1814 test "$program_suffix" != NONE &&
1815 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1816 # Double any \ or $. echo might interpret backslashes.
1817 # By default was `s,x,x', remove it if useless.
1818 cat <<\_ACEOF >conftest.sed
1819 s/[\\$]/&&/g;s/;s,x,x,$//
1821 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1824 # expand $ac_aux_dir to an absolute path
1825 am_aux_dir=`cd $ac_aux_dir && pwd`
1827 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1828 # Use eval to expand $SHELL
1829 if eval "$MISSING --run true"; then
1830 am_missing_run="$MISSING --run "
1833 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1834 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1837 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1838 # We used to keeping the `.' as first argument, in order to
1839 # allow $(mkdir_p) to be used without argument. As in
1840 # $(mkdir_p) $(somedir)
1841 # where $(somedir) is conditionally defined. However this is wrong
1843 # 1. if the package is installed by a user who cannot write `.'
1844 # make install will fail,
1845 # 2. the above comment should most certainly read
1846 # $(mkdir_p) $(DESTDIR)$(somedir)
1847 # so it does not work when $(somedir) is undefined and
1848 # $(DESTDIR) is not.
1849 # To support the latter case, we have to write
1850 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1851 # so the `.' trick is pointless.
1852 mkdir_p='mkdir -p --'
1854 # On NextStep and OpenStep, the `mkdir' command does not
1855 # recognize any option. It will interpret all options as
1856 # directories to create, and then abort because `.' already
1858 for d in ./-p ./--version;
1860 test -d $d && rmdir $d
1862 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1863 if test -f "$ac_aux_dir/mkinstalldirs"; then
1864 mkdir_p='$(mkinstalldirs)'
1866 mkdir_p='$(install_sh) -d'
1870 for ac_prog in gawk mawk nawk awk
1872 # Extract the first word of "$ac_prog", so it can be a program name with args.
1873 set dummy $ac_prog; ac_word=$2
1874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1876 if test "${ac_cv_prog_AWK+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 if test -n "$AWK"; then
1880 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir=.
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1889 ac_cv_prog_AWK="$ac_prog"
1890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 if test -n "$AWK"; then
1901 { echo "$as_me:$LINENO: result: $AWK" >&5
1902 echo "${ECHO_T}$AWK" >&6; }
1904 { echo "$as_me:$LINENO: result: no" >&5
1905 echo "${ECHO_T}no" >&6; }
1909 test -n "$AWK" && break
1912 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1913 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1914 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1915 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 cat >conftest.make <<\_ACEOF
1921 @echo '@@@%%%=$(MAKE)=@@@%%%'
1923 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1924 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1926 eval ac_cv_prog_make_${ac_make}_set=yes;;
1928 eval ac_cv_prog_make_${ac_make}_set=no;;
1932 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1933 { echo "$as_me:$LINENO: result: yes" >&5
1934 echo "${ECHO_T}yes" >&6; }
1937 { echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6; }
1939 SET_MAKE="MAKE=${MAKE-make}"
1942 rm -rf .tst 2>/dev/null
1943 mkdir .tst 2>/dev/null
1944 if test -d .tst; then
1949 rmdir .tst 2>/dev/null
1951 # test to see if srcdir already configured
1952 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1953 test -f $srcdir/config.status; then
1954 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1955 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1956 { (exit 1); exit 1; }; }
1959 # test whether we have cygpath
1960 if test -z "$CYGPATH_W"; then
1961 if (cygpath --version) >/dev/null 2>/dev/null; then
1962 CYGPATH_W='cygpath -w'
1969 # Define the identity of the package.
1970 PACKAGE='backupninja'
1974 cat >>confdefs.h <<_ACEOF
1975 #define PACKAGE "$PACKAGE"
1979 cat >>confdefs.h <<_ACEOF
1980 #define VERSION "$VERSION"
1983 # Some tools Automake needs.
1985 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1988 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1991 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1994 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1997 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1999 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2001 # Installed binaries are usually stripped using `strip' when the user
2002 # run `make install-strip'. However `strip' might not be the right
2003 # tool to use in cross-compilation environments, therefore Automake
2004 # will honor the `STRIP' environment variable to overrule this program.
2005 if test "$cross_compiling" != no; then
2006 if test -n "$ac_tool_prefix"; then
2007 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2008 set dummy ${ac_tool_prefix}strip; ac_word=$2
2009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2011 if test "${ac_cv_prog_STRIP+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 if test -n "$STRIP"; then
2015 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021 test -z "$as_dir" && as_dir=.
2022 for ac_exec_ext in '' $ac_executable_extensions; do
2023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2024 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 STRIP=$ac_cv_prog_STRIP
2035 if test -n "$STRIP"; then
2036 { echo "$as_me:$LINENO: result: $STRIP" >&5
2037 echo "${ECHO_T}$STRIP" >&6; }
2039 { echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6; }
2045 if test -z "$ac_cv_prog_STRIP"; then
2047 # Extract the first word of "strip", so it can be a program name with args.
2048 set dummy strip; ac_word=$2
2049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2051 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_STRIP"; then
2055 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2064 ac_cv_prog_ac_ct_STRIP="strip"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2075 if test -n "$ac_ct_STRIP"; then
2076 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2077 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2079 { echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6; }
2083 if test "x$ac_ct_STRIP" = x; then
2086 case $cross_compiling:$ac_tool_warned in
2088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2089 whose name does not start with the host triplet. If you think this
2090 configuration is useful to you, please write to autoconf@gnu.org." >&5
2091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2092 whose name does not start with the host triplet. If you think this
2093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2094 ac_tool_warned=yes ;;
2099 STRIP="$ac_cv_prog_STRIP"
2103 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2105 # We need awk for the "check" target. The system "awk" is bad on
2107 # Always define AMTAR for backward compatibility.
2109 AMTAR=${AMTAR-"${am_missing_run}tar"}
2111 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2118 # Checks for programs.
2120 # BASH may already be set in the shell, if the admin then changes the
2121 # the /bin/sh symlink to a non-bash shell, all hell will break lose.
2125 # Extract the first word of "$ac_prog", so it can be a program name with args.
2126 set dummy $ac_prog; ac_word=$2
2127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2129 if test "${ac_cv_path_BASH+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 as_dummy="$PATH:/bin:/usr/bin:/usr/sbin"
2139 for as_dir in $as_dummy
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 BASH=$ac_cv_path_BASH
2157 if test -n "$BASH"; then
2158 { echo "$as_me:$LINENO: result: $BASH" >&5
2159 echo "${ECHO_T}$BASH" >&6; }
2161 { echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6; }
2166 test -n "$BASH" && break
2168 test -n "$BASH" || BASH=""no""
2170 if test x$BASH = "xno"; then
2171 { { echo "$as_me:$LINENO: error: bash is required" >&5
2172 echo "$as_me: error: bash is required" >&2;}
2173 { (exit 1); exit 1; }; }
2178 # Extract the first word of "$ac_prog", so it can be a program name with args.
2179 set dummy $ac_prog; ac_word=$2
2180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2182 if test "${ac_cv_path_SED+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 ac_cv_path_SED="$SED" # Let the user override the test with a path.
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 if test -n "$SED"; then
2210 { echo "$as_me:$LINENO: result: $SED" >&5
2211 echo "${ECHO_T}$SED" >&6; }
2213 { echo "$as_me:$LINENO: result: no" >&5
2214 echo "${ECHO_T}no" >&6; }
2218 test -n "$SED" && break
2220 test -n "$SED" || SED=""no""
2222 if test x$SED = "xno"; then
2223 { { echo "$as_me:$LINENO: error: sed is required" >&5
2224 echo "$as_me: error: sed is required" >&2;}
2225 { (exit 1); exit 1; }; }
2232 # Extract the first word of "$ac_prog", so it can be a program name with args.
2233 set dummy $ac_prog; ac_word=$2
2234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2236 if test "${ac_cv_path_AWK+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 if test -n "$AWK"; then
2264 { echo "$as_me:$LINENO: result: $AWK" >&5
2265 echo "${ECHO_T}$AWK" >&6; }
2267 { echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6; }
2272 test -n "$AWK" && break
2274 test -n "$AWK" || AWK=""no""
2276 if test x$AWK = "xno"; then
2277 { { echo "$as_me:$LINENO: error: awk is required" >&5
2278 echo "$as_me: error: awk is required" >&2;}
2279 { (exit 1); exit 1; }; }
2284 for ac_prog in md5sum
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy $ac_prog; ac_word=$2
2288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2290 if test "${ac_cv_path_MD5SUM+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 ac_cv_path_MD5SUM="$MD5SUM" # Let the user override the test with a path.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_path_MD5SUM="$as_dir/$ac_word$ac_exec_ext"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 MD5SUM=$ac_cv_path_MD5SUM
2317 if test -n "$MD5SUM"; then
2318 { echo "$as_me:$LINENO: result: $MD5SUM" >&5
2319 echo "${ECHO_T}$MD5SUM" >&6; }
2321 { echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6; }
2326 test -n "$MD5SUM" && break
2328 test -n "$MD5SUM" || MD5SUM=""no""
2330 if test x$MD5SUM = "xno"; then
2331 { { echo "$as_me:$LINENO: error: md5sum is required" >&5
2332 echo "$as_me: error: md5sum is required" >&2;}
2333 { (exit 1); exit 1; }; }
2336 # Extract the first word of "rpm", so it can be a program name with args.
2337 set dummy rpm; ac_word=$2
2338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2340 if test "${ac_cv_prog_ac_cv_have_rpm+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$ac_cv_have_rpm"; then
2344 ac_cv_prog_ac_cv_have_rpm="$ac_cv_have_rpm" # Let the user override the test.
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353 ac_cv_prog_ac_cv_have_rpm=""yes""
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 test -z "$ac_cv_prog_ac_cv_have_rpm" && ac_cv_prog_ac_cv_have_rpm=""no""
2364 ac_cv_have_rpm=$ac_cv_prog_ac_cv_have_rpm
2365 if test -n "$ac_cv_have_rpm"; then
2366 { echo "$as_me:$LINENO: result: $ac_cv_have_rpm" >&5
2367 echo "${ECHO_T}$ac_cv_have_rpm" >&6; }
2369 { echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6; }
2374 if test "x$ac_cv_have_rpm" = "xyes"; then
2375 rpm --define '_topdir /tmp' > /dev/null 2>&1
2376 { echo "$as_me:$LINENO: checking to see if we can redefine _topdir" >&5
2377 echo $ECHO_N "checking to see if we can redefine _topdir... $ECHO_C" >&6; }
2378 if test $? -eq 0 ; then
2379 { echo "$as_me:$LINENO: result: yes" >&5
2380 echo "${ECHO_T}yes" >&6; }
2383 { echo "$as_me:$LINENO: result: no. You'll have to build packages manually." >&5
2384 echo "${ECHO_T}no. You'll have to build packages manually." >&6; }
2390 # Extract the first word of "rpm", so it can be a program name with args.
2391 set dummy rpm; ac_word=$2
2392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2394 if test "${ac_cv_prog_ac_cv_have_rpm+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 if test -n "$ac_cv_have_rpm"; then
2398 ac_cv_prog_ac_cv_have_rpm="$ac_cv_have_rpm" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2407 ac_cv_prog_ac_cv_have_rpm=""yes""
2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 test -z "$ac_cv_prog_ac_cv_have_rpm" && ac_cv_prog_ac_cv_have_rpm=""no""
2418 ac_cv_have_rpm=$ac_cv_prog_ac_cv_have_rpm
2419 if test -n "$ac_cv_have_rpm"; then
2420 { echo "$as_me:$LINENO: result: $ac_cv_have_rpm" >&5
2421 echo "${ECHO_T}$ac_cv_have_rpm" >&6; }
2423 { echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6; }
2428 if test "x$ac_cv_have_rpm" = "xyes"; then
2429 rpm --define '_topdir /tmp' > /dev/null 2>&1
2430 { echo "$as_me:$LINENO: checking to see if we can redefine _topdir" >&5
2431 echo $ECHO_N "checking to see if we can redefine _topdir... $ECHO_C" >&6; }
2432 if test $? -eq 0 ; then
2433 { echo "$as_me:$LINENO: result: yes" >&5
2434 echo "${ECHO_T}yes" >&6; }
2437 { echo "$as_me:$LINENO: result: no. You'll have to build packages manually." >&5
2438 echo "${ECHO_T}no. You'll have to build packages manually." >&6; }
2444 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2445 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2447 if test "$LN_S" = "ln -s"; then
2448 { echo "$as_me:$LINENO: result: yes" >&5
2449 echo "${ECHO_T}yes" >&6; }
2451 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2452 echo "${ECHO_T}no, using $LN_S" >&6; }
2456 CFGDIR="${sysconfdir}"
2459 ac_config_files="$ac_config_files Makefile etc/Makefile examples/Makefile handlers/Makefile lib/Makefile man/Makefile src/Makefile"
2462 ac_config_files="$ac_config_files backupninja.spec"
2464 cat >confcache <<\_ACEOF
2465 # This file is a shell script that caches the results of configure
2466 # tests run on this system so they can be shared between configure
2467 # scripts and configure runs, see configure's option --config-cache.
2468 # It is not useful on other systems. If it contains results you don't
2469 # want to keep, you may remove or edit it.
2471 # config.status only pays attention to the cache file if you give it
2472 # the --recheck option to rerun configure.
2474 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2475 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2480 # The following way of writing the cache mishandles newlines in values,
2481 # but we know of no workaround that is simple, portable, and efficient.
2482 # So, we kill variables containing newlines.
2483 # Ultrix sh set writes to stderr and can't be redirected directly,
2484 # and sets the high bit in the cache file unless we assign to the vars.
2486 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2487 eval ac_val=\$$ac_var
2491 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2492 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2495 _ | IFS | as_nl) ;; #(
2496 *) $as_unset $ac_var ;;
2502 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2503 *${as_nl}ac_space=\ *)
2504 # `set' does not quote correctly, so add quotes (double-quote
2505 # substitution turns \\\\ into \\, and sed turns \\ into \).
2508 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2511 # `set' quotes correctly as required by POSIX, so do not add quotes.
2512 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2521 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2523 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2525 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2526 if test -w "$cache_file"; then
2527 test "x$cache_file" != "x/dev/null" &&
2528 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2529 echo "$as_me: updating cache $cache_file" >&6;}
2530 cat confcache >$cache_file
2532 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2533 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2538 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2539 # Let make expand exec_prefix.
2540 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2542 # Transform confdefs.h into DEFS.
2543 # Protect against shell expansion while executing Makefile rules.
2544 # Protect against Makefile macro expansion.
2546 # If the first sed substitution is executed (which looks for macros that
2547 # take arguments), then branch to the quote section. Otherwise,
2548 # look for a macro that doesn't take arguments.
2552 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2554 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2558 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2571 DEFS=`sed -n "$ac_script" confdefs.h`
2576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2577 # 1. Remove the extension, and $U if already installed.
2578 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2579 ac_i=`echo "$ac_i" | sed "$ac_script"`
2580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2581 # will be set to the directory where LIBOBJS objects are built.
2582 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2583 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2587 LTLIBOBJS=$ac_ltlibobjs
2591 : ${CONFIG_STATUS=./config.status}
2592 ac_clean_files_save=$ac_clean_files
2593 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2594 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2595 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2596 cat >$CONFIG_STATUS <<_ACEOF
2598 # Generated by $as_me.
2599 # Run this file to recreate the current configuration.
2600 # Compiler output produced by configure, useful for debugging
2601 # configure, is in config.log if it exists.
2606 SHELL=\${CONFIG_SHELL-$SHELL}
2609 cat >>$CONFIG_STATUS <<\_ACEOF
2610 ## --------------------- ##
2611 ## M4sh Initialization. ##
2612 ## --------------------- ##
2614 # Be more Bourne compatible
2615 DUALCASE=1; export DUALCASE # for MKS sh
2616 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2619 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2620 # is contrary to our usage. Disable this feature.
2621 alias -g '${1+"$@"}'='"$@"'
2622 setopt NO_GLOB_SUBST
2624 case `(set -o) 2>/dev/null` in
2625 *posix*) set -o posix ;;
2634 # Avoid depending upon Character Ranges.
2635 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2636 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2637 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2638 as_cr_digits='0123456789'
2639 as_cr_alnum=$as_cr_Letters$as_cr_digits
2641 # The user is always right.
2642 if test "${PATH_SEPARATOR+set}" != set; then
2643 echo "#! /bin/sh" >conf$$.sh
2644 echo "exit 0" >>conf$$.sh
2646 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2654 # Support unset when possible.
2655 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2663 # We need space, tab and new line, in precisely that order. Quoting is
2664 # there to prevent editors from complaining about space-tab.
2665 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2666 # splitting by setting IFS to empty value.)
2671 # Find who we are. Look in the path if we contain no directory separator.
2673 *[\\/]* ) as_myself=$0 ;;
2674 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2685 # We did not find ourselves, most probably we were run as `sh COMMAND'
2686 # in which case we are not to be found in the path.
2687 if test "x$as_myself" = x; then
2690 if test ! -f "$as_myself"; then
2691 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2692 { (exit 1); exit 1; }
2695 # Work around bugs in pre-3.0 UWIN ksh.
2696 for as_var in ENV MAIL MAILPATH
2697 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2705 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2706 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2707 LC_TELEPHONE LC_TIME
2709 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2710 eval $as_var=C; export $as_var
2712 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2716 # Required to use basename.
2717 if expr a : '\(a\)' >/dev/null 2>&1 &&
2718 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2724 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2725 as_basename=basename
2731 # Name of the executable.
2732 as_me=`$as_basename -- "$0" ||
2733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2734 X"$0" : 'X\(//\)$' \| \
2735 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2737 sed '/^.*\/\([^/][^/]*\)\/*$/{
2758 test "x$as_lineno_1" != "x$as_lineno_2" &&
2759 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2761 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2762 # uniformly replaced by the line number. The first 'sed' inserts a
2763 # line-number line after each line using $LINENO; the second 'sed'
2764 # does the real work. The second script uses 'N' to pair each
2765 # line-number line with the line containing $LINENO, and appends
2766 # trailing '-' during substitution so that $LINENO is not a special
2768 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2769 # scripts with optimization help from Paolo Bonzini. Blame Lee
2770 # E. McMahon (1931-1989) for sed's syntax. :-)
2782 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2786 chmod +x "$as_me.lineno" ||
2787 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2788 { (exit 1); exit 1; }; }
2790 # Don't try to exec as it changes $[0], causing all sort of problems
2791 # (the dirname of $[0] is not the place where we might find the
2792 # original and so on. Autoconf is especially sensitive to this).
2794 # Exit status is that of the last command.
2799 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2805 ECHO_C= ECHO_N= ECHO_T=
2808 case `echo 'x\c'` in
2809 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2816 if expr a : '\(a\)' >/dev/null 2>&1 &&
2817 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2823 rm -f conf$$ conf$$.exe conf$$.file
2824 if test -d conf$$.dir; then
2825 rm -f conf$$.dir/conf$$.file
2831 if ln -s conf$$.file conf$$ 2>/dev/null; then
2833 # ... but there are two gotchas:
2834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2836 # In both cases, we have to default to `cp -p'.
2837 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2839 elif ln conf$$.file conf$$ 2>/dev/null; then
2844 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2845 rmdir conf$$.dir 2>/dev/null
2847 if mkdir -p . 2>/dev/null; then
2850 test -d ./-p && rmdir ./-p
2854 if test -x / >/dev/null 2>&1; then
2857 if ls -dL / >/dev/null 2>&1; then
2864 if test -d "$1"; then
2870 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2871 ???[sx]*):;;*)false;;esac;fi
2875 as_executable_p=$as_test_x
2877 # Sed expression to map a string onto a valid CPP name.
2878 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2880 # Sed expression to map a string onto a valid variable name.
2881 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2886 # Save the log message, to keep $[0] and so on meaningful, and to
2887 # report actual input values of CONFIG_FILES etc. instead of their
2888 # values after options handling.
2890 This file was extended by backupninja $as_me 0.9.5, which was
2891 generated by GNU Autoconf 2.61. Invocation command line was
2893 CONFIG_FILES = $CONFIG_FILES
2894 CONFIG_HEADERS = $CONFIG_HEADERS
2895 CONFIG_LINKS = $CONFIG_LINKS
2896 CONFIG_COMMANDS = $CONFIG_COMMANDS
2899 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2904 cat >>$CONFIG_STATUS <<_ACEOF
2905 # Files that config.status was made for.
2906 config_files="$ac_config_files"
2910 cat >>$CONFIG_STATUS <<\_ACEOF
2912 \`$as_me' instantiates files from templates according to the
2913 current configuration.
2915 Usage: $0 [OPTIONS] [FILE]...
2917 -h, --help print this help, then exit
2918 -V, --version print version number and configuration settings, then exit
2919 -q, --quiet do not print progress messages
2920 -d, --debug don't remove temporary files
2921 --recheck update $as_me by reconfiguring in the same conditions
2922 --file=FILE[:TEMPLATE]
2923 instantiate the configuration file FILE
2925 Configuration files:
2928 Report bugs to <bug-autoconf@gnu.org>."
2931 cat >>$CONFIG_STATUS <<_ACEOF
2933 backupninja config.status 0.9.5
2934 configured by $0, generated by GNU Autoconf 2.61,
2935 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2937 Copyright (C) 2006 Free Software Foundation, Inc.
2938 This config.status script is free software; the Free Software Foundation
2939 gives unlimited permission to copy, distribute and modify it."
2946 cat >>$CONFIG_STATUS <<\_ACEOF
2947 # If no file are specified by the user, then we need to provide default
2948 # value. By we need to know if files were specified by the user.
2954 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2955 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2966 # Handling of the options.
2967 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2969 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2970 echo "$ac_cs_version"; exit ;;
2971 --debug | --debu | --deb | --de | --d | -d )
2973 --file | --fil | --fi | --f )
2975 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2976 ac_need_defaults=false;;
2977 --he | --h | --help | --hel | -h )
2978 echo "$ac_cs_usage"; exit ;;
2979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2980 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2984 -*) { echo "$as_me: error: unrecognized option: $1
2985 Try \`$0 --help' for more information." >&2
2986 { (exit 1); exit 1; }; } ;;
2988 *) ac_config_targets="$ac_config_targets $1"
2989 ac_need_defaults=false ;;
2995 ac_configure_extra_args=
2997 if $ac_cs_silent; then
2999 ac_configure_extra_args="$ac_configure_extra_args --silent"
3003 cat >>$CONFIG_STATUS <<_ACEOF
3004 if \$ac_cs_recheck; then
3005 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3008 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3012 cat >>$CONFIG_STATUS <<\_ACEOF
3016 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3017 ## Running $as_me. ##
3023 cat >>$CONFIG_STATUS <<_ACEOF
3026 cat >>$CONFIG_STATUS <<\_ACEOF
3028 # Handling of arguments.
3029 for ac_config_target in $ac_config_targets
3031 case $ac_config_target in
3032 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3033 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
3034 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
3035 "handlers/Makefile") CONFIG_FILES="$CONFIG_FILES handlers/Makefile" ;;
3036 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3037 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3038 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3039 "backupninja.spec") CONFIG_FILES="$CONFIG_FILES backupninja.spec" ;;
3041 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3042 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3043 { (exit 1); exit 1; }; };;
3048 # If the user did not use the arguments to specify the items to instantiate,
3049 # then the envvar interface is used. Set only those that are not.
3050 # We use the long form for the default assignment because of an extremely
3051 # bizarre bug on SunOS 4.1.3.
3052 if $ac_need_defaults; then
3053 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3056 # Have a temporary directory for convenience. Make it in the build tree
3057 # simply because there is no reason against having it here, and in addition,
3058 # creating and moving files from /tmp can sometimes cause problems.
3059 # Hook for its removal unless debugging.
3060 # Note that there is a small window in which the directory will not be cleaned:
3061 # after its creation but before its name has been assigned to `$tmp'.
3065 trap 'exit_status=$?
3066 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3068 trap '{ (exit 1); exit 1; }' 1 2 13 15
3070 # Create a (secure) tmp directory for tmp files.
3073 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3074 test -n "$tmp" && test -d "$tmp"
3077 tmp=./conf$$-$RANDOM
3078 (umask 077 && mkdir "$tmp")
3081 echo "$me: cannot create a temporary directory in ." >&2
3082 { (exit 1); exit 1; }
3086 # Set up the sed scripts for CONFIG_FILES section.
3089 # No need to generate the scripts if there are no CONFIG_FILES.
3090 # This happens for instance when ./config.status config.h
3091 if test -n "$CONFIG_FILES"; then
3098 for ac_last_try in false false false false false :; do
3099 cat >conf$$subs.sed <<_ACEOF
3100 SHELL!$SHELL$ac_delim
3101 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3102 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3103 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3104 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3105 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3106 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3107 exec_prefix!$exec_prefix$ac_delim
3108 prefix!$prefix$ac_delim
3109 program_transform_name!$program_transform_name$ac_delim
3110 bindir!$bindir$ac_delim
3111 sbindir!$sbindir$ac_delim
3112 libexecdir!$libexecdir$ac_delim
3113 datarootdir!$datarootdir$ac_delim
3114 datadir!$datadir$ac_delim
3115 sysconfdir!$sysconfdir$ac_delim
3116 sharedstatedir!$sharedstatedir$ac_delim
3117 localstatedir!$localstatedir$ac_delim
3118 includedir!$includedir$ac_delim
3119 oldincludedir!$oldincludedir$ac_delim
3120 docdir!$docdir$ac_delim
3121 infodir!$infodir$ac_delim
3122 htmldir!$htmldir$ac_delim
3123 dvidir!$dvidir$ac_delim
3124 pdfdir!$pdfdir$ac_delim
3125 psdir!$psdir$ac_delim
3126 libdir!$libdir$ac_delim
3127 localedir!$localedir$ac_delim
3128 mandir!$mandir$ac_delim
3130 ECHO_C!$ECHO_C$ac_delim
3131 ECHO_N!$ECHO_N$ac_delim
3132 ECHO_T!$ECHO_T$ac_delim
3134 build_alias!$build_alias$ac_delim
3135 host_alias!$host_alias$ac_delim
3136 target_alias!$target_alias$ac_delim
3137 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3138 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3139 INSTALL_DATA!$INSTALL_DATA$ac_delim
3140 CYGPATH_W!$CYGPATH_W$ac_delim
3141 PACKAGE!$PACKAGE$ac_delim
3142 VERSION!$VERSION$ac_delim
3143 ACLOCAL!$ACLOCAL$ac_delim
3144 AUTOCONF!$AUTOCONF$ac_delim
3145 AUTOMAKE!$AUTOMAKE$ac_delim
3146 AUTOHEADER!$AUTOHEADER$ac_delim
3147 MAKEINFO!$MAKEINFO$ac_delim
3148 install_sh!$install_sh$ac_delim
3149 STRIP!$STRIP$ac_delim
3150 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3151 mkdir_p!$mkdir_p$ac_delim
3153 SET_MAKE!$SET_MAKE$ac_delim
3154 am__leading_dot!$am__leading_dot$ac_delim
3155 AMTAR!$AMTAR$ac_delim
3156 am__tar!$am__tar$ac_delim
3157 am__untar!$am__untar$ac_delim
3160 MD5SUM!$MD5SUM$ac_delim
3161 ac_cv_have_rpm!$ac_cv_have_rpm$ac_delim
3162 HAVE_RPM!$HAVE_RPM$ac_delim
3164 CFGDIR!$CFGDIR$ac_delim
3165 LIBOBJS!$LIBOBJS$ac_delim
3166 LTLIBOBJS!$LTLIBOBJS$ac_delim
3169 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
3171 elif $ac_last_try; then
3172 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3173 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3174 { (exit 1); exit 1; }; }
3176 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3180 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3181 if test -n "$ac_eof"; then
3182 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3183 ac_eof=`expr $ac_eof + 1`
3186 cat >>$CONFIG_STATUS <<_ACEOF
3187 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3191 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3192 s/^/s,@/; s/!/@,|#_!!_#|/
3195 s/'"$ac_delim"'$/,g/; t
3197 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3198 ' >>$CONFIG_STATUS <conf$$subs.sed
3199 rm -f conf$$subs.sed
3200 cat >>$CONFIG_STATUS <<_ACEOF
3207 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3208 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3209 # trailing colons and then remove the whole line if VPATH becomes empty
3210 # (actually we leave an empty line to preserve line numbers).
3211 if test "x$srcdir" = x.; then
3212 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3216 s/^\([^=]*=[ ]*\):*/\1/
3222 cat >>$CONFIG_STATUS <<\_ACEOF
3223 fi # test -n "$CONFIG_FILES"
3226 for ac_tag in :F $CONFIG_FILES
3229 :[FHLC]) ac_mode=$ac_tag; continue;;
3231 case $ac_mode$ac_tag in
3233 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3234 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3235 { (exit 1); exit 1; }; };;
3236 :[FH]-) ac_tag=-:-;;
3237 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3254 -) ac_f="$tmp/stdin";;
3255 *) # Look for the file first in the build tree, then in the source tree
3256 # (if the path is not absolute). The absolute path cannot be DOS-style,
3257 # because $ac_f cannot contain `:'.
3261 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3263 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3264 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3265 { (exit 1); exit 1; }; };;
3267 ac_file_inputs="$ac_file_inputs $ac_f"
3270 # Let's still pretend it is `configure' which instantiates (i.e., don't
3271 # use $as_me), people would be surprised to read:
3272 # /* config.h. Generated by config.status. */
3273 configure_input="Generated from "`IFS=:
3274 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3275 if test x"$ac_file" != x-; then
3276 configure_input="$ac_file. $configure_input"
3277 { echo "$as_me:$LINENO: creating $ac_file" >&5
3278 echo "$as_me: creating $ac_file" >&6;}
3282 *:-:* | *:-) cat >"$tmp/stdin";;
3287 ac_dir=`$as_dirname -- "$ac_file" ||
3288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3289 X"$ac_file" : 'X\(//\)[^/]' \| \
3290 X"$ac_file" : 'X\(//\)$' \| \
3291 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3312 -*) as_dir=./$as_dir;;
3314 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3318 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3319 *) as_qdir=$as_dir;;
3321 as_dirs="'$as_qdir' $as_dirs"
3322 as_dir=`$as_dirname -- "$as_dir" ||
3323 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3324 X"$as_dir" : 'X\(//\)[^/]' \| \
3325 X"$as_dir" : 'X\(//\)$' \| \
3326 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3345 test -d "$as_dir" && break
3347 test -z "$as_dirs" || eval "mkdir $as_dirs"
3348 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3349 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3350 { (exit 1); exit 1; }; }; }
3354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3357 # A ".." for each directory in $ac_dir_suffix.
3358 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3359 case $ac_top_builddir_sub in
3360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3364 ac_abs_top_builddir=$ac_pwd
3365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3366 # for backward compatibility:
3367 ac_top_builddir=$ac_top_build_prefix
3370 .) # We are building in place.
3372 ac_top_srcdir=$ac_top_builddir_sub
3373 ac_abs_top_srcdir=$ac_pwd ;;
3374 [\\/]* | ?:[\\/]* ) # Absolute name.
3375 ac_srcdir=$srcdir$ac_dir_suffix;
3376 ac_top_srcdir=$srcdir
3377 ac_abs_top_srcdir=$srcdir ;;
3379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3380 ac_top_srcdir=$ac_top_build_prefix$srcdir
3381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3393 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3394 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3398 cat >>$CONFIG_STATUS <<\_ACEOF
3399 # If the template does not know about datarootdir, expand it.
3400 # FIXME: This hack should be removed a few years after 2.60.
3401 ac_datarootdir_hack=; ac_datarootdir_seen=
3403 case `sed -n '/datarootdir/ {
3412 ' $ac_file_inputs` in
3413 *datarootdir*) ac_datarootdir_seen=yes;;
3414 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3415 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3416 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3418 cat >>$CONFIG_STATUS <<_ACEOF
3419 ac_datarootdir_hack='
3420 s&@datadir@&$datadir&g
3421 s&@docdir@&$docdir&g
3422 s&@infodir@&$infodir&g
3423 s&@localedir@&$localedir&g
3424 s&@mandir@&$mandir&g
3425 s&\\\${datarootdir}&$datarootdir&g' ;;
3429 # Neutralize VPATH when `$srcdir' = `.'.
3430 # Shell code in configure.ac might set extrasub.
3431 # FIXME: do we really want to maintain this feature?
3432 cat >>$CONFIG_STATUS <<_ACEOF
3436 cat >>$CONFIG_STATUS <<\_ACEOF
3438 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3439 s&@configure_input@&$configure_input&;t t
3440 s&@top_builddir@&$ac_top_builddir_sub&;t t
3441 s&@srcdir@&$ac_srcdir&;t t
3442 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3443 s&@top_srcdir@&$ac_top_srcdir&;t t
3444 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3445 s&@builddir@&$ac_builddir&;t t
3446 s&@abs_builddir@&$ac_abs_builddir&;t t
3447 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3448 s&@INSTALL@&$ac_INSTALL&;t t
3449 $ac_datarootdir_hack
3450 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3452 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3453 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3454 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3455 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3456 which seems to be undefined. Please make sure it is defined." >&5
3457 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3458 which seems to be undefined. Please make sure it is defined." >&2;}
3462 -) cat "$tmp/out"; rm -f "$tmp/out";;
3463 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3474 { (exit 0); exit 0; }
3476 chmod +x $CONFIG_STATUS
3477 ac_clean_files=$ac_clean_files_save
3480 # configure is writing to config.log, and then calls config.status.
3481 # config.status does its own redirection, appending to config.log.
3482 # Unfortunately, on DOS this fails, as config.log is still kept open
3483 # by configure, so config.status won't be able to write to it; its
3484 # output is simply discarded. So we exec the FD to /dev/null,
3485 # effectively closing config.log, so it can be properly (re)opened and
3486 # appended to by config.status. When coming back to configure, we
3487 # need to make the FD available again.
3488 if test "$no_create" != yes; then
3490 ac_config_status_args=
3491 test "$silent" = yes &&
3492 ac_config_status_args="$ac_config_status_args --quiet"
3494 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3496 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3497 # would make configure fail if this is the last instruction.
3498 $ac_cs_success || { (exit 1); exit 1; }