No need to pass -DVERSION=... to C compiler: Autoconf puts it into config.h.
authorBen Pfaff <blp@nicira.com>
Wed, 22 Oct 2008 21:37:07 +0000 (14:37 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 23 Oct 2008 17:58:24 +0000 (10:58 -0700)
Makefile.am

index 26ac9ea..70ef61a 100644 (file)
@@ -18,8 +18,7 @@ if HAVE_EXT
 AM_CPPFLAGS += -I $(top_srcdir)/ext/include
 endif
 
-AM_CFLAGS = -DVERSION=\"$(VERSION)\"
-AM_CFLAGS += -Wstrict-prototypes
+AM_CFLAGS = -Wstrict-prototypes
 
 rundir = $(localstatedir)/run
 AM_CFLAGS += -DRUNDIR=\"$(rundir)\"