diff options
| author | Ton Voon <ton.voon@opsera.com> | 2010-06-21 21:07:40 +0100 |
|---|---|---|
| committer | Ton Voon <ton.voon@opsera.com> | 2010-06-21 21:07:40 +0100 |
| commit | 72074a8f2e99d3a36899f7c5533f2bbe8c5e18cd (patch) | |
| tree | 2691b3cf6a00e03594bf08709de78dd09d1020bb | |
| parent | 9de4938ba85d5afd53e08f6a8e90fa4c477704fc (diff) | |
| download | monitoring-plugins-72074a8f2e99d3a36899f7c5533f2bbe8c5e18cd.tar.gz | |
Use AM_CPPFLAGS instead of DEFS as per autoconf documentation
| -rw-r--r-- | lib/Makefile.am | 3 | ||||
| -rw-r--r-- | lib/tests/Makefile.am | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 1c7e7e7b..99fa591a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am | |||
| @@ -4,8 +4,7 @@ SUBDIRS = . tests | |||
| 4 | 4 | ||
| 5 | noinst_LIBRARIES = libnagiosplug.a | 5 | noinst_LIBRARIES = libnagiosplug.a |
| 6 | 6 | ||
| 7 | # Not sure how to set this in config.h | 7 | AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" |
| 8 | DEFS = -DNP_STATE_DIR_PREFIX='"$(localstatedir)"' | ||
| 9 | 8 | ||
| 10 | libnagiosplug_a_SOURCES = utils_base.c utils_disk.c utils_tcp.c utils_cmd.c | 9 | libnagiosplug_a_SOURCES = utils_base.c utils_disk.c utils_tcp.c utils_cmd.c |
| 11 | EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h parse_ini.h extra_opts.h | 10 | EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h parse_ini.h extra_opts.h |
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index 3112020c..06a4b423 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am | |||
| @@ -5,8 +5,7 @@ noinst_PROGRAMS = @EXTRA_TEST@ | |||
| 5 | TESTS = @EXTRA_TEST@ | 5 | TESTS = @EXTRA_TEST@ |
| 6 | check_PROGRAMS = @EXTRA_TEST@ | 6 | check_PROGRAMS = @EXTRA_TEST@ |
| 7 | 7 | ||
| 8 | # See lib/Makefile.am | 8 | AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\" |
| 9 | DEFS = -DNP_STATE_DIR_PREFIX='"$(localstatedir)"' | ||
| 10 | 9 | ||
| 11 | INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins | 10 | INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins |
| 12 | 11 | ||
