diff options
author | dale_mellor <dale_mellor> | 2003-07-05 12:13:19 +0000 |
---|---|---|
committer | dale_mellor <dale_mellor> | 2003-07-05 12:13:19 +0000 |
commit | 62b040336328d99ade41776bd52b1d7cd7298629 (patch) | |
tree | 501d06d9af92555884a0820214a2634bde8a36e9 /configure.ac | |
parent | 3725aedd02d9b24c1239610066dd62387ef4d5a9 (diff) | |
download | mcron-62b040336328d99ade41776bd52b1d7cd7298629.tar.gz mcron-62b040336328d99ade41776bd52b1d7cd7298629.tar.bz2 mcron-62b040336328d99ade41776bd52b1d7cd7298629.zip |
Disabled installation of cron, crontab by default. Fixed up all information files to reflect this.0.99.1
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac index f56b111..6c98da4 100644 --- a/configure.ac +++ b/configure.ac @@ -20,30 +20,41 @@ else fi AC_SUBST(CONFIG_DEBUG) - + +AC_MSG_CHECKING([whether the (broken) Vixie programs are requested]) +AC_ARG_ENABLE(vixie, + AC_HELP_STRING([--enable-vixie], + [enable installation of cron and crontab programs]), + CONFIG_ENABLE_VIXIE=$enableval, + CONFIG_ENABLE_VIXIE=no) +AC_MSG_RESULT($CONFIG_ENABLE_VIXIE) +AC_SUBST(CONFIG_ENABLE_VIXIE) + + +# We substitute the following commands into the makefile by configure, because +# automake is confused by the ifeq command. + +IFEQ_VIXIE="ifeq (\$(CONFIG_ENABLE_VIXIE), yes)" +AC_SUBST(IFEQ_VIXIE) +ENDIF="endif" +AC_SUBST(ENDIF) + + AC_PROG_CC GUILE_PROGS GUILE_FLAGS # Checks for programs. - # AC_CHECK_PROG(CHMOD, chmod, chmod) -AC_CHECK_PROGS(CHMOD, chmod) -if test "x$ac_cv_prog_CHMOD" = "x"; then - AC_MSG_ERROR(chmod not found) -fi AC_CHECK_PROGS(ED, ed) if test "x$ac_cv_prog_ED" = "x"; then AC_MSG_ERROR(ed not found) fi -AC_CHECK_PROGS(CAT, cat) -if test "x$ac_cv_prog_CAT" = "x"; then - AC_MSG_ERROR(cat not found) -fi AC_CHECK_PROGS(WHICH, which) if test "x$ac_cv_prog_WHICH" = "x"; then AC_MSG_ERROR(which not found) fi + # Now find a sendmail or equivalent. AC_CHECK_PROGS(SENDMAIL, sendmail) @@ -66,14 +77,6 @@ fi SENDMAIL=$ac_cv_prog_SENDMAIL -# Checks for libraries. - -# Checks for header files. - -# Checks for typedefs, structures, and compiler characteristics. - -# Checks for library functions. - real_program_prefix=`echo $program_prefix | sed s/NONE//` AC_SUBST(real_program_prefix) |