diff options
author | Micah Anderson <micah@riseup.net> | 2009-02-19 12:20:44 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-02-19 12:20:44 -0500 |
commit | 27a7859c42394a78c16b24f0d08ca28667bb1efa (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /configure.in | |
parent | 386c4275946520bc590428e730a9d515155436a0 (diff) | |
download | backupninja-27a7859c42394a78c16b24f0d08ca28667bb1efa.tar.gz backupninja-27a7859c42394a78c16b24f0d08ca28667bb1efa.tar.bz2 |
creating a debian only branch out of what used to be a subversion repository
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/configure.in b/configure.in deleted file mode 100644 index 26e95be..0000000 --- a/configure.in +++ /dev/null @@ -1,79 +0,0 @@ -# -*- Autoconf -*- -# Process this file with autoconf to produce a configure script. - -# The maintainer mode is causing me grief with newest versions of autotools -#AM_MAINTAINER_MODE -AC_INIT([backupninja],[0.9.6],[backupninja@lists.riseup.net]) -AC_CONFIG_SRCDIR([src/backupninja.in]) -AM_INIT_AUTOMAKE - -# Checks for programs. - -# BASH may already be set in the shell, if the admin then changes the -# the /bin/sh symlink to a non-bash shell, all hell will break lose. -unset BASH -AC_PATH_PROGS(BASH, bash, "no", [$PATH:/bin:/usr/bin:/usr/sbin]) -if test x$BASH = "xno"; then - AC_MSG_ERROR([bash is required]) -fi - -AC_PATH_PROGS(SED, sed, "no") -if test x$SED = "xno"; then - AC_MSG_ERROR([sed is required]) -else - export SED -fi - -AC_PATH_PROGS(AWK, awk, "no") -if test x$AWK = "xno"; then - AC_MSG_ERROR([awk is required]) -else - export AWK -fi - -AC_PATH_PROGS(MKTEMP, mktemp, "no") -if test x$MKTEMPT = "xno"; then - AC_MSG_ERROR([mktemp is required]) -fi - -AC_CHECK_PROG(ac_cv_have_rpm, rpm, "yes", "no") -if test "x$ac_cv_have_rpm" = "xyes"; then - rpm --define '_topdir /tmp' > /dev/null 2>&1 - AC_MSG_CHECKING(to see if we can redefine _topdir) - if test $? -eq 0 ; then - AC_MSG_RESULT(yes) - HAVE_RPM=yes - else - AC_MSG_RESULT(no. You'll have to build packages manually.) - HAVE_RPM=no - fi -fi -AC_SUBST(HAVE_RPM) - -AC_CHECK_PROG(ac_cv_have_rpm, rpm, "yes", "no") -if test "x$ac_cv_have_rpm" = "xyes"; then - rpm --define '_topdir /tmp' > /dev/null 2>&1 - AC_MSG_CHECKING(to see if we can redefine _topdir) - if test $? -eq 0 ; then - AC_MSG_RESULT(yes) - HAVE_RPM=yes - else - AC_MSG_RESULT(no. You'll have to build packages manually.) - HAVE_RPM=no - fi -fi -AC_SUBST(HAVE_RPM) - -AC_PROG_LN_S - -AC_SUBST([CFGDIR], "${sysconfdir}") - -AC_CONFIG_FILES([Makefile - etc/Makefile - examples/Makefile - handlers/Makefile - lib/Makefile - man/Makefile - src/Makefile]) - -AC_OUTPUT([ backupninja.spec]) |