X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=configure.ac;h=8a87a7c492026601d2b59a69696015cb3308aff4;hp=40483be604a9a4a4b91c707725772777b5b20bd1;hb=efddbf83a5287c5d668cc04a0c7328cf5ca3e648;hpb=9d1e21ee4cbc519cffdda121962b4672bfbb6007 diff --git a/configure.ac b/configure.ac index 40483be..8a87a7c 100644 --- a/configure.ac +++ b/configure.ac @@ -15,9 +15,13 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -AC_INIT([whenjobs],0.0.1) +AC_INIT([whenjobs],[0.7.2]) AM_INIT_AUTOMAKE([foreign]) +dnl Only used temporarily while whenjobs.spec is contained in the +dnl tarball. We will remove this later. +AC_SUBST([RPM_RELEASE],[1]) + AC_CONFIG_MACRO_DIR([m4]) dnl Allow all GNU/Linux functions. @@ -97,15 +101,22 @@ fi dnl Check for POD (for manual pages). AC_CHECK_PROG(PERLDOC,perldoc,perldoc) -if test "x$PERLDOC" = "xno"; then +if test "x$PERLDOC" = "x"; then AC_MSG_ERROR([You must install the perldoc program]) fi +dnl Check for mailx (for sending email). +AC_CHECK_PROG(MAILX,mailx,mailx) +if test "x$MAILX" = "x"; then + AC_MSG_ERROR([You must install the mailx program]) +fi + AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile daemon/Makefile lib/config.ml lib/Makefile + tests/jobs/Makefile tests/parsing/Makefile tools/Makefile whenjobs.spec])