summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-02 01:05:24 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-02 01:05:24 +0000
commite8a6adad580a9eaef2db30a4147d44bbe2224d2a (patch)
treead9ec36bfd78495ad1e64e99a60e57bd1311d08a
parentaa0650937d72c51a33cce9a326f0ffc133b65916 (diff)
downloadxine-lib-e8a6adad580a9eaef2db30a4147d44bbe2224d2a.tar.gz
xine-lib-e8a6adad580a9eaef2db30a4147d44bbe2224d2a.tar.bz2
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
-rw-r--r--configure.ac20
1 files 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