Remove NOTES from EXTRA_DIST.
[goaljobs.git] / configure.ac
index ebc5cfd..37af419 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([goaljobs],[0.1])
+AC_INIT([goaljobs],[0.2])
 AM_INIT_AUTOMAKE([foreign])
 
 dnl Only used temporarily while goaljobs.spec is contained in the
@@ -106,6 +106,12 @@ fi
 AM_CONDITIONAL([HAVE_POD2MAN],
                [test "x$POD2MAN" != "xno"])
 
+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([goaljobs_config.ml
                  goaljobs.spec