X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=configure.ac;h=29c72210dbc41f9750de0eccbe674c478390fcea;hp=4bd2e41ee328cd2bc4e9845a86c4fb840e3423cf;hb=ff2670fcc7fe0b62a44dce15272b7cb362256e05;hpb=bf5d28ff726e12696717c556b3a5426384270837 diff --git a/configure.ac b/configure.ac index 4bd2e41..29c7221 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.6]) 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,10 +101,16 @@ 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