summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-09 09:13:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-09 09:14:42 +0100
commit039a64e89e0323bd02eec24fba21a3924ee5cc31 (patch)
treea62645cbbab65734ad2fce9fa2fa25aa7eb9a517 /configure.ac
parent31b4110b5119ad1643f3e75c5e23a44c4ceb30fe (diff)
configure: Only use XORG_TESTSET_CFLAG if defined
Repairs the build for f16 which has an older version of xorg-macros. Fortunately, as it doesn't define XORG_TESTSET_CFLAG it also doesn't use it generate noisy output. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 80941dd7..7235bde8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,9 +44,11 @@ XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
# And disable a few very noisy warnings
+m4_ifndef([XORG_TESTSET_CLAG], [
XORG_TESTSET_CFLAG([NOWARNFLAGS], [-Wno-cast-qual])
XORG_TESTSET_CFLAG([NOWARNFLAGS], [-Wno-redundant-decls])
XORG_TESTSET_CFLAG([NOWARNFLAGS], [-Wno-maybe-uninitialized])
+])
AC_SUBST(NOWARNFLAGS)
# Require X.Org server macros (i.e. XORG_DRIVER_CHECK_EXT) to check for required modules