-
assigned issue to
AM_CPPFLAGS in Makefile.am libmonit/Makefile.am libmonit/test/Makefile.am
Issue #61
wontfix
The argument of -I here may be better to use $(top_srcdir) instead of `.' , because sometimes, people could execute configure script not in the source directory, such as:
cd build
~/Projects/monit/configure --prefix=xx...
AM_CPPFLAGS = $(CPPFLAGS) $(EXTCPPFLAGS) -D@ARCH@ -DSYSCONFDIR="\"@sysconfdir@\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src
Change to:
AM_CPPFLAGS = $(CPPFLAGS) $(EXTCPPFLAGS) -D@ARCH@ -DSYSCONFDIR="\"@sysconfdir@\"" -I$(top_srcdir)/src -I$(top_srcdir)/src/device -I$(top_srcdir)/src/http -I$(top_srcdir)/src/process -I$(top_srcdir)/src/protocols -I$(top_srcdir)/libmonit/src
Comments (7)
-
reporter -
reporter - edited description
-
reporter - edited description
-
repo owner - changed component to 1. Monit
-
repo owner - changed component to Monit
-
repo owner - changed status to wontfix
Good suggestion, but unfortunately it does not work. It will require more changes to the include structure and to the Makefile to be able to build Monit outside the distribution directory.
-
repo owner - removed version
Removing version: 5.8.1 (automated comment)
- Log in to comment