summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2009-10-28 13:12:46 +0100
committerRémi Cardona <remi@gentoo.org>2009-11-05 16:58:35 +0100
commitcbcfb711747e3637f20145aed00ac3d6256d0d1d (patch)
treef166b96f719ec084e70eb54d0ae5b8d38278d690
parent3c0a43b24cc7540cc139beca0ec2e4c202ff5593 (diff)
configure: drop some more cruft
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 <remi@gentoo.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--configure.ac13
1 files changed, 1 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index 6da3ee10..0a69b670 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,14 +65,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"],
@@ -126,7 +118,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)
@@ -134,11 +125,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.3 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.3)