From 04693e80d0f61d5e167ce2a0e71ae370779edacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 2 Sep 2006 21:30:29 +0000 Subject: Error out if --enable-syncfb is forced on a non-Linux system. CVS patchset: 8193 CVS date: 2006/09/02 21:30:29 --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4b2c15b41..ca486d2e2 100644 --- a/configure.ac +++ b/configure.ac @@ -542,7 +542,11 @@ AC_ARG_ENABLE([syncfb], case "$host_os" in *linux*) ;; - *) enable_syncfb=no ;; + *) + if test "x$enable_syncfb" = "xyes"; then + AC_MSG_ERROR([You cannot build SyncFB support on non-Linux systems.]) + fi + enable_syncfb=no ;; esac AM_CONDITIONAL(HAVE_SYNCFB, test x"$enable_syncfb" != "xno") -- cgit v1.2.3