2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for backupninja 0.9.6.
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.6'
578 PACKAGE_STRING='backupninja 0.9.6'
579 PACKAGE_BUGREPORT='backupninja@lists.riseup.net'
581 ac_unique_file="src/backupninja.in"
591 program_transform_name
633 INSTALL_STRIP_PROGRAM
651 ac_precious_vars='build_alias
656 # Initialize some variables set by options.
658 ac_init_version=false
659 # The variables have the same names as the options, with
660 # dashes changed to underlines.
668 program_transform_name=s,x,x,
676 # Installation directory options.
677 # These are left unexpanded so users can "make install exec_prefix=/foo"
678 # and all the variables that are supposed to be based on exec_prefix
679 # by default will actually change.
680 # Use braces instead of parens because sh, perl, etc. also accept them.
681 # (The list follows the same order as the GNU Coding Standards.)
682 bindir='${exec_prefix}/bin'
683 sbindir='${exec_prefix}/sbin'
684 libexecdir='${exec_prefix}/libexec'
685 datarootdir='${prefix}/share'
686 datadir='${datarootdir}'
687 sysconfdir='${prefix}/etc'
688 sharedstatedir='${prefix}/com'
689 localstatedir='${prefix}/var'
690 includedir='${prefix}/include'
691 oldincludedir='/usr/include'
692 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
693 infodir='${datarootdir}/info'
698 libdir='${exec_prefix}/lib'
699 localedir='${datarootdir}/locale'
700 mandir='${datarootdir}/man'
706 # If the previous option needs an argument, assign it.
707 if test -n "$ac_prev"; then
708 eval $ac_prev=\$ac_option
714 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
718 # Accept the important Cygnus configure options, so we can diagnose typos.
720 case $ac_dashdash$ac_option in
724 -bindir | --bindir | --bindi | --bind | --bin | --bi)
726 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
729 -build | --build | --buil | --bui | --bu)
730 ac_prev=build_alias ;;
731 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
732 build_alias=$ac_optarg ;;
734 -cache-file | --cache-file | --cache-fil | --cache-fi \
735 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
736 ac_prev=cache_file ;;
737 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
738 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
739 cache_file=$ac_optarg ;;
742 cache_file=config.cache ;;
744 -datadir | --datadir | --datadi | --datad)
746 -datadir=* | --datadir=* | --datadi=* | --datad=*)
747 datadir=$ac_optarg ;;
749 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
750 | --dataroo | --dataro | --datar)
751 ac_prev=datarootdir ;;
752 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
753 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
754 datarootdir=$ac_optarg ;;
756 -disable-* | --disable-*)
757 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
761 { (exit 1); exit 1; }; }
762 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
763 eval enable_$ac_feature=no ;;
765 -docdir | --docdir | --docdi | --doc | --do)
767 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
770 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
772 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
775 -enable-* | --enable-*)
776 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
777 # Reject names that are not valid shell variable names.
778 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
779 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
780 { (exit 1); exit 1; }; }
781 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
782 eval enable_$ac_feature=\$ac_optarg ;;
784 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
785 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
786 | --exec | --exe | --ex)
787 ac_prev=exec_prefix ;;
788 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
789 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
790 | --exec=* | --exe=* | --ex=*)
791 exec_prefix=$ac_optarg ;;
793 -gas | --gas | --ga | --g)
794 # Obsolete; use --with-gas.
797 -help | --help | --hel | --he | -h)
799 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
800 ac_init_help=recursive ;;
801 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
802 ac_init_help=short ;;
804 -host | --host | --hos | --ho)
805 ac_prev=host_alias ;;
806 -host=* | --host=* | --hos=* | --ho=*)
807 host_alias=$ac_optarg ;;
809 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
811 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
813 htmldir=$ac_optarg ;;
815 -includedir | --includedir | --includedi | --included | --include \
816 | --includ | --inclu | --incl | --inc)
817 ac_prev=includedir ;;
818 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
819 | --includ=* | --inclu=* | --incl=* | --inc=*)
820 includedir=$ac_optarg ;;
822 -infodir | --infodir | --infodi | --infod | --info | --inf)
824 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
825 infodir=$ac_optarg ;;
827 -libdir | --libdir | --libdi | --libd)
829 -libdir=* | --libdir=* | --libdi=* | --libd=*)
832 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
833 | --libexe | --libex | --libe)
834 ac_prev=libexecdir ;;
835 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
836 | --libexe=* | --libex=* | --libe=*)
837 libexecdir=$ac_optarg ;;
839 -localedir | --localedir | --localedi | --localed | --locale)
841 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
842 localedir=$ac_optarg ;;
844 -localstatedir | --localstatedir | --localstatedi | --localstated \
845 | --localstate | --localstat | --localsta | --localst | --locals)
846 ac_prev=localstatedir ;;
847 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
848 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
849 localstatedir=$ac_optarg ;;
851 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
853 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
857 # Obsolete; use --without-fp.
860 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
861 | --no-cr | --no-c | -n)
864 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
865 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
868 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
869 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
870 | --oldin | --oldi | --old | --ol | --o)
871 ac_prev=oldincludedir ;;
872 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
873 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
874 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
875 oldincludedir=$ac_optarg ;;
877 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
879 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
882 -program-prefix | --program-prefix | --program-prefi | --program-pref \
883 | --program-pre | --program-pr | --program-p)
884 ac_prev=program_prefix ;;
885 -program-prefix=* | --program-prefix=* | --program-prefi=* \
886 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
887 program_prefix=$ac_optarg ;;
889 -program-suffix | --program-suffix | --program-suffi | --program-suff \
890 | --program-suf | --program-su | --program-s)
891 ac_prev=program_suffix ;;
892 -program-suffix=* | --program-suffix=* | --program-suffi=* \
893 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
894 program_suffix=$ac_optarg ;;
896 -program-transform-name | --program-transform-name \
897 | --program-transform-nam | --program-transform-na \
898 | --program-transform-n | --program-transform- \
899 | --program-transform | --program-transfor \
900 | --program-transfo | --program-transf \
901 | --program-trans | --program-tran \
902 | --progr-tra | --program-tr | --program-t)
903 ac_prev=program_transform_name ;;
904 -program-transform-name=* | --program-transform-name=* \
905 | --program-transform-nam=* | --program-transform-na=* \
906 | --program-transform-n=* | --program-transform-=* \
907 | --program-transform=* | --program-transfor=* \
908 | --program-transfo=* | --program-transf=* \
909 | --program-trans=* | --program-tran=* \
910 | --progr-tra=* | --program-tr=* | --program-t=*)
911 program_transform_name=$ac_optarg ;;
913 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
915 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
918 -psdir | --psdir | --psdi | --psd | --ps)
920 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
924 | -silent | --silent | --silen | --sile | --sil)
927 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
929 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
931 sbindir=$ac_optarg ;;
933 -sharedstatedir | --sharedstatedir | --sharedstatedi \
934 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
935 | --sharedst | --shareds | --shared | --share | --shar \
937 ac_prev=sharedstatedir ;;
938 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
939 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
940 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
942 sharedstatedir=$ac_optarg ;;
944 -site | --site | --sit)
946 -site=* | --site=* | --sit=*)
949 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
951 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
954 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
955 | --syscon | --sysco | --sysc | --sys | --sy)
956 ac_prev=sysconfdir ;;
957 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
958 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
959 sysconfdir=$ac_optarg ;;
961 -target | --target | --targe | --targ | --tar | --ta | --t)
962 ac_prev=target_alias ;;
963 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
964 target_alias=$ac_optarg ;;
966 -v | -verbose | --verbose | --verbos | --verbo | --verb)
969 -version | --version | --versio | --versi | --vers | -V)
973 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
976 { echo "$as_me: error: invalid package name: $ac_package" >&2
977 { (exit 1); exit 1; }; }
978 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
979 eval with_$ac_package=\$ac_optarg ;;
981 -without-* | --without-*)
982 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
985 { echo "$as_me: error: invalid package name: $ac_package" >&2
986 { (exit 1); exit 1; }; }
987 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
988 eval with_$ac_package=no ;;
991 # Obsolete; use --with-x.
994 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
995 | --x-incl | --x-inc | --x-in | --x-i)
996 ac_prev=x_includes ;;
997 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
998 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
999 x_includes=$ac_optarg ;;
1001 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1002 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1003 ac_prev=x_libraries ;;
1004 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1005 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1006 x_libraries=$ac_optarg ;;
1008 -*) { echo "$as_me: error: unrecognized option: $ac_option
1009 Try \`$0 --help' for more information." >&2
1010 { (exit 1); exit 1; }; }
1014 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1017 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1018 { (exit 1); exit 1; }; }
1019 eval $ac_envvar=\$ac_optarg
1020 export $ac_envvar ;;
1023 # FIXME: should be removed in autoconf 3.0.
1024 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1025 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1026 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1027 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1033 if test -n "$ac_prev"; then
1034 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1035 { echo "$as_me: error: missing argument to $ac_option" >&2
1036 { (exit 1); exit 1; }; }
1039 # Be sure to have absolute directory names.
1040 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1041 datadir sysconfdir sharedstatedir localstatedir includedir \
1042 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1043 libdir localedir mandir
1045 eval ac_val=\$$ac_var
1047 [\\/$]* | ?:[\\/]* ) continue;;
1048 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1050 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1051 { (exit 1); exit 1; }; }
1054 # There might be people who depend on the old broken behavior: `$host'
1055 # used to hold the argument of --host etc.
1056 # FIXME: To remove some day.
1059 target=$target_alias
1061 # FIXME: To remove some day.
1062 if test "x$host_alias" != x; then
1063 if test "x$build_alias" = x; then
1064 cross_compiling=maybe
1065 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1066 If a cross compiler is detected then cross compile mode will be used." >&2
1067 elif test "x$build_alias" != "x$host_alias"; then
1073 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1075 test "$silent" = yes && exec 6>/dev/null
1078 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1079 ac_ls_di=`ls -di .` &&
1080 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1081 { echo "$as_me: error: Working directory cannot be determined" >&2
1082 { (exit 1); exit 1; }; }
1083 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1084 { echo "$as_me: error: pwd does not report name of working directory" >&2
1085 { (exit 1); exit 1; }; }
1088 # Find the source files, if location was not specified.
1089 if test -z "$srcdir"; then
1090 ac_srcdir_defaulted=yes
1091 # Try the directory containing this script, then the parent directory.
1092 ac_confdir=`$as_dirname -- "$0" ||
1093 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1094 X"$0" : 'X\(//\)[^/]' \| \
1095 X"$0" : 'X\(//\)$' \| \
1096 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1116 if test ! -r "$srcdir/$ac_unique_file"; then
1120 ac_srcdir_defaulted=no
1122 if test ! -r "$srcdir/$ac_unique_file"; then
1123 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1124 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1125 { (exit 1); exit 1; }; }
1127 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1129 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1130 { (exit 1); exit 1; }; }
1132 # When building in place, set srcdir=.
1133 if test "$ac_abs_confdir" = "$ac_pwd"; then
1136 # Remove unnecessary trailing slashes from srcdir.
1137 # Double slashes in file names in object file debugging info
1138 # mess up M-x gdb in Emacs.
1140 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1142 for ac_var in $ac_precious_vars; do
1143 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1144 eval ac_env_${ac_var}_value=\$${ac_var}
1145 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1146 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1150 # Report the --help message.
1152 if test "$ac_init_help" = "long"; then
1153 # Omit some internal or obsolete options to make the list less imposing.
1154 # This message is too long to be a string in the A/UX 3.1 sh.
1156 \`configure' configures backupninja 0.9.6 to adapt to many kinds of systems.
1158 Usage: $0 [OPTION]... [VAR=VALUE]...
1160 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1161 VAR=VALUE. See below for descriptions of some of the useful variables.
1163 Defaults for the options are specified in brackets.
1166 -h, --help display this help and exit
1167 --help=short display options specific to this package
1168 --help=recursive display the short help of all the included packages
1169 -V, --version display version information and exit
1170 -q, --quiet, --silent do not print \`checking...' messages
1171 --cache-file=FILE cache test results in FILE [disabled]
1172 -C, --config-cache alias for \`--cache-file=config.cache'
1173 -n, --no-create do not create output files
1174 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1176 Installation directories:
1177 --prefix=PREFIX install architecture-independent files in PREFIX
1178 [$ac_default_prefix]
1179 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1182 By default, \`make install' will install all the files in
1183 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1184 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1185 for instance \`--prefix=\$HOME'.
1187 For better control, use the options below.
1189 Fine tuning of the installation directories:
1190 --bindir=DIR user executables [EPREFIX/bin]
1191 --sbindir=DIR system admin executables [EPREFIX/sbin]
1192 --libexecdir=DIR program executables [EPREFIX/libexec]
1193 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1194 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1195 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1196 --libdir=DIR object code libraries [EPREFIX/lib]
1197 --includedir=DIR C header files [PREFIX/include]
1198 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1199 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1200 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1201 --infodir=DIR info documentation [DATAROOTDIR/info]
1202 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1203 --mandir=DIR man documentation [DATAROOTDIR/man]
1204 --docdir=DIR documentation root [DATAROOTDIR/doc/backupninja]
1205 --htmldir=DIR html documentation [DOCDIR]
1206 --dvidir=DIR dvi documentation [DOCDIR]
1207 --pdfdir=DIR pdf documentation [DOCDIR]
1208 --psdir=DIR ps documentation [DOCDIR]
1214 --program-prefix=PREFIX prepend PREFIX to installed program names
1215 --program-suffix=SUFFIX append SUFFIX to installed program names
1216 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1220 if test -n "$ac_init_help"; then
1221 case $ac_init_help in
1222 short | recursive ) echo "Configuration of backupninja 0.9.6:";;
1226 Report bugs to <backupninja@lists.riseup.net>.
1231 if test "$ac_init_help" = "recursive"; then
1232 # If there are subdirs, report their specific --help.
1233 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1234 test -d "$ac_dir" || continue
1238 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1240 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1241 # A ".." for each directory in $ac_dir_suffix.
1242 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1243 case $ac_top_builddir_sub in
1244 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1245 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1248 ac_abs_top_builddir=$ac_pwd
1249 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1250 # for backward compatibility:
1251 ac_top_builddir=$ac_top_build_prefix
1254 .) # We are building in place.
1256 ac_top_srcdir=$ac_top_builddir_sub
1257 ac_abs_top_srcdir=$ac_pwd ;;
1258 [\\/]* | ?:[\\/]* ) # Absolute name.
1259 ac_srcdir=$srcdir$ac_dir_suffix;
1260 ac_top_srcdir=$srcdir
1261 ac_abs_top_srcdir=$srcdir ;;
1263 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1264 ac_top_srcdir=$ac_top_build_prefix$srcdir
1265 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1267 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1269 cd "$ac_dir" || { ac_status=$?; continue; }
1270 # Check for guested configure.
1271 if test -f "$ac_srcdir/configure.gnu"; then
1273 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1274 elif test -f "$ac_srcdir/configure"; then
1276 $SHELL "$ac_srcdir/configure" --help=recursive
1278 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1280 cd "$ac_pwd" || { ac_status=$?; break; }
1284 test -n "$ac_init_help" && exit $ac_status
1285 if $ac_init_version; then
1287 backupninja configure 0.9.6
1288 generated by GNU Autoconf 2.61
1290 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1291 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1292 This configure script is free software; the Free Software Foundation
1293 gives unlimited permission to copy, distribute and modify it.
1297 cat >config.log <<_ACEOF
1298 This file contains any messages produced by compilers while
1299 running configure, to aid debugging if configure makes a mistake.
1301 It was created by backupninja $as_me 0.9.6, which was
1302 generated by GNU Autoconf 2.61. Invocation command line was
1314 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1315 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1316 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1317 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1318 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1320 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1321 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1323 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1324 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1325 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1326 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1327 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1328 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1329 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1337 test -z "$as_dir" && as_dir=.
1338 echo "PATH: $as_dir"
1354 # Keep a trace of the command line.
1355 # Strip out --no-create and --no-recursion so they do not pile up.
1356 # Strip out --silent because we don't want to record it for future runs.
1357 # Also quote any args containing shell meta-characters.
1358 # Make two passes to allow for proper duplicate-argument suppression.
1362 ac_must_keep_next=false
1368 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1369 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1370 | -silent | --silent | --silen | --sile | --sil)
1373 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1376 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1378 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1379 if test $ac_must_keep_next = true; then
1380 ac_must_keep_next=false # Got value, back to normal.
1383 *=* | --config-cache | -C | -disable-* | --disable-* \
1384 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1385 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1386 | -with-* | --with-* | -without-* | --without-* | --x)
1387 case "$ac_configure_args0 " in
1388 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1391 -* ) ac_must_keep_next=true ;;
1394 ac_configure_args="$ac_configure_args '$ac_arg'"
1399 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1400 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1402 # When interrupted or exit'd, cleanup temporary files, and complete
1403 # config.log. We remove comments because anyway the quotes in there
1404 # would cause problems or look ugly.
1405 # WARNING: Use '\'' to represent an apostrophe within the trap.
1406 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1407 trap 'exit_status=$?
1408 # Save into config.log some information that might help in debugging.
1413 ## ---------------- ##
1414 ## Cache variables. ##
1415 ## ---------------- ##
1418 # The following way of writing the cache mishandles newlines in values,
1420 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1421 eval ac_val=\$$ac_var
1425 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1426 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1429 _ | IFS | as_nl) ;; #(
1430 *) $as_unset $ac_var ;;
1435 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1436 *${as_nl}ac_space=\ *)
1438 "s/'\''/'\''\\\\'\'''\''/g;
1439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1442 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1450 ## ----------------- ##
1451 ## Output variables. ##
1452 ## ----------------- ##
1455 for ac_var in $ac_subst_vars
1457 eval ac_val=\$$ac_var
1459 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1461 echo "$ac_var='\''$ac_val'\''"
1465 if test -n "$ac_subst_files"; then
1467 ## ------------------- ##
1468 ## File substitutions. ##
1469 ## ------------------- ##
1472 for ac_var in $ac_subst_files
1474 eval ac_val=\$$ac_var
1476 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1478 echo "$ac_var='\''$ac_val'\''"
1483 if test -s confdefs.h; then
1493 test "$ac_signal" != 0 &&
1494 echo "$as_me: caught signal $ac_signal"
1495 echo "$as_me: exit $exit_status"
1497 rm -f core *.core core.conftest.* &&
1498 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1501 for ac_signal in 1 2 13 15; do
1502 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1506 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1507 rm -f -r conftest* confdefs.h
1509 # Predefined preprocessor variables.
1511 cat >>confdefs.h <<_ACEOF
1512 #define PACKAGE_NAME "$PACKAGE_NAME"
1516 cat >>confdefs.h <<_ACEOF
1517 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1521 cat >>confdefs.h <<_ACEOF
1522 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1526 cat >>confdefs.h <<_ACEOF
1527 #define PACKAGE_STRING "$PACKAGE_STRING"
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1536 # Let the site file select an alternate cache file if it wants to.
1537 # Prefer explicitly selected file to automatically selected ones.
1538 if test -n "$CONFIG_SITE"; then
1539 set x "$CONFIG_SITE"
1540 elif test "x$prefix" != xNONE; then
1541 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1543 set x "$ac_default_prefix/share/config.site" \
1544 "$ac_default_prefix/etc/config.site"
1549 if test -r "$ac_site_file"; then
1550 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1551 echo "$as_me: loading site script $ac_site_file" >&6;}
1552 sed 's/^/| /' "$ac_site_file" >&5
1557 if test -r "$cache_file"; then
1558 # Some versions of bash will fail to source /dev/null (special
1559 # files actually), so we avoid doing that.
1560 if test -f "$cache_file"; then
1561 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1562 echo "$as_me: loading cache $cache_file" >&6;}
1564 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1565 *) . "./$cache_file";;
1569 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1570 echo "$as_me: creating cache $cache_file" >&6;}
1574 # Check that the precious variables saved in the cache have kept the same
1576 ac_cache_corrupted=false
1577 for ac_var in $ac_precious_vars; do
1578 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1579 eval ac_new_set=\$ac_env_${ac_var}_set
1580 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1581 eval ac_new_val=\$ac_env_${ac_var}_value
1582 case $ac_old_set,$ac_new_set in
1584 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1585 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1586 ac_cache_corrupted=: ;;
1588 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1589 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1590 ac_cache_corrupted=: ;;
1593 if test "x$ac_old_val" != "x$ac_new_val"; then
1594 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1595 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1596 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1597 echo "$as_me: former value: $ac_old_val" >&2;}
1598 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1599 echo "$as_me: current value: $ac_new_val" >&2;}
1600 ac_cache_corrupted=:
1603 # Pass precious variables to config.status.
1604 if test "$ac_new_set" = set; then
1606 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1607 *) ac_arg=$ac_var=$ac_new_val ;;
1609 case " $ac_configure_args " in
1610 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1611 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1615 if $ac_cache_corrupted; then
1616 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1617 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1618 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1619 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1620 { (exit 1); exit 1; }; }
1648 ac_cpp='$CPP $CPPFLAGS'
1649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1655 am__api_version='1.10'
1658 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1659 if test -f "$ac_dir/install-sh"; then
1661 ac_install_sh="$ac_aux_dir/install-sh -c"
1663 elif test -f "$ac_dir/install.sh"; then
1665 ac_install_sh="$ac_aux_dir/install.sh -c"
1667 elif test -f "$ac_dir/shtool"; then
1669 ac_install_sh="$ac_aux_dir/shtool install -c"
1673 if test -z "$ac_aux_dir"; then
1674 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1675 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1676 { (exit 1); exit 1; }; }
1679 # These three variables are undocumented and unsupported,
1680 # and are intended to be withdrawn in a future Autoconf release.
1681 # They can cause serious problems if a builder's source tree is in a directory
1682 # whose full name contains unusual characters.
1683 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1684 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1685 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1688 # Find a good install program. We prefer a C program (faster),
1689 # so one script is as good as another. But avoid the broken or
1690 # incompatible versions:
1691 # SysV /etc/install, /usr/sbin/install
1692 # SunOS /usr/etc/install
1693 # IRIX /sbin/install
1695 # AmigaOS /C/install, which installs bootblocks on floppy discs
1696 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1697 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1698 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1699 # OS/2's system install, which has a completely different semantic
1700 # ./install, which can be erroneously created by make from ./install.sh.
1701 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1702 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1703 if test -z "$INSTALL"; then
1704 if test "${ac_cv_path_install+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 # Account for people who put trailing slashes in PATH elements.
1714 ./ | .// | /cC/* | \
1715 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1716 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1719 # OSF1 and SCO ODT 3.0 have their own names for install.
1720 # Don't use installbsd from OSF since it installs stuff as root
1722 for ac_prog in ginstall scoinst install; do
1723 for ac_exec_ext in '' $ac_executable_extensions; do
1724 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1725 if test $ac_prog = install &&
1726 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1727 # AIX install. It has an incompatible calling convention.
1729 elif test $ac_prog = install &&
1730 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1731 # program-specific install script used by HP pwplus--don't use.
1734 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1747 if test "${ac_cv_path_install+set}" = set; then
1748 INSTALL=$ac_cv_path_install
1750 # As a last resort, use the slow shell script. Don't cache a
1751 # value for INSTALL within a source directory, because that will
1752 # break other packages using the cache if that directory is
1753 # removed, or if the value is a relative name.
1754 INSTALL=$ac_install_sh
1757 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1758 echo "${ECHO_T}$INSTALL" >&6; }
1760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1761 # It thinks the first close brace ends the variable substitution.
1762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1768 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1769 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1772 echo timestamp > conftest.file
1773 # Do `set' in a subshell so we don't clobber the current shell's
1774 # arguments. Must try -L first in case configure is actually a
1775 # symlink; some systems play weird games with the mod time of symlinks
1776 # (eg FreeBSD returns the mod time of the symlink's containing
1779 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1780 if test "$*" = "X"; then
1782 set X `ls -t $srcdir/configure conftest.file`
1785 if test "$*" != "X $srcdir/configure conftest.file" \
1786 && test "$*" != "X conftest.file $srcdir/configure"; then
1788 # If neither matched, then we have a broken ls. This can happen
1789 # if, for instance, CONFIG_SHELL is bash and it inherits a
1790 # broken ls alias from the environment. This has actually
1791 # happened. Such a system could not be considered "sane".
1792 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1793 alias in your environment" >&5
1794 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1795 alias in your environment" >&2;}
1796 { (exit 1); exit 1; }; }
1799 test "$2" = conftest.file
1805 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1806 Check your system clock" >&5
1807 echo "$as_me: error: newly created file is older than distributed files!
1808 Check your system clock" >&2;}
1809 { (exit 1); exit 1; }; }
1811 { echo "$as_me:$LINENO: result: yes" >&5
1812 echo "${ECHO_T}yes" >&6; }
1813 test "$program_prefix" != NONE &&
1814 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1815 # Use a double $ so make ignores it.
1816 test "$program_suffix" != NONE &&
1817 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1818 # Double any \ or $. echo might interpret backslashes.
1819 # By default was `s,x,x', remove it if useless.
1820 cat <<\_ACEOF >conftest.sed
1821 s/[\\$]/&&/g;s/;s,x,x,$//
1823 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1826 # expand $ac_aux_dir to an absolute path
1827 am_aux_dir=`cd $ac_aux_dir && pwd`
1829 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1830 # Use eval to expand $SHELL
1831 if eval "$MISSING --run true"; then
1832 am_missing_run="$MISSING --run "
1835 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1836 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1839 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1840 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1841 if test -z "$MKDIR_P"; then
1842 if test "${ac_cv_path_mkdir+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1849 test -z "$as_dir" && as_dir=.
1850 for ac_prog in mkdir gmkdir; do
1851 for ac_exec_ext in '' $ac_executable_extensions; do
1852 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1853 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1854 'mkdir (GNU coreutils) '* | \
1855 'mkdir (coreutils) '* | \
1856 'mkdir (fileutils) '4.1*)
1857 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1867 if test "${ac_cv_path_mkdir+set}" = set; then
1868 MKDIR_P="$ac_cv_path_mkdir -p"
1870 # As a last resort, use the slow shell script. Don't cache a
1871 # value for MKDIR_P within a source directory, because that will
1872 # break other packages using the cache if that directory is
1873 # removed, or if the value is a relative name.
1874 test -d ./--version && rmdir ./--version
1875 MKDIR_P="$ac_install_sh -d"
1878 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1879 echo "${ECHO_T}$MKDIR_P" >&6; }
1883 [\\/$]* | ?:[\\/]*) ;;
1884 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1887 for ac_prog in gawk mawk nawk awk
1889 # Extract the first word of "$ac_prog", so it can be a program name with args.
1890 set dummy $ac_prog; ac_word=$2
1891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1893 if test "${ac_cv_prog_AWK+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test -n "$AWK"; then
1897 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1906 ac_cv_prog_AWK="$ac_prog"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 if test -n "$AWK"; then
1918 { echo "$as_me:$LINENO: result: $AWK" >&5
1919 echo "${ECHO_T}$AWK" >&6; }
1921 { echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6; }
1926 test -n "$AWK" && break
1929 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1930 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1931 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1932 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 cat >conftest.make <<\_ACEOF
1938 @echo '@@@%%%=$(MAKE)=@@@%%%'
1940 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1941 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1943 eval ac_cv_prog_make_${ac_make}_set=yes;;
1945 eval ac_cv_prog_make_${ac_make}_set=no;;
1949 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1950 { echo "$as_me:$LINENO: result: yes" >&5
1951 echo "${ECHO_T}yes" >&6; }
1954 { echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6; }
1956 SET_MAKE="MAKE=${MAKE-make}"
1959 rm -rf .tst 2>/dev/null
1960 mkdir .tst 2>/dev/null
1961 if test -d .tst; then
1966 rmdir .tst 2>/dev/null
1968 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1969 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1970 # is not polluted with repeated "-I."
1971 am__isrc=' -I$(srcdir)'
1972 # test to see if srcdir already configured
1973 if test -f $srcdir/config.status; then
1974 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1975 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1976 { (exit 1); exit 1; }; }
1980 # test whether we have cygpath
1981 if test -z "$CYGPATH_W"; then
1982 if (cygpath --version) >/dev/null 2>/dev/null; then
1983 CYGPATH_W='cygpath -w'
1990 # Define the identity of the package.
1991 PACKAGE='backupninja'
1995 cat >>confdefs.h <<_ACEOF
1996 #define PACKAGE "$PACKAGE"
2000 cat >>confdefs.h <<_ACEOF
2001 #define VERSION "$VERSION"
2004 # Some tools Automake needs.
2006 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2009 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2012 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2015 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2018 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2020 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2022 # Installed binaries are usually stripped using `strip' when the user
2023 # run `make install-strip'. However `strip' might not be the right
2024 # tool to use in cross-compilation environments, therefore Automake
2025 # will honor the `STRIP' environment variable to overrule this program.
2026 if test "$cross_compiling" != no; then
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2029 set dummy ${ac_tool_prefix}strip; ac_word=$2
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 if test "${ac_cv_prog_STRIP+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 if test -n "$STRIP"; then
2036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 STRIP=$ac_cv_prog_STRIP
2056 if test -n "$STRIP"; then
2057 { echo "$as_me:$LINENO: result: $STRIP" >&5
2058 echo "${ECHO_T}$STRIP" >&6; }
2060 { echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6; }
2066 if test -z "$ac_cv_prog_STRIP"; then
2068 # Extract the first word of "strip", so it can be a program name with args.
2069 set dummy strip; ac_word=$2
2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 if test -n "$ac_ct_STRIP"; then
2076 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_ac_ct_STRIP="strip"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2096 if test -n "$ac_ct_STRIP"; then
2097 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2098 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2100 { echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6; }
2104 if test "x$ac_ct_STRIP" = x; then
2107 case $cross_compiling:$ac_tool_warned in
2109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110 whose name does not start with the host triplet. If you think this
2111 configuration is useful to you, please write to autoconf@gnu.org." >&5
2112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115 ac_tool_warned=yes ;;
2120 STRIP="$ac_cv_prog_STRIP"
2124 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2126 # We need awk for the "check" target. The system "awk" is bad on
2128 # Always define AMTAR for backward compatibility.
2130 AMTAR=${AMTAR-"${am_missing_run}tar"}
2132 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2139 # Checks for programs.
2141 # BASH may already be set in the shell, if the admin then changes the
2142 # the /bin/sh symlink to a non-bash shell, all hell will break lose.
2146 # Extract the first word of "$ac_prog", so it can be a program name with args.
2147 set dummy $ac_prog; ac_word=$2
2148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2150 if test "${ac_cv_path_BASH+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 as_dummy="$PATH:/bin:/usr/bin:/usr/sbin"
2160 for as_dir in $as_dummy
2163 test -z "$as_dir" && as_dir=.
2164 for ac_exec_ext in '' $ac_executable_extensions; do
2165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2166 ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
2167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 BASH=$ac_cv_path_BASH
2178 if test -n "$BASH"; then
2179 { echo "$as_me:$LINENO: result: $BASH" >&5
2180 echo "${ECHO_T}$BASH" >&6; }
2182 { echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6; }
2187 test -n "$BASH" && break
2189 test -n "$BASH" || BASH=""no""
2191 if test x$BASH = "xno"; then
2192 { { echo "$as_me:$LINENO: error: bash is required" >&5
2193 echo "$as_me: error: bash is required" >&2;}
2194 { (exit 1); exit 1; }; }
2199 # Extract the first word of "$ac_prog", so it can be a program name with args.
2200 set dummy $ac_prog; ac_word=$2
2201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2203 if test "${ac_cv_path_SED+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 ac_cv_path_SED="$SED" # Let the user override the test with a path.
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2218 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
2219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 if test -n "$SED"; then
2231 { echo "$as_me:$LINENO: result: $SED" >&5
2232 echo "${ECHO_T}$SED" >&6; }
2234 { echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6; }
2239 test -n "$SED" && break
2241 test -n "$SED" || SED=""no""
2243 if test x$SED = "xno"; then
2244 { { echo "$as_me:$LINENO: error: sed is required" >&5
2245 echo "$as_me: error: sed is required" >&2;}
2246 { (exit 1); exit 1; }; }
2253 # Extract the first word of "$ac_prog", so it can be a program name with args.
2254 set dummy $ac_prog; ac_word=$2
2255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2257 if test "${ac_cv_path_AWK+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 if test -n "$AWK"; then
2285 { echo "$as_me:$LINENO: result: $AWK" >&5
2286 echo "${ECHO_T}$AWK" >&6; }
2288 { echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6; }
2293 test -n "$AWK" && break
2295 test -n "$AWK" || AWK=""no""
2297 if test x$AWK = "xno"; then
2298 { { echo "$as_me:$LINENO: error: awk is required" >&5
2299 echo "$as_me: error: awk is required" >&2;}
2300 { (exit 1); exit 1; }; }
2305 for ac_prog in mktemp
2307 # Extract the first word of "$ac_prog", so it can be a program name with args.
2308 set dummy $ac_prog; ac_word=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_path_MKTEMP+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir=.
2324 for ac_exec_ext in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
2327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 MKTEMP=$ac_cv_path_MKTEMP
2338 if test -n "$MKTEMP"; then
2339 { echo "$as_me:$LINENO: result: $MKTEMP" >&5
2340 echo "${ECHO_T}$MKTEMP" >&6; }
2342 { echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6; }
2347 test -n "$MKTEMP" && break
2349 test -n "$MKTEMP" || MKTEMP=""no""
2351 if test x$MKTEMPT = "xno"; then
2352 { { echo "$as_me:$LINENO: error: mktemp is required" >&5
2353 echo "$as_me: error: mktemp is required" >&2;}
2354 { (exit 1); exit 1; }; }
2357 # Extract the first word of "rpm", so it can be a program name with args.
2358 set dummy rpm; ac_word=$2
2359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2361 if test "${ac_cv_prog_ac_cv_have_rpm+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 if test -n "$ac_cv_have_rpm"; then
2365 ac_cv_prog_ac_cv_have_rpm="$ac_cv_have_rpm" # Let the user override the test.
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_ac_cv_have_rpm=""yes""
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 test -z "$ac_cv_prog_ac_cv_have_rpm" && ac_cv_prog_ac_cv_have_rpm=""no""
2385 ac_cv_have_rpm=$ac_cv_prog_ac_cv_have_rpm
2386 if test -n "$ac_cv_have_rpm"; then
2387 { echo "$as_me:$LINENO: result: $ac_cv_have_rpm" >&5
2388 echo "${ECHO_T}$ac_cv_have_rpm" >&6; }
2390 { echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6; }
2395 if test "x$ac_cv_have_rpm" = "xyes"; then
2396 rpm --define '_topdir /tmp' > /dev/null 2>&1
2397 { echo "$as_me:$LINENO: checking to see if we can redefine _topdir" >&5
2398 echo $ECHO_N "checking to see if we can redefine _topdir... $ECHO_C" >&6; }
2399 if test $? -eq 0 ; then
2400 { echo "$as_me:$LINENO: result: yes" >&5
2401 echo "${ECHO_T}yes" >&6; }
2404 { echo "$as_me:$LINENO: result: no. You'll have to build packages manually." >&5
2405 echo "${ECHO_T}no. You'll have to build packages manually." >&6; }
2411 # Extract the first word of "rpm", so it can be a program name with args.
2412 set dummy rpm; ac_word=$2
2413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2415 if test "${ac_cv_prog_ac_cv_have_rpm+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 if test -n "$ac_cv_have_rpm"; then
2419 ac_cv_prog_ac_cv_have_rpm="$ac_cv_have_rpm" # Let the user override the test.
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428 ac_cv_prog_ac_cv_have_rpm=""yes""
2429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 test -z "$ac_cv_prog_ac_cv_have_rpm" && ac_cv_prog_ac_cv_have_rpm=""no""
2439 ac_cv_have_rpm=$ac_cv_prog_ac_cv_have_rpm
2440 if test -n "$ac_cv_have_rpm"; then
2441 { echo "$as_me:$LINENO: result: $ac_cv_have_rpm" >&5
2442 echo "${ECHO_T}$ac_cv_have_rpm" >&6; }
2444 { echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6; }
2449 if test "x$ac_cv_have_rpm" = "xyes"; then
2450 rpm --define '_topdir /tmp' > /dev/null 2>&1
2451 { echo "$as_me:$LINENO: checking to see if we can redefine _topdir" >&5
2452 echo $ECHO_N "checking to see if we can redefine _topdir... $ECHO_C" >&6; }
2453 if test $? -eq 0 ; then
2454 { echo "$as_me:$LINENO: result: yes" >&5
2455 echo "${ECHO_T}yes" >&6; }
2458 { echo "$as_me:$LINENO: result: no. You'll have to build packages manually." >&5
2459 echo "${ECHO_T}no. You'll have to build packages manually." >&6; }
2465 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2466 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2468 if test "$LN_S" = "ln -s"; then
2469 { echo "$as_me:$LINENO: result: yes" >&5
2470 echo "${ECHO_T}yes" >&6; }
2472 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2473 echo "${ECHO_T}no, using $LN_S" >&6; }
2477 CFGDIR="${sysconfdir}"
2480 ac_config_files="$ac_config_files Makefile etc/Makefile examples/Makefile handlers/Makefile lib/Makefile man/Makefile src/Makefile"
2483 ac_config_files="$ac_config_files backupninja.spec"
2485 cat >confcache <<\_ACEOF
2486 # This file is a shell script that caches the results of configure
2487 # tests run on this system so they can be shared between configure
2488 # scripts and configure runs, see configure's option --config-cache.
2489 # It is not useful on other systems. If it contains results you don't
2490 # want to keep, you may remove or edit it.
2492 # config.status only pays attention to the cache file if you give it
2493 # the --recheck option to rerun configure.
2495 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2496 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2501 # The following way of writing the cache mishandles newlines in values,
2502 # but we know of no workaround that is simple, portable, and efficient.
2503 # So, we kill variables containing newlines.
2504 # Ultrix sh set writes to stderr and can't be redirected directly,
2505 # and sets the high bit in the cache file unless we assign to the vars.
2507 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2508 eval ac_val=\$$ac_var
2512 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2513 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2516 _ | IFS | as_nl) ;; #(
2517 *) $as_unset $ac_var ;;
2523 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2524 *${as_nl}ac_space=\ *)
2525 # `set' does not quote correctly, so add quotes (double-quote
2526 # substitution turns \\\\ into \\, and sed turns \\ into \).
2529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2532 # `set' quotes correctly as required by POSIX, so do not add quotes.
2533 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2542 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2544 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2546 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2547 if test -w "$cache_file"; then
2548 test "x$cache_file" != "x/dev/null" &&
2549 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2550 echo "$as_me: updating cache $cache_file" >&6;}
2551 cat confcache >$cache_file
2553 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2554 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2559 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2560 # Let make expand exec_prefix.
2561 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2563 # Transform confdefs.h into DEFS.
2564 # Protect against shell expansion while executing Makefile rules.
2565 # Protect against Makefile macro expansion.
2567 # If the first sed substitution is executed (which looks for macros that
2568 # take arguments), then branch to the quote section. Otherwise,
2569 # look for a macro that doesn't take arguments.
2573 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2575 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2579 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2592 DEFS=`sed -n "$ac_script" confdefs.h`
2597 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2598 # 1. Remove the extension, and $U if already installed.
2599 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2600 ac_i=`echo "$ac_i" | sed "$ac_script"`
2601 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2602 # will be set to the directory where LIBOBJS objects are built.
2603 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2604 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2608 LTLIBOBJS=$ac_ltlibobjs
2612 : ${CONFIG_STATUS=./config.status}
2613 ac_clean_files_save=$ac_clean_files
2614 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2615 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2616 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2617 cat >$CONFIG_STATUS <<_ACEOF
2619 # Generated by $as_me.
2620 # Run this file to recreate the current configuration.
2621 # Compiler output produced by configure, useful for debugging
2622 # configure, is in config.log if it exists.
2627 SHELL=\${CONFIG_SHELL-$SHELL}
2630 cat >>$CONFIG_STATUS <<\_ACEOF
2631 ## --------------------- ##
2632 ## M4sh Initialization. ##
2633 ## --------------------- ##
2635 # Be more Bourne compatible
2636 DUALCASE=1; export DUALCASE # for MKS sh
2637 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2640 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2641 # is contrary to our usage. Disable this feature.
2642 alias -g '${1+"$@"}'='"$@"'
2643 setopt NO_GLOB_SUBST
2645 case `(set -o) 2>/dev/null` in
2646 *posix*) set -o posix ;;
2655 # Avoid depending upon Character Ranges.
2656 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2657 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2658 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2659 as_cr_digits='0123456789'
2660 as_cr_alnum=$as_cr_Letters$as_cr_digits
2662 # The user is always right.
2663 if test "${PATH_SEPARATOR+set}" != set; then
2664 echo "#! /bin/sh" >conf$$.sh
2665 echo "exit 0" >>conf$$.sh
2667 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2675 # Support unset when possible.
2676 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2684 # We need space, tab and new line, in precisely that order. Quoting is
2685 # there to prevent editors from complaining about space-tab.
2686 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2687 # splitting by setting IFS to empty value.)
2692 # Find who we are. Look in the path if we contain no directory separator.
2694 *[\\/]* ) as_myself=$0 ;;
2695 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir=.
2700 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2706 # We did not find ourselves, most probably we were run as `sh COMMAND'
2707 # in which case we are not to be found in the path.
2708 if test "x$as_myself" = x; then
2711 if test ! -f "$as_myself"; then
2712 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2713 { (exit 1); exit 1; }
2716 # Work around bugs in pre-3.0 UWIN ksh.
2717 for as_var in ENV MAIL MAILPATH
2718 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2726 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2727 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2728 LC_TELEPHONE LC_TIME
2730 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2731 eval $as_var=C; export $as_var
2733 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2737 # Required to use basename.
2738 if expr a : '\(a\)' >/dev/null 2>&1 &&
2739 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2745 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2746 as_basename=basename
2752 # Name of the executable.
2753 as_me=`$as_basename -- "$0" ||
2754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2755 X"$0" : 'X\(//\)$' \| \
2756 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2758 sed '/^.*\/\([^/][^/]*\)\/*$/{
2779 test "x$as_lineno_1" != "x$as_lineno_2" &&
2780 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2782 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2783 # uniformly replaced by the line number. The first 'sed' inserts a
2784 # line-number line after each line using $LINENO; the second 'sed'
2785 # does the real work. The second script uses 'N' to pair each
2786 # line-number line with the line containing $LINENO, and appends
2787 # trailing '-' during substitution so that $LINENO is not a special
2789 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2790 # scripts with optimization help from Paolo Bonzini. Blame Lee
2791 # E. McMahon (1931-1989) for sed's syntax. :-)
2803 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2807 chmod +x "$as_me.lineno" ||
2808 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2809 { (exit 1); exit 1; }; }
2811 # Don't try to exec as it changes $[0], causing all sort of problems
2812 # (the dirname of $[0] is not the place where we might find the
2813 # original and so on. Autoconf is especially sensitive to this).
2815 # Exit status is that of the last command.
2820 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2826 ECHO_C= ECHO_N= ECHO_T=
2829 case `echo 'x\c'` in
2830 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2837 if expr a : '\(a\)' >/dev/null 2>&1 &&
2838 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2844 rm -f conf$$ conf$$.exe conf$$.file
2845 if test -d conf$$.dir; then
2846 rm -f conf$$.dir/conf$$.file
2852 if ln -s conf$$.file conf$$ 2>/dev/null; then
2854 # ... but there are two gotchas:
2855 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2856 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2857 # In both cases, we have to default to `cp -p'.
2858 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2860 elif ln conf$$.file conf$$ 2>/dev/null; then
2865 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2866 rmdir conf$$.dir 2>/dev/null
2868 if mkdir -p . 2>/dev/null; then
2871 test -d ./-p && rmdir ./-p
2875 if test -x / >/dev/null 2>&1; then
2878 if ls -dL / >/dev/null 2>&1; then
2885 if test -d "$1"; then
2891 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2892 ???[sx]*):;;*)false;;esac;fi
2896 as_executable_p=$as_test_x
2898 # Sed expression to map a string onto a valid CPP name.
2899 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2901 # Sed expression to map a string onto a valid variable name.
2902 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2907 # Save the log message, to keep $[0] and so on meaningful, and to
2908 # report actual input values of CONFIG_FILES etc. instead of their
2909 # values after options handling.
2911 This file was extended by backupninja $as_me 0.9.6, which was
2912 generated by GNU Autoconf 2.61. Invocation command line was
2914 CONFIG_FILES = $CONFIG_FILES
2915 CONFIG_HEADERS = $CONFIG_HEADERS
2916 CONFIG_LINKS = $CONFIG_LINKS
2917 CONFIG_COMMANDS = $CONFIG_COMMANDS
2920 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2925 cat >>$CONFIG_STATUS <<_ACEOF
2926 # Files that config.status was made for.
2927 config_files="$ac_config_files"
2931 cat >>$CONFIG_STATUS <<\_ACEOF
2933 \`$as_me' instantiates files from templates according to the
2934 current configuration.
2936 Usage: $0 [OPTIONS] [FILE]...
2938 -h, --help print this help, then exit
2939 -V, --version print version number and configuration settings, then exit
2940 -q, --quiet do not print progress messages
2941 -d, --debug don't remove temporary files
2942 --recheck update $as_me by reconfiguring in the same conditions
2943 --file=FILE[:TEMPLATE]
2944 instantiate the configuration file FILE
2946 Configuration files:
2949 Report bugs to <bug-autoconf@gnu.org>."
2952 cat >>$CONFIG_STATUS <<_ACEOF
2954 backupninja config.status 0.9.6
2955 configured by $0, generated by GNU Autoconf 2.61,
2956 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2958 Copyright (C) 2006 Free Software Foundation, Inc.
2959 This config.status script is free software; the Free Software Foundation
2960 gives unlimited permission to copy, distribute and modify it."
2968 cat >>$CONFIG_STATUS <<\_ACEOF
2969 # If no file are specified by the user, then we need to provide default
2970 # value. By we need to know if files were specified by the user.
2976 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2977 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2988 # Handling of the options.
2989 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2991 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2992 echo "$ac_cs_version"; exit ;;
2993 --debug | --debu | --deb | --de | --d | -d )
2995 --file | --fil | --fi | --f )
2997 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2998 ac_need_defaults=false;;
2999 --he | --h | --help | --hel | -h )
3000 echo "$ac_cs_usage"; exit ;;
3001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3002 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3006 -*) { echo "$as_me: error: unrecognized option: $1
3007 Try \`$0 --help' for more information." >&2
3008 { (exit 1); exit 1; }; } ;;
3010 *) ac_config_targets="$ac_config_targets $1"
3011 ac_need_defaults=false ;;
3017 ac_configure_extra_args=
3019 if $ac_cs_silent; then
3021 ac_configure_extra_args="$ac_configure_extra_args --silent"
3025 cat >>$CONFIG_STATUS <<_ACEOF
3026 if \$ac_cs_recheck; then
3027 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3030 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3034 cat >>$CONFIG_STATUS <<\_ACEOF
3038 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3039 ## Running $as_me. ##
3045 cat >>$CONFIG_STATUS <<_ACEOF
3048 cat >>$CONFIG_STATUS <<\_ACEOF
3050 # Handling of arguments.
3051 for ac_config_target in $ac_config_targets
3053 case $ac_config_target in
3054 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3055 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
3056 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
3057 "handlers/Makefile") CONFIG_FILES="$CONFIG_FILES handlers/Makefile" ;;
3058 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3059 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3060 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3061 "backupninja.spec") CONFIG_FILES="$CONFIG_FILES backupninja.spec" ;;
3063 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3064 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3065 { (exit 1); exit 1; }; };;
3070 # If the user did not use the arguments to specify the items to instantiate,
3071 # then the envvar interface is used. Set only those that are not.
3072 # We use the long form for the default assignment because of an extremely
3073 # bizarre bug on SunOS 4.1.3.
3074 if $ac_need_defaults; then
3075 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3078 # Have a temporary directory for convenience. Make it in the build tree
3079 # simply because there is no reason against having it here, and in addition,
3080 # creating and moving files from /tmp can sometimes cause problems.
3081 # Hook for its removal unless debugging.
3082 # Note that there is a small window in which the directory will not be cleaned:
3083 # after its creation but before its name has been assigned to `$tmp'.
3087 trap 'exit_status=$?
3088 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3090 trap '{ (exit 1); exit 1; }' 1 2 13 15
3092 # Create a (secure) tmp directory for tmp files.
3095 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3096 test -n "$tmp" && test -d "$tmp"
3099 tmp=./conf$$-$RANDOM
3100 (umask 077 && mkdir "$tmp")
3103 echo "$me: cannot create a temporary directory in ." >&2
3104 { (exit 1); exit 1; }
3108 # Set up the sed scripts for CONFIG_FILES section.
3111 # No need to generate the scripts if there are no CONFIG_FILES.
3112 # This happens for instance when ./config.status config.h
3113 if test -n "$CONFIG_FILES"; then
3120 for ac_last_try in false false false false false :; do
3121 cat >conf$$subs.sed <<_ACEOF
3122 SHELL!$SHELL$ac_delim
3123 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3124 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3125 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3126 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3127 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3128 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3129 exec_prefix!$exec_prefix$ac_delim
3130 prefix!$prefix$ac_delim
3131 program_transform_name!$program_transform_name$ac_delim
3132 bindir!$bindir$ac_delim
3133 sbindir!$sbindir$ac_delim
3134 libexecdir!$libexecdir$ac_delim
3135 datarootdir!$datarootdir$ac_delim
3136 datadir!$datadir$ac_delim
3137 sysconfdir!$sysconfdir$ac_delim
3138 sharedstatedir!$sharedstatedir$ac_delim
3139 localstatedir!$localstatedir$ac_delim
3140 includedir!$includedir$ac_delim
3141 oldincludedir!$oldincludedir$ac_delim
3142 docdir!$docdir$ac_delim
3143 infodir!$infodir$ac_delim
3144 htmldir!$htmldir$ac_delim
3145 dvidir!$dvidir$ac_delim
3146 pdfdir!$pdfdir$ac_delim
3147 psdir!$psdir$ac_delim
3148 libdir!$libdir$ac_delim
3149 localedir!$localedir$ac_delim
3150 mandir!$mandir$ac_delim
3152 ECHO_C!$ECHO_C$ac_delim
3153 ECHO_N!$ECHO_N$ac_delim
3154 ECHO_T!$ECHO_T$ac_delim
3156 build_alias!$build_alias$ac_delim
3157 host_alias!$host_alias$ac_delim
3158 target_alias!$target_alias$ac_delim
3159 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3160 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3161 INSTALL_DATA!$INSTALL_DATA$ac_delim
3162 am__isrc!$am__isrc$ac_delim
3163 CYGPATH_W!$CYGPATH_W$ac_delim
3164 PACKAGE!$PACKAGE$ac_delim
3165 VERSION!$VERSION$ac_delim
3166 ACLOCAL!$ACLOCAL$ac_delim
3167 AUTOCONF!$AUTOCONF$ac_delim
3168 AUTOMAKE!$AUTOMAKE$ac_delim
3169 AUTOHEADER!$AUTOHEADER$ac_delim
3170 MAKEINFO!$MAKEINFO$ac_delim
3171 install_sh!$install_sh$ac_delim
3172 STRIP!$STRIP$ac_delim
3173 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3174 mkdir_p!$mkdir_p$ac_delim
3176 SET_MAKE!$SET_MAKE$ac_delim
3177 am__leading_dot!$am__leading_dot$ac_delim
3178 AMTAR!$AMTAR$ac_delim
3179 am__tar!$am__tar$ac_delim
3180 am__untar!$am__untar$ac_delim
3183 MKTEMP!$MKTEMP$ac_delim
3184 ac_cv_have_rpm!$ac_cv_have_rpm$ac_delim
3185 HAVE_RPM!$HAVE_RPM$ac_delim
3187 CFGDIR!$CFGDIR$ac_delim
3188 LIBOBJS!$LIBOBJS$ac_delim
3189 LTLIBOBJS!$LTLIBOBJS$ac_delim
3192 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 68; then
3194 elif $ac_last_try; then
3195 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3196 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3197 { (exit 1); exit 1; }; }
3199 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3203 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3204 if test -n "$ac_eof"; then
3205 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3206 ac_eof=`expr $ac_eof + 1`
3209 cat >>$CONFIG_STATUS <<_ACEOF
3210 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3211 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3214 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3215 s/^/s,@/; s/!/@,|#_!!_#|/
3218 s/'"$ac_delim"'$/,g/; t
3220 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3221 ' >>$CONFIG_STATUS <conf$$subs.sed
3222 rm -f conf$$subs.sed
3223 cat >>$CONFIG_STATUS <<_ACEOF
3230 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3231 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3232 # trailing colons and then remove the whole line if VPATH becomes empty
3233 # (actually we leave an empty line to preserve line numbers).
3234 if test "x$srcdir" = x.; then
3235 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3239 s/^\([^=]*=[ ]*\):*/\1/
3245 cat >>$CONFIG_STATUS <<\_ACEOF
3246 fi # test -n "$CONFIG_FILES"
3249 for ac_tag in :F $CONFIG_FILES
3252 :[FHLC]) ac_mode=$ac_tag; continue;;
3254 case $ac_mode$ac_tag in
3256 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3257 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3258 { (exit 1); exit 1; }; };;
3259 :[FH]-) ac_tag=-:-;;
3260 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3277 -) ac_f="$tmp/stdin";;
3278 *) # Look for the file first in the build tree, then in the source tree
3279 # (if the path is not absolute). The absolute path cannot be DOS-style,
3280 # because $ac_f cannot contain `:'.
3284 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3286 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3287 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3288 { (exit 1); exit 1; }; };;
3290 ac_file_inputs="$ac_file_inputs $ac_f"
3293 # Let's still pretend it is `configure' which instantiates (i.e., don't
3294 # use $as_me), people would be surprised to read:
3295 # /* config.h. Generated by config.status. */
3296 configure_input="Generated from "`IFS=:
3297 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3298 if test x"$ac_file" != x-; then
3299 configure_input="$ac_file. $configure_input"
3300 { echo "$as_me:$LINENO: creating $ac_file" >&5
3301 echo "$as_me: creating $ac_file" >&6;}
3305 *:-:* | *:-) cat >"$tmp/stdin";;
3310 ac_dir=`$as_dirname -- "$ac_file" ||
3311 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3312 X"$ac_file" : 'X\(//\)[^/]' \| \
3313 X"$ac_file" : 'X\(//\)$' \| \
3314 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3335 -*) as_dir=./$as_dir;;
3337 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3341 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3342 *) as_qdir=$as_dir;;
3344 as_dirs="'$as_qdir' $as_dirs"
3345 as_dir=`$as_dirname -- "$as_dir" ||
3346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3347 X"$as_dir" : 'X\(//\)[^/]' \| \
3348 X"$as_dir" : 'X\(//\)$' \| \
3349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3368 test -d "$as_dir" && break
3370 test -z "$as_dirs" || eval "mkdir $as_dirs"
3371 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3372 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3373 { (exit 1); exit 1; }; }; }
3377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3379 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3380 # A ".." for each directory in $ac_dir_suffix.
3381 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3382 case $ac_top_builddir_sub in
3383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3387 ac_abs_top_builddir=$ac_pwd
3388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3389 # for backward compatibility:
3390 ac_top_builddir=$ac_top_build_prefix
3393 .) # We are building in place.
3395 ac_top_srcdir=$ac_top_builddir_sub
3396 ac_abs_top_srcdir=$ac_pwd ;;
3397 [\\/]* | ?:[\\/]* ) # Absolute name.
3398 ac_srcdir=$srcdir$ac_dir_suffix;
3399 ac_top_srcdir=$srcdir
3400 ac_abs_top_srcdir=$srcdir ;;
3402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3403 ac_top_srcdir=$ac_top_build_prefix$srcdir
3404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3416 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3417 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3421 [\\/$]* | ?:[\\/]* ) ;;
3422 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3426 cat >>$CONFIG_STATUS <<\_ACEOF
3427 # If the template does not know about datarootdir, expand it.
3428 # FIXME: This hack should be removed a few years after 2.60.
3429 ac_datarootdir_hack=; ac_datarootdir_seen=
3431 case `sed -n '/datarootdir/ {
3440 ' $ac_file_inputs` in
3441 *datarootdir*) ac_datarootdir_seen=yes;;
3442 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3443 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3444 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3446 cat >>$CONFIG_STATUS <<_ACEOF
3447 ac_datarootdir_hack='
3448 s&@datadir@&$datadir&g
3449 s&@docdir@&$docdir&g
3450 s&@infodir@&$infodir&g
3451 s&@localedir@&$localedir&g
3452 s&@mandir@&$mandir&g
3453 s&\\\${datarootdir}&$datarootdir&g' ;;
3457 # Neutralize VPATH when `$srcdir' = `.'.
3458 # Shell code in configure.ac might set extrasub.
3459 # FIXME: do we really want to maintain this feature?
3460 cat >>$CONFIG_STATUS <<_ACEOF
3464 cat >>$CONFIG_STATUS <<\_ACEOF
3466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3467 s&@configure_input@&$configure_input&;t t
3468 s&@top_builddir@&$ac_top_builddir_sub&;t t
3469 s&@srcdir@&$ac_srcdir&;t t
3470 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3471 s&@top_srcdir@&$ac_top_srcdir&;t t
3472 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3473 s&@builddir@&$ac_builddir&;t t
3474 s&@abs_builddir@&$ac_abs_builddir&;t t
3475 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3476 s&@INSTALL@&$ac_INSTALL&;t t
3477 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3478 $ac_datarootdir_hack
3479 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3481 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3482 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3483 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3484 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3485 which seems to be undefined. Please make sure it is defined." >&5
3486 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3487 which seems to be undefined. Please make sure it is defined." >&2;}
3491 -) cat "$tmp/out"; rm -f "$tmp/out";;
3492 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3503 { (exit 0); exit 0; }
3505 chmod +x $CONFIG_STATUS
3506 ac_clean_files=$ac_clean_files_save
3509 # configure is writing to config.log, and then calls config.status.
3510 # config.status does its own redirection, appending to config.log.
3511 # Unfortunately, on DOS this fails, as config.log is still kept open
3512 # by configure, so config.status won't be able to write to it; its
3513 # output is simply discarded. So we exec the FD to /dev/null,
3514 # effectively closing config.log, so it can be properly (re)opened and
3515 # appended to by config.status. When coming back to configure, we
3516 # need to make the FD available again.
3517 if test "$no_create" != yes; then
3519 ac_config_status_args=
3520 test "$silent" = yes &&
3521 ac_config_status_args="$ac_config_status_args --quiet"
3523 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3525 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3526 # would make configure fail if this is the last instruction.
3527 $ac_cs_success || { (exit 1); exit 1; }