diff options
author | Dale Mellor <dale@rdmp.org> | 2014-04-28 11:47:55 +0100 |
---|---|---|
committer | Dale Mellor <dale@rdmp.org> | 2014-04-28 13:03:28 +0100 |
commit | c45e7c447bf1d95247225d1c70e0ce593cba2ddf (patch) | |
tree | bfef67d482ed783a8608bad7aec689109ef03942 /configure.ac | |
parent | bd5a58ac2fc1fa435a499c0dd8e6f779e68551c0 (diff) | |
download | mcron-1.0.7.tar.gz mcron-1.0.7.tar.bz2 mcron-1.0.7.zip |
Now runs (only) against guile-2.0.1.0.7
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index 6be28a4..0ffd581 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. -# Copyright (C) 2003, 2005, 2012 Dale Mellor +# Copyright (C) 2003, 2005, 2012, 2014 Dale Mellor # # This file is part of GNU mcron. # @@ -42,11 +42,9 @@ AC_SUBST(CONFIG_DEBUG) AC_PROG_AWK AC_PROG_EGREP -AC_PROG_CC -GUILE_PROGS -GUILE_FLAGS -GUILE_SITE_DIR +AM_PROG_CC_C_O +PKG_CHECK_MODULES(GUILE, guile-2.0 >= 2.0.7) # Checks for programs. @@ -72,17 +70,6 @@ if test "x$ac_cv_prog_CP" = "x"; then fi -# Check the Guile version. - -AC_MSG_CHECKING(for guile version >= 1.8.0) -if [$GUILE --version | $HEAD -1 | $AWK '{print $2}' | \ - $EGREP -q '^1\.8\.']; then - AC_MSG_RESULT(OK) -else - AC_MSG_ERROR([Sorry, Guile 1.8.0 or greater is needed to run mcron]) -fi - - # Now find a sendmail or equivalent. AC_CHECK_PROGS(SENDMAIL, sendmail) @@ -182,5 +169,5 @@ real_program_prefix=`echo $program_prefix | sed s/NONE//` AC_SUBST(real_program_prefix) -AC_CONFIG_FILES(makefile config.scm mcron.texinfo) +AC_CONFIG_FILES(mcron.texinfo makefile config.scm) AC_OUTPUT |