summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
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")