Pass the state through reevaluate_whenjobs and run_job.
[whenjobs.git] / configure.ac
index 0185eba..7f1fb65 100644 (file)
@@ -15,7 +15,7 @@
 # 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.2)
+AC_INIT([whenjobs],[0.5])
 AM_INIT_AUTOMAKE([foreign])
 
 dnl Only used temporarily while whenjobs.spec is contained in the
@@ -105,6 +105,12 @@ 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