summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-16 00:37:38 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-16 00:37:38 +0000
commit764551c672bfc9d87ceef31ba5f111ca02533e1a (patch)
tree5f54b49b42cbbf1b4ad3b479624d0d2f47c4db30 /configure
parent8b192330d5010f810f084065b790f82bb1305e7a (diff)
add -Wundef compiler flag, to catch typo in #if or similar situations
Originally committed as revision 16621 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index f2cc947793..419af7c69e 100755
--- 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