aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-09-17 07:24:35 +0000
committerGuy Harris <guy@alum.mit.edu>2010-09-17 07:24:35 +0000
commitc66f97ddad9e8a3bdacf07573cbaecffa116931c (patch)
tree7dc47ad5fd2af633d4a8db6eb66028df8fa201c2 /configure.in
parent5f7787d9ecfeea72515a811d16e0f683c13ae2fe (diff)
Put the definition of NEW_PACKET_LIST into config.h rather than the
Makefile; that will force a rebuild if you configure it on or off (that'll rebuild stuff that doesn't need to be rebuilt, but it'll also rebuild stuff that *does* need to be rebuilt and that wouldn't be rebuilt otherwise). svn path=/trunk/; revision=34145
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e00431334e..0cdcf9b014 100644
--- a/configure.in
+++ b/configure.in
@@ -1747,7 +1747,8 @@ AC_ARG_ENABLE(new-packet-list,
AC_MSG_CHECKING(if new packet list is used);
if test "x$new_packet_list" = "xyes" ; then
AC_MSG_RESULT(yes)
- CFLAGS=" -DNEW_PACKET_LIST $CFLAGS"
+ AC_DEFINE(NEW_PACKET_LIST, 1,
+ [Use the new packet list code])
else
AC_MSG_RESULT(no)
fi