From 325c49cf90cb8d35fe5766fe9b6a4b7581411c91 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 25 Jan 2006 17:40:59 +0000 Subject: * 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 --- configure.ac | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'configure.ac') 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 -- cgit v1.2.3