From 62486a2206515e26924a3855ebd2558c4ca51eb9 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 11 Jul 2017 15:37:32 -0700 Subject: [PATCH] configure: test for -Wundef Change-Id: Ia4bcde5276ae9572c5b3152e578d59a4e3552988 --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index c70c9f6f..e98b3b74 100644 --- a/configure.ac +++ b/configure.ac @@ -79,6 +79,7 @@ TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wold-style-definition]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wparentheses-equality]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wshadow]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wshorten-64-to-32]) +TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wundef]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wunreachable-code]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wunused-but-set-variable]) TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wunused])