diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
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 |