Remove AM_MAINTAINER_MODE from configure.in because it is erroring
[matthijs/upstream/backupninja.git] / configure.in
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 # The maintainer mode is causing me grief with newest versions of autotools
5 #AM_MAINTAINER_MODE
6 AC_INIT([backupninja],[0.9.3],[backupninja@lists.riseup.net])
7 AC_CONFIG_SRCDIR([src/backupninja.in])
8 AM_INIT_AUTOMAKE
9
10 # Checks for programs.
11
12 # BASH may already be set in the shell, if the admin then changes the
13 # the /bin/sh symlink to a non-bash shell, all hell will break lose.
14 unset BASH
15 AC_PATH_PROGS([BASH], [bash], [/bin/bash], [$PATH:/bin:/usr/bin:/usr/sbin])
16 if test x$BASH = "x"; then
17     AC_MSG_ERROR([bash is required])
18 fi
19
20 AC_CHECK_PROGS(SED, sed)
21 if test x$SED = "x"; then
22     AC_MSG_ERROR([sed is required])
23 fi
24
25 AC_CHECK_PROGS(AWK, awk)
26 if test x$AWK = "x"; then
27     AC_MSG_ERROR([awk is required])
28 fi
29
30 AC_SUBST([CFGDIR], "${sysconfdir}")
31
32 AC_CONFIG_FILES([Makefile
33                 etc/Makefile
34                 examples/Makefile
35                 handlers/Makefile
36                 lib/Makefile
37                 man/Makefile
38                 src/Makefile])
39
40 AC_OUTPUT([ backupninja.spec])