Add -Wundef flag
authorBenjamin Otte <otte@redhat.com>
Mon, 15 Mar 2010 21:17:56 +0000 (22:17 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 16 Mar 2010 16:41:50 +0000 (17:41 +0100)
configure.ac

index cd242acd31bc3a1e29bde64ec38b9e2f9cc0e541..3af58043559fea737ff84834cd9fcafb19c872ef 100644 (file)
@@ -308,10 +308,10 @@ dnl set location of plugin directory
 AG_GST_SET_PLUGINDIR
 
 dnl define an ERROR_CFLAGS Makefile variable
-AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls])
+AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef])
 
 dnl define an ERROR_CXXFLAGS Makefile variable
-AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls])
+AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef])
 
 dnl define correct level for debugging messages
 AG_GST_SET_LEVEL_DEFAULT($GST_GIT)