Permalink
Browse files

Correctly add defines via AM_CFLAGS

  • Loading branch information...
1 parent 78e8134 commit 4caf8ea9dcc3aa224345fad9f832ec62546f6772 @jonm committed Nov 17, 2015
Showing with 2 additions and 2 deletions.
  1. +0 −2 configure.ac
  2. +2 −0 src/Makefile.am
View
@@ -16,8 +16,6 @@ AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([bzero gethostbyaddr gethostbyname gethostname getpagesize gettimeofday inet_ntoa isascii memset select socket strchr strdup strrchr strstr])
-CFLAGS+=" -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES"
-
AC_CONFIG_FILES([
Makefile
src/Makefile
View
@@ -1,4 +1,6 @@
## Process this file with automake to produce Makefile.in
+AM_CFLAGS = -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES
+
bin_PROGRAMS = dmserver
common_sources = comm.c act.comm.c act.info.c act.move.c act.obj1.c \
act.obj2.c act.off.c act.other.c act.social.c act.wizard.c handler.c \

0 comments on commit 4caf8ea

Please sign in to comment.