SOURCES: shush-progs.patch (NEW) - even we can pass SENDMAIL, CRON...

glen glen at pld-linux.org
Mon Nov 6 23:35:57 CET 2006


Author: glen                         Date: Mon Nov  6 22:35:57 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- even we can pass SENDMAIL, CRONTAB in env, configure will override with ones it finds. this patch prevents that

---- Files affected:
SOURCES:
   shush-progs.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/shush-progs.patch
diff -u /dev/null SOURCES/shush-progs.patch:1.1
--- /dev/null	Mon Nov  6 23:35:57 2006
+++ SOURCES/shush-progs.patch	Mon Nov  6 23:35:52 2006
@@ -0,0 +1,18 @@
+--- shush-1.0.2/configure.ac~	2006-01-08 03:21:24.000000000 +0200
++++ shush-1.0.2/configure.ac	2006-11-07 00:30:20.421181640 +0200
+@@ -11,9 +11,13 @@
+ AC_PROG_CC
+ test "x$GCC" = "xyes" && CFLAGS="$CFLAGS -fno-builtin-log"
+ AC_PROG_INSTALL
+-AC_PATH_PROG([SENDMAIL], [sendmail], [NOSENDMAIL], [/usr/lib:/usr/sbin:$PATH])
++if test -z "$SENDMAIL"; then
++	AC_PATH_PROG([SENDMAIL], [sendmail], [NOSENDMAIL], [/usr/lib:/usr/sbin:$PATH])
++fi
+ AC_DEFINE_UNQUOTED([SENDMAIL], ["$SENDMAIL"], [Path to sendmail program])
+-AC_PATH_PROG([CRONTAB], [crontab], [NOCRONTAB])
++if test -z "$CRONTAB"; then
++	AC_PATH_PROG([CRONTAB], [crontab], [NOCRONTAB])
++fi
+ AC_DEFINE_UNQUOTED([CRONTAB], ["$CRONTAB"], [Path to crontab program])
+ 
+ # Pthreads, please..
================================================================


More information about the pld-cvs-commit mailing list