Change build to pass through CPPFLAGS if provided, and to use the DEFS value set by configure.

The DEFS Makefile variable has been renamed to CPPFLAGS, and is now set based on the CPPFLAGS,
INCLUDES and DEFS values provided by configure.

Reported by cpet, this allows the FreeBSD port to drop a patch.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@519 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2014-11-01 14:37:41 +00:00
parent 4ce8dc88de
commit a05b1160c3
28 changed files with 80 additions and 78 deletions

View File

@@ -61,7 +61,7 @@ INSTALL_IRC = @INSTALL_IRC@
IRCLIB = @IRCLIB@
CC = @CC@
DEFS = @INCLUDES@
CPPFLAGS = @CPPFLAGS@ @INCLUDES@ @DEFS@
LIBS = @LIBS@
# Tcl library.