Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS

AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and
includes. AM_CFLAGS is for flags affecting the compiler, such as debug
and optimization settings.

INCLUDES is an obsolete name. Users can pass INCLUDES and break
compilation. AM_CPPFLAGS is more explicit that the flags come from
Automake and should not be overridden.
This commit is contained in:
Pavel Roskin
2016-01-29 22:45:00 -08:00
parent 309fca35ac
commit a452d8d36a
16 changed files with 31 additions and 61 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ EXTRA_DIST = \
xrdp_rail.h \
crc16.h
AM_CFLAGS = \
AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \