From e8a6adad580a9eaef2db30a4147d44bbe2224d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 2 Sep 2006 01:05:24 +0000 Subject: Add --enable-syncfb option, and fix --enable-fb that was doubled; make it work. CVS patchset: 8188 CVS date: 2006/09/02 01:05:24 --- configure.ac | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index e14118bfb..4b2c15b41 100644 --- a/configure.ac +++ b/configure.ac @@ -537,17 +537,15 @@ dnl --------------------------------------------- dnl Check for platform which supports syncfb dnl --------------------------------------------- -case "$host_or_hostalias" in - *linux* ) - AC_ARG_ENABLE([fb], - AC_HELP_STRING([--disable-fb], [do not build syncfb plugins]), - have_syncfb=$enableval, have_syncfb="yes") - ;; - *) - have_syncfb="no" - ;; +AC_ARG_ENABLE([syncfb], + AC_HELP_STRING([--disable-syncfb], [do not build syncfb plugin])) + +case "$host_os" in + *linux*) ;; + *) enable_syncfb=no ;; esac -AM_CONDITIONAL(HAVE_SYNCFB, test x"$have_syncfb" = "xyes") + +AM_CONDITIONAL(HAVE_SYNCFB, test x"$enable_syncfb" != "xno") dnl ---------------------------------------------- @@ -2632,7 +2630,7 @@ echo " * video driver plugins:" if test x"$no_x" != "xyes"; then echo " - XShm (X11 shared memory)" dnl synfb - if test x$ac_have_syncfb = "xyes"; then + if test x$enable_syncfb != "xno"; then echo " - SyncFB (for Matrox G200/G400 cards)" fi dnl Xv -- cgit v1.2.3