SummaryRefsLogTreeCommitDiffStats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2017-01-14 16:56:37 +0100
committerMathieu Lirzin <mthl@gnu.org>2017-09-27 23:21:54 +0200
commit44e0e6f305e9f579af40915723b1965c565e96b9 (patch)
tree4aefbe06e3c08423f50d7b92d948244ea2ebbc03 /Makefile.am
parent57b9294277f2f92e1478ff0d478e483d0a584347 (diff)
downloadmcron-44e0e6f305e9f579af40915723b1965c565e96b9.tar.gz
mcron-44e0e6f305e9f579af40915723b1965c565e96b9.tar.bz2
mcron-44e0e6f305e9f579af40915723b1965c565e96b9.zip
build: Define PACKAGE_LOAD_COMPILED_PATH macro.
* Makefile.am (AM_CPPFLAGS): Define PACKAGE_LOAD_COMPILED_PATH macro. * src/wrapper.c (main): Use it.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a9b2bf7..f615857 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,11 @@
bin_PROGRAMS = bin/mcron bin/crontab
sbin_PROGRAMS = bin/cron
-AM_CPPFLAGS = -DPACKAGE_LOAD_PATH=\"$(moduledir)\" -D_GNU_SOURCE
+AM_CPPFLAGS = \
+ -DPACKAGE_LOAD_PATH=\"$(moduledir)\" \
+ -DPACKAGE_LOAD_COMPILED_PATH=\"$(moduledir)\" \
+ -D_GNU_SOURCE
+
AM_CFLAGS = @GUILE_CFLAGS@
LDADD = @GUILE_LIBS@