Put the definition of NEW_PACKET_LIST into config.h rather than the
authorGuy Harris <guy@alum.mit.edu>
Fri, 17 Sep 2010 07:24:35 +0000 (07:24 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 17 Sep 2010 07:24:35 +0000 (07:24 -0000)
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

configure.in

index e00431334e41b0d2d5c13fae3c1c0e9d8ed0726f..0cdcf9b01433fcf9f4b91089de7450811dc6dc5b 100644 (file)
@@ -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