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.
This commit is contained in:
parent
6a82b53ddd
commit
245413041c
3 changed files with 5 additions and 7 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue