diff options
| author | Darren Salt <devspam@moreofthesa.me.uk> | 2014-06-17 21:52:52 +0100 |
|---|---|---|
| committer | Darren Salt <devspam@moreofthesa.me.uk> | 2014-06-17 21:52:52 +0100 |
| commit | 3a71697cc61f1a131dcec073ce4f4e2634e2cb49 (patch) | |
| tree | e1aaec050e6450506bdfc249a9840f0e25629040 /m4 | |
| parent | dd993300ca19e40f1ec4e41bae995f89b8a4f5cd (diff) | |
| download | xine-lib-3a71697cc61f1a131dcec073ce4f4e2634e2cb49.tar.gz xine-lib-3a71697cc61f1a131dcec073ce4f4e2634e2cb49.tar.bz2 | |
Fix detection of and compilation with libcaca 0.99 beta 19.
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/video_out.m4 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/m4/video_out.m4 b/m4/video_out.m4 index e8ff1c45d..734ffa2d9 100644 --- a/m4/video_out.m4 +++ b/m4/video_out.m4 @@ -77,12 +77,20 @@ AC_DEFUN([XINE_VIDEO_OUT_PLUGINS], [ dnl Color AsCii Art XINE_ARG_WITH([caca], [enable support for CACA]) if test x"$with_caca" != x"no"; then - PKG_CHECK_MODULES([CACA], [caca >= 0.99beta14 cucul >= 0.99beta14], [have_caca="yes"], [have_caca="no"]) + have_cucul=yes + PKG_CHECK_MODULES([CACA], [caca >= 0.99beta19], + [have_caca="yes" + have_cucul="no"], + [PKG_CHECK_MODULES([CACA], [caca >= 0.99beta14 cucul >= 0.99beta14], [have_caca="yes"], [have_caca="no"])]) if test x"$hard_with_caca" = x"yes" && test x"$have_caca" != x"yes"; then AC_MSG_ERROR([CACA support requested, but libcaca 0.99 not found]) fi fi AM_CONDITIONAL([ENABLE_CACA], [test x"$have_caca" = x"yes"]) + if test x"$have_caca$have_cucul" = x"yesyes"; then + HAVE_CUCUL=1 + AC_SUBST([HAVE_CUCUL]) + fi dnl dha (Linux only) |
