From: Thibault Godouet Date: Tue, 12 Sep 2000 19:54:49 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ver2_9_4~590 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98f3da6363f44f2a8e76dde80c848e8cd8bc1e59;p=thirdparty%2Ffcron.git *** empty log message *** --- diff --git a/Makefile.in b/Makefile.in index 93a1f15..979e3d8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -4,7 +4,7 @@ # @configure_input@ -# $Id: Makefile.in,v 1.29 2000-09-12 16:41:18 thib Exp $ +# $Id: Makefile.in,v 1.30 2000-09-12 19:54:49 thib Exp $ # Where should we install it ? prefix = @prefix@ @@ -28,8 +28,8 @@ INSTALL = @INSTALL@ # -DDEBUG even more verbose # -DCHECKJOBS send a mail containing the exact shell command # for each execution of each job. -#OPTIM = @CFLAGS@ -OPTIM= -DDEBUG -g -DFOREGROUND -DMALLOC_CHECK_=2 +OPTIM = @CFLAGS@ +#OPTIM= -DDEBUG -g -DFOREGROUND -DMALLOC_CHECK_=2 #OPTIM= -DDEBUG -g -DCHECKJOBS -Wall -Wpointer-arith -Wstrict-prototypes #OPTIM= -DDEBUG -Wall -Wpointer-arith -Wstrict-prototypes #OPTIM= -O2 -Wall @@ -38,8 +38,7 @@ OPTIM= -DDEBUG -g -DFOREGROUND -DMALLOC_CHECK_=2 # Options # -DFOREGROUND=[0|1] default run in foreground ? -# -DPROC_LOADAVG=[0|1] do we have a mounted procfs with loadavg file ? -OPTION = -DPROC_LOADAVG=1 +OPTION = #################################### @@ -48,7 +47,7 @@ OPTION = -DPROC_LOADAVG=1 VERSION= @VERSION@ CFLAGS= $(INCLUDE) $(OPTIM) $(OTHERFLAGS) $(OPTION) $(DEFS) $(LIBS) -OBJSD = fcron.o subs.o database.o job.o log.o conf.o getloadavg.o $(LIBOBJS) +OBJSD = fcron.o subs.o database.o job.o log.o conf.o $(LIBOBJS) OBJS= fcrontab.o fileconf.o subs.o log.o allow.o HEADERSD = fcron.h config.h global.h option.h getloadavg.h HEADERS = fcrontab.h config.h global.h option.h @@ -108,11 +107,11 @@ uninstall: clean: rm -f *.o rm -f doc/fcrontab.1 doc/fcron.8 doc/fcrontab.5 - rm -f config.log config.status config.h config.cache Makefile rm -f fcron fcrontab vclean: clean find ./ -name "*~" -exec rm -f {} \; + rm -f config.log config.status config.h config.cache Makefile %.html: %.in Makefile config.h diff --git a/config.h.in b/config.h.in index 5c6ebe0..480b4c4 100644 --- a/config.h.in +++ b/config.h.in @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: config.h.in,v 1.16 2000-09-12 16:42:28 thib Exp $ */ + /* $Id: config.h.in,v 1.17 2000-09-12 19:55:14 thib Exp $ */ /* *********************************************************** */ @@ -135,71 +135,61 @@ /* where is located pid file ? */ #undef PIDFILE -#undef PROC_LOADAVG 1 -#undef DEBUG 0 /* 1 if you want debug mode */ -#undef FOREGROUND 0 /* 1 if you want foreground mode by default */ +#undef NOLOADAVG +/* 1 if you want debug mode */ +#undef DEBUG +/* 1 if you want foreground mode by default */ +#undef FOREGROUND /* Define to empty if the keyword does not work. */ #undef const -/* Define for DGUX with . */ -#undef DGUX - -/* Define if the `getloadavg' function needs to be run setuid or setgid. */ -#undef GETLOADAVG_PRIVILEGED - /* Define to `int' if doesn't define. */ #undef gid_t -/* Define if your system has its own `getloadavg' function. */ -#undef HAVE_GETLOADAVG +/* Define to `int' if doesn't define. */ +#undef pid_t -/* Define if you have the strftime function. */ -#undef HAVE_STRFTIME +/* Define to `unsigned' if doesn't define. */ +#undef size_t -/* Define if you have that is POSIX.1 compatible. */ -#undef HAVE_SYS_WAIT_H +/* Define to `int' if doesn't define. */ +#undef uid_t -/* Define if you have the wait3 system call. */ -#undef HAVE_WAIT3 +/* Define as the return type of signal handlers (int or void). */ +#undef RETSIGTYPE /* Define if your struct nlist has an n_un member. */ #undef NLIST_NAME_UNION -/* Define if you have . */ -#undef NLIST_STRUCT - -/* Define to `int' if doesn't define. */ -#undef pid_t - -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE +/* Define for DGUX with . */ +#undef DGUX -/* Define to `unsigned' if doesn't define. */ -#undef size_t +/* Define for Encore UMAX. */ +#undef UMAX -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS +/* Define for Encore UMAX 4.3 that has + instead of . */ +#undef UMAX4_3 /* Define on System V Release 4. */ #undef SVR4 -/* Define if you can safely include both and . */ -#undef TIME_WITH_SYS_TIME +/* Define if your system has its own `getloadavg' function. */ +#undef HAVE_GETLOADAVG -/* Define if your declares struct tm. */ -#undef TM_IN_SYS_TIME +/* Define if the `getloadavg' function needs to be run setuid or setgid. */ +#undef GETLOADAVG_PRIVILEGED -/* Define to `int' if doesn't define. */ -#undef uid_t +/* Define if you have the strftime function. */ +#undef HAVE_STRFTIME -/* Define for Encore UMAX. */ -#undef UMAX +/* Define if you have the wait3 system call. */ +#undef HAVE_WAIT3 -/* Define for Encore UMAX 4.3 that has - instead of . */ -#undef UMAX4_3 +/* Define if you have . */ +#undef NLIST_STRUCT /* Define if you have the getcwd function. */ #undef HAVE_GETCWD @@ -219,21 +209,42 @@ /* Define if you have the strerror function. */ #undef HAVE_STRERROR +/* Define if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define if you can safely include both and . */ +#undef TIME_WITH_SYS_TIME + +/* Define if your declares struct tm. */ +#undef TM_IN_SYS_TIME + /* Define if you have the header file. */ #undef HAVE_DIRENT_H +/* Define if you have the header file. */ +#undef HAVE_ERRNO_H + /* Define if you have the header file. */ #undef HAVE_FCNTL_H +/* Define if you have the header file. */ +#undef HAVE_GETOPT_H + /* Define if you have the header file. */ #undef HAVE_MACH_MACH_H /* Define if you have the header file. */ #undef HAVE_NDIR_H +/* Define if you have the header file. */ +#undef HAVE_STDARG_H + /* Define if you have the header file. */ #undef HAVE_SYS_DIR_H +/* Define if you have the header file. */ +#undef HAVE_SYS_FCNTL_H + /* Define if you have the header file. */ #undef HAVE_SYS_FILE_H @@ -246,6 +257,9 @@ /* Define if you have the header file. */ #undef HAVE_SYS_TIME_H +/* Define if you have that is POSIX.1 compatible. */ +#undef HAVE_SYS_WAIT_H + /* Define if you have the header file. */ #undef HAVE_SYSLOG_H diff --git a/script/boot-install b/script/boot-install index 0a1016e..aa4af5d 100755 --- a/script/boot-install +++ b/script/boot-install @@ -2,7 +2,7 @@ # Install fcron under SysV system. # -# $Id: boot-install,v 1.8 2000-09-03 18:55:04 thib Exp $ +# $Id: boot-install,v 1.9 2000-09-12 19:59:48 thib Exp $ # take 2 arguments : the name of the BSD-like install program # and the DESTSBIN directory @@ -13,7 +13,7 @@ startdir=$pwd DEBUG=1 if test $# -ne 2; then - echo "Too few arguments" + echo "Too few/many arguments" exit 1 fi