summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2006-01-25 17:40:59 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2006-01-25 17:40:59 +0000
commit325c49cf90cb8d35fe5766fe9b6a4b7581411c91 (patch)
tree5946dbd978db21eb2b9eaf031b3d9f53988c807c /configure.ac
parente0c973e27e4ae8ad3646c0d9ff23efa7a0219334 (diff)
downloadxine-lib-325c49cf90cb8d35fe5766fe9b6a4b7581411c91.tar.gz
xine-lib-325c49cf90cb8d35fe5766fe9b6a4b7581411c91.tar.bz2
* Patch from SuSE to fix alsa after hardware suspend
* Fix the ./configure --enable-static-xv parameter CVS patchset: 7844 CVS date: 2006/01/25 17:40:59
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 3da2f2f2b..ccdae89ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -571,10 +571,14 @@ dnl Only dynamic linking is possible when using libtool < 1.4.0
AC_ARG_WITH(xv-path, AC_HELP_STRING([--with-xv-path=path], [where libXv is installed]),
xv_path="$withval",)
-AC_ARG_ENABLE(shared-xv,
- AC_HELP_STRING([--enable-static-xv],[Enable this to force linking against libXv.a]),
- xv_prefer_shared="no",
- xv_prefer_shared="yes")
+AC_ARG_ENABLE([static-xv],
+ AC_HELP_STRING([--enable-static-xv],[Enable this to force linking against libXv.a]))
+
+if test "x$enable_static_xv" = "xyes"; then
+ xv_prefer_shared="no"
+else
+ xv_prefer_shared="yes"
+fi
if test x"$no_x" != "xyes"; then
AC_FIND_LIBXV