mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-20 21:57:10 -04:00
Use AM_CPPFLAGS instead of DEFS as per autoconf documentation
This commit is contained in:
parent
9de4938ba8
commit
72074a8f2e
2 changed files with 2 additions and 4 deletions
|
|
@ -4,8 +4,7 @@ SUBDIRS = . tests
|
|||
|
||||
noinst_LIBRARIES = libnagiosplug.a
|
||||
|
||||
# Not sure how to set this in config.h
|
||||
DEFS = -DNP_STATE_DIR_PREFIX='"$(localstatedir)"'
|
||||
AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\"
|
||||
|
||||
libnagiosplug_a_SOURCES = utils_base.c utils_disk.c utils_tcp.c utils_cmd.c
|
||||
EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h parse_ini.h extra_opts.h
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@ noinst_PROGRAMS = @EXTRA_TEST@
|
|||
TESTS = @EXTRA_TEST@
|
||||
check_PROGRAMS = @EXTRA_TEST@
|
||||
|
||||
# See lib/Makefile.am
|
||||
DEFS = -DNP_STATE_DIR_PREFIX='"$(localstatedir)"'
|
||||
AM_CPPFLAGS = -DNP_STATE_DIR_PREFIX=\"$(localstatedir)\"
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue