diff options
author | Matt Turner <[email protected]> | 2012-08-17 09:31:16 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-08-22 11:08:06 -0700 |
commit | be5fe7b32090ddf425467cee88929423b2ab034d (patch) | |
tree | 5f4625464fe7f36a158b8b102e9d8e31b7ae5b25 | |
parent | 302c66ff813221998bbdcd56887a440aa3c60650 (diff) |
build: Remove deprecated --with-driver= flag
Tested-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | configure.ac | 37 |
1 files changed, 6 insertions, 31 deletions
diff --git a/configure.ac b/configure.ac index 7dac091b0cb..10d7b666d78 100644 --- a/configure.ac +++ b/configure.ac @@ -698,10 +698,7 @@ fi AC_SUBST([SHARED_GLAPI]) AM_CONDITIONAL(HAVE_SHARED_GLAPI, test $SHARED_GLAPI = 1) -dnl -dnl Driver configuration. Options are xlib, dri and osmesa right now. -dnl More later: fbdev, ... -dnl +dnl Driver configuration. Options are xlib, dri and osmesa. default_driver="xlib" case "$host_os" in @@ -719,52 +716,30 @@ if test "x$enable_opengl" = xno; then default_driver="no" fi -AC_ARG_WITH([driver], - [AS_HELP_STRING([--with-driver=DRIVER], [DEPRECATED])], - [mesa_driver="$withval"], - [mesa_driver=auto]) -dnl Check for valid option -case "x$mesa_driver" in -xxlib|xdri|xosmesa|xno) - if test "x$enable_dri" != xauto -o \ - "x$enable_glx" != xauto -o \ - "x$enable_osmesa" != xauto -o \ - "x$enable_xlib_glx" != xauto; then - AC_MSG_ERROR([--with-driver=$mesa_driver is deprecated]) - fi - ;; -xauto) - mesa_driver="$default_driver" - ;; -*) - AC_MSG_ERROR([Driver '$mesa_driver' is not a valid option]) - ;; -esac - -# map $mesa_driver to APIs +# map $default_driver to APIs if test "x$enable_dri" = xauto; then - case "x$mesa_driver" in + case "x$default_driver" in xdri) enable_dri=yes ;; *) enable_dri=no ;; esac fi if test "x$enable_glx" = xauto; then - case "x$mesa_driver" in + case "x$default_driver" in xdri|xxlib) enable_glx=yes ;; *) enable_glx=no ;; esac fi if test "x$enable_osmesa" = xauto; then - case "x$mesa_driver" in + case "x$default_driver" in xxlib|xosmesa) enable_osmesa=yes ;; *) enable_osmesa=no ;; esac fi if test "x$enable_xlib_glx" = xauto; then - case "x$mesa_driver" in + case "x$default_driver" in xxlib) enable_xlib_glx=yes ;; *) enable_xlib_glx=no ;; esac |