]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
*** empty log message ***
authorThibault Godouet <yo8192@users.noreply.github.com>
Tue, 12 Sep 2000 19:54:49 +0000 (19:54 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Tue, 12 Sep 2000 19:54:49 +0000 (19:54 +0000)
Makefile.in
config.h.in
script/boot-install

index 93a1f15b8c539cf569b82af430c57d0d4af3566a..979e3d85dc6f2ab7f2d2280c715de4dab09c5af6 100644 (file)
@@ -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
index 5c6ebe0092c96fc49febb69c7d04ae6f9c7065e4..480b4c478ca07df5f9e089f7e374e7e376d2f371 100644 (file)
@@ -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 $ */
 
 
 /* *********************************************************** */
 /* 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 <sys/dg_sys_info.h>.  */
-#undef DGUX
-
-/* Define if the `getloadavg' function needs to be run setuid or setgid.  */
-#undef GETLOADAVG_PRIVILEGED
-
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef gid_t
 
-/* Define if your system has its own `getloadavg' function.  */
-#undef HAVE_GETLOADAVG
+/* Define to `int' if <sys/types.h> doesn't define.  */
+#undef pid_t
 
-/* Define if you have the strftime function.  */
-#undef HAVE_STRFTIME
+/* Define to `unsigned' if <sys/types.h> doesn't define.  */
+#undef size_t
 
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
-#undef HAVE_SYS_WAIT_H
+/* Define to `int' if <sys/types.h> 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 <nlist.h>.  */
-#undef NLIST_STRUCT
-
-/* Define to `int' if <sys/types.h> doesn't define.  */
-#undef pid_t
-
-/* Define as the return type of signal handlers (int or void).  */
-#undef RETSIGTYPE
+/* Define for DGUX with <sys/dg_sys_info.h>.  */
+#undef DGUX
 
-/* Define to `unsigned' if <sys/types.h> 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 <inq_status/cpustats.h>
+   instead of <sys/cpustats.h>.  */
+#undef UMAX4_3
 
 /* Define on System V Release 4.  */
 #undef SVR4
 
-/* Define if you can safely include both <sys/time.h> and <time.h>.  */
-#undef TIME_WITH_SYS_TIME
+/* Define if your system has its own `getloadavg' function.  */
+#undef HAVE_GETLOADAVG
 
-/* Define if your <sys/time.h> 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 <sys/types.h> 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 <inq_status/cpustats.h>
-   instead of <sys/cpustats.h>.  */
-#undef UMAX4_3
+/* Define if you have <nlist.h>.  */
+#undef NLIST_STRUCT
 
 /* Define if you have the getcwd function.  */
 #undef HAVE_GETCWD
 /* 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 <sys/time.h> and <time.h>.  */
+#undef TIME_WITH_SYS_TIME
+
+/* Define if your <sys/time.h> declares struct tm.  */
+#undef TM_IN_SYS_TIME
+
 /* Define if you have the <dirent.h> header file.  */
 #undef HAVE_DIRENT_H
 
+/* Define if you have the <errno.h> header file.  */
+#undef HAVE_ERRNO_H
+
 /* Define if you have the <fcntl.h> header file.  */
 #undef HAVE_FCNTL_H
 
+/* Define if you have the <getopt.h> header file.  */
+#undef HAVE_GETOPT_H
+
 /* Define if you have the <mach/mach.h> header file.  */
 #undef HAVE_MACH_MACH_H
 
 /* Define if you have the <ndir.h> header file.  */
 #undef HAVE_NDIR_H
 
+/* Define if you have the <stdarg.h> header file.  */
+#undef HAVE_STDARG_H
+
 /* Define if you have the <sys/dir.h> header file.  */
 #undef HAVE_SYS_DIR_H
 
+/* Define if you have the <sys/fcntl.h> header file.  */
+#undef HAVE_SYS_FCNTL_H
+
 /* Define if you have the <sys/file.h> header file.  */
 #undef HAVE_SYS_FILE_H
 
 /* Define if you have the <sys/time.h> header file.  */
 #undef HAVE_SYS_TIME_H
 
+/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
+#undef HAVE_SYS_WAIT_H
+
 /* Define if you have the <syslog.h> header file.  */
 #undef HAVE_SYSLOG_H
 
index 0a1016e8f263c4b21e01b7d3d91619e77c158afb..aa4af5d5c76eaf9157d8c84bc5e4effb1e6e75de 100755 (executable)
@@ -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