From 57e49a65c992f792c1f2986eb8318d4e4c4b7804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Cardona?= Date: Wed, 28 Oct 2009 13:12:46 +0100 Subject: configure: drop some more cruft MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DEBUGFLAGS wasn't used anywhere and the configure switch is useless. "CFLAGS=-g ./configure" does the same thing and actually works. PKG_CHECK_MODULES already calls AC_SUBST, no need to do it twice. Signed-off-by: RĂ©mi Cardona Acked-by: Chris Wilson (cherry picked from commit cbcfb711747e3637f20145aed00ac3d6256d0d1d) Signed-off-by: Owain G. Ainsworth --- configure.ac | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5cb53e47..88f5bcb0 100644 --- a/configure.ac +++ b/configure.ac @@ -71,14 +71,6 @@ AC_ARG_ENABLE(video-debug, AC_HELP_STRING([--enable-video-debug], [VIDEO_DEBUG="$enableval"], [VIDEO_DEBUG=no]) -AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], - [Compile with debug support [[default=yes]]])) -if test "x$enableval" == "xyes" ; then - DEBUGFLAGS="-g" -else - DEBUGFLAGS="" -fi - AC_ARG_ENABLE(xvmc, AC_HELP_STRING([--disable-xvmc], [Disable XvMC support [[default=yes]]]), [XVMC="$enableval"], @@ -130,7 +122,6 @@ AC_MSG_RESULT([$XVMC]) AM_CONDITIONAL(XVMC, test x$XVMC = xyes) if test "$XVMC" = yes; then AC_DEFINE(ENABLE_XVMC,1,[Enable XvMC support]) - AC_SUBST([XVMCLIB_CFLAGS]) fi AM_CONDITIONAL(KMS_ONLY, test x$KMS_ONLY = xyes) @@ -138,11 +129,9 @@ if test "$KMS_ONLY" = yes; then AC_DEFINE(KMS_ONLY,1,[Assume KMS support]) fi -AC_SUBST([XORG_CFLAGS]) -AC_SUBST([moduledir]) - DRIVER_NAME=intel AC_SUBST([DRIVER_NAME]) +AC_SUBST([moduledir]) m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1.3 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.1.3) -- cgit v1.2.3