diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-10-08 21:52:09 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-10-08 21:52:09 +0000 |
commit | 91c75489c506bc8791c9c55bdc6c9efd67c58384 (patch) | |
tree | a4abe1b3bb8fdbd83d7a9a4d9d2464ed026945cc /m4 | |
parent | 23c8426b42bb057c82a513c2f46c432a66feb75d (diff) | |
download | xine-lib-91c75489c506bc8791c9c55bdc6c9efd67c58384.tar.gz xine-lib-91c75489c506bc8791c9c55bdc6c9efd67c58384.tar.bz2 |
Fixed ogg/vorbis stuff (don't link vorbis plusgin to libogg, etc...). Clean
up the ogg/vorbis check (overriding $LIBS is gone now).
CVS patchset: 771
CVS date: 2001/10/08 21:52:09
Diffstat (limited to 'm4')
-rw-r--r-- | m4/_xine.m4 | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/m4/_xine.m4 b/m4/_xine.m4 index a738fd732..5f8708f60 100644 --- a/m4/_xine.m4 +++ b/m4/_xine.m4 @@ -3,27 +3,22 @@ dnl Check for divx4. dnl AC_CHECK_DIVX4([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]) AC_DEFUN([AC_CHECK_DIVX4], [ - ac_save_LIBS="$LIBS" - - DIVX4_LIBS="$DIVX4_LIBS -lstdc++" - LIBS="$DIVX4_LIBS" AC_CHECK_HEADER(decore.h, [ no_divx4=no; - AC_CHECK_LIB(divxdecore, decore, no_divx4=no, no_divx4=yes) ] - , no_divx4=yes) + AC_CHECK_LIB(divxdecore, decore, + [ no_divx4=no; DIVX4_LIBS="$DIVX4_LIBS -ldivxdecore" ], + no_divx4=yes) + ], no_divx4=yes) - LIBS="$ac_save_LIBS" + AC_SUBST(DIVX4_LIBS) if test x"$no_divx4" = "xno" ; then - DIVX4_LIBS="$DIVX4_LIBS -ldivxdecore" - AC_SUBST(DIVX4_LIBS) ifelse([$1], , :, [$1]) else - DIVX4_LIBS="" - AC_SUBST(DIVX4_LIBS) ifelse([$2], , :, [$2]) fi + ]) dnl |