diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-02 21:30:29 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-02 21:30:29 +0000 |
commit | 04693e80d0f61d5e167ce2a0e71ae370779edacb (patch) | |
tree | 74359a443bb867c5a2ae3e2cd83014681635a74b | |
parent | abbb98dd9400b4353aff7222b3a82c1198361082 (diff) | |
download | xine-lib-04693e80d0f61d5e167ce2a0e71ae370779edacb.tar.gz xine-lib-04693e80d0f61d5e167ce2a0e71ae370779edacb.tar.bz2 |
Error out if --enable-syncfb is forced on a non-Linux system.
CVS patchset: 8193
CVS date: 2006/09/02 21:30:29
-rw-r--r-- | configure.ac | 6 |
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") |