Fix perldoc test in configure script.
[whenjobs.git] / configure.ac
index 40483be..0185eba 100644 (file)
 # 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.0.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,7 +101,7 @@ 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
 
@@ -106,6 +110,7 @@ AC_CONFIG_FILES([Makefile
                  daemon/Makefile
                  lib/config.ml
                  lib/Makefile
+                 tests/jobs/Makefile
                  tests/parsing/Makefile
                  tools/Makefile
                  whenjobs.spec])