2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([backupninja],[0.9.3],[backupninja@lists.riseup.net])
6 AC_CONFIG_SRCDIR([src/backupninja.in])
11 # BASH may already be set in the shell, if the admin then changes the
12 # the /bin/sh symlink to a non-bash shell, all hell will break lose.
14 AC_PATH_PROGS([BASH], [bash], [/bin/bash], [$PATH:/bin:/usr/bin:/usr/sbin])
15 if test x$BASH = "x"; then
16 AC_MSG_ERROR([bash is required])
19 AC_CHECK_PROGS(SED, sed)
20 if test x$SED = "x"; then
21 AC_MSG_ERROR([sed is required])
24 AC_CHECK_PROGS(AWK, awk)
25 if test x$AWK = "x"; then
26 AC_MSG_ERROR([awk is required])
29 AC_SUBST([CFGDIR], "${sysconfdir}")
31 AC_CONFIG_FILES([Makefile
39 AC_OUTPUT([ backupninja.spec])