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 26ac9eabf1c78e2e6b621ceb9d38c65b4ebc63ab..70ef61ad2ea469eb3cf7b2574499d1cd5b0b8868 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)\"