add -Wundef compiler flag, to catch typo in #if or similar situations
authorAurelien Jacobs <aurel@gnuage.org>
Fri, 16 Jan 2009 00:37:38 +0000 (00:37 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Fri, 16 Jan 2009 00:37:38 +0000 (00:37 +0000)
Originally committed as revision 16621 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index f2cc947..419af7c 100755 (executable)
--- a/configure
+++ b/configure
@@ -2045,6 +2045,7 @@ check_cflags -Wno-pointer-sign
 check_cflags -Wcast-qual
 check_cflags -Wwrite-strings
 check_cflags -Wtype-limits
+check_cflags -Wundef
 enabled extra_warnings && check_cflags -Winline
 
 # add some linker flags