summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-19 23:10:15 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-19 23:10:15 +0000
commit1c001492592c18ca6ceb4c50ef7bc36805aad123 (patch)
tree039440b7f5bef062777cfbe01043bc1a68ada804
parent291b576adf3e318710dfa2f03523f0a6eb877b50 (diff)
downloadxine-lib-1c001492592c18ca6ceb4c50ef7bc36805aad123.tar.gz
xine-lib-1c001492592c18ca6ceb4c50ef7bc36805aad123.tar.bz2
Make more generic the support for skipping the missing X11 output plugins warning: Darwin dows not need them either.
CVS patchset: 8717 CVS date: 2007/03/19 23:10:15
-rw-r--r--configure.ac37
1 files changed, 21 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac
index 4f5ec7a1d..8ddbda98d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3161,20 +3161,25 @@ if ! echo "$PATH" | egrep "(:|^)$final_bindir(/?:|/?$)" >/dev/null ; then
fi
dnl warn if no X11 plugins will be built
-if test "x$no_x" = "xyes" \
- -a "x$SYS" != "xmingw32" -a "x$SYS" != "xcygwin" ; then
- echo
- echo "****************************************************************"
- echo "WARNING! No X11 output plugins will be built."
- echo
- echo "For some reason, the requirements for building the X11 video"
- echo "output plugins are not met. That means, that you will NOT be"
- echo "able to use the resulting xine-lib to watch videos in a window"
- echo "on any X11-based display (e.g. your desktop)."
- echo
- echo "If this is not what you want, provide the necessary X11 build"
- echo "dependencies (usually done by installing a package called"
- echo "XFree86-devel or similar) and run configure again."
- echo "****************************************************************"
- echo
+if test "x$no_x" = "xyes"; then
+ case $host in
+ *mingw*|*-cygwin) ;;
+ *-darwin*) ;;
+ *)
+ echo
+ echo "****************************************************************"
+ echo "WARNING! No X11 output plugins will be built."
+ echo
+ echo "For some reason, the requirements for building the X11 video"
+ echo "output plugins are not met. That means, that you will NOT be"
+ echo "able to use the resulting xine-lib to watch videos in a window"
+ echo "on any X11-based display (e.g. your desktop)."
+ echo
+ echo "If this is not what you want, provide the necessary X11 build"
+ echo "dependencies (usually done by installing a package called"
+ echo "XFree86-devel or similar) and run configure again."
+ echo "****************************************************************"
+ echo
+ ;;
+ esac
fi