diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-12-27 17:22:30 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-12-27 17:22:30 +0000 |
commit | 30336aacf67d08014b6b17e4a1a50eccc9a05a92 (patch) | |
tree | 7c48212e1f40e8653ade01294ee199b44153f15b /m4 | |
parent | 1b34510447e4e91a1075e15ec2d31161f5419fea (diff) | |
download | xine-lib-30336aacf67d08014b6b17e4a1a50eccc9a05a92.tar.gz xine-lib-30336aacf67d08014b6b17e4a1a50eccc9a05a92.tar.bz2 |
**BUGFIX** (<- testing whether my automated-merging-idea works)
fix xine-lib builds without X11: HAVE_XV must not be defined conditionally,
otherwise configure will complain
also fix the Xv test for old shells with broken handling of empty variables
CVS patchset: 7307
CVS date: 2004/12/27 17:22:30
Diffstat (limited to 'm4')
-rw-r--r-- | m4/xv.m4 | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -43,8 +43,6 @@ AC_DEFUN([AC_TEST_LIBXV], , [$X_LIBS $X_PRE_LIBS -lXext $X_EXTRA_LIBS]) - AM_CONDITIONAL(HAVE_XV, test x$ac_have_xv = "xyes") - dnl ----------------------------------------------- dnl xine_check use Xv functions API. dnl ----------------------------------------------- @@ -66,7 +64,7 @@ AC_DEFUN([AC_FIND_LIBXV], AC_REQUIRE([AC_PATH_XTRA]) # Set xv_path if its not done already - if test -z $xv_path; then + if test x$xv_path = x; then xv_path=`echo $X_LIBS | sed -e 's/\-L\(.*\)/\1/'` fi @@ -77,7 +75,7 @@ AC_DEFUN([AC_FIND_LIBXV], fi # Try the other lib if prefered failed - if test -z $XV_LIB; then + if test x$XV_LIB = x; then if ! test "x$xv_prefer_shared" = "xyes"; then AC_PATH_LIBXV_IMPL([libXv.so]) else @@ -85,7 +83,7 @@ AC_DEFUN([AC_FIND_LIBXV], fi fi - if ! test -z $XV_LIB; then + if ! test x$XV_LIB = x; then AC_TEST_LIBXV fi ]) |