diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2016-07-17 00:10:35 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2016-12-01 00:15:56 +0100 |
commit | 245413041c1ddee4bb7d752f6f1044750b887df8 (patch) | |
tree | 999280db336c070f17d92093d36225c01b05e40f /src/mcron.c | |
parent | 6a82b53ddd8cb93f60121cb02e1276e089926ad1 (diff) | |
download | mcron-245413041c1ddee4bb7d752f6f1044750b887df8.tar.gz mcron-245413041c1ddee4bb7d752f6f1044750b887df8.tar.bz2 mcron-245413041c1ddee4bb7d752f6f1044750b887df8.zip |
build: Define PACKAGE_LOAD_PATH in Makefile.
Previously PACKAGE_LOAD_PATH was set in config header which wasn't correctly
expanded due to the presence of ${prefix} in ${moduledir}. Let 'make' handle
the expansion.
* Makefile.am (AM_CPPFLAGS): New variable.
(cron_CPPFLAGS, crontab_CPPFLAGS, mcron_CPPFLAGS): Use it.
* configure.ac (PACKAGE_LOAD_PATH): Undefine it.
(AC_CONFIG_HEADER): Remove macro.
* src/mcron.c: Adapt to it.
Diffstat (limited to 'src/mcron.c')
-rw-r--r-- | src/mcron.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mcron.c b/src/mcron.c index 026b077..a52c073 100644 --- a/src/mcron.c +++ b/src/mcron.c @@ -22,7 +22,6 @@ is needed because the crontab personality requires SUID which is not permitted for executable scripts. */ -#include "config.h" #include <libguile.h> #include <signal.h> #include <stdlib.h> |