Commit d14bfaa2 authored by Christophe Mutricy's avatar Christophe Mutricy

Add a test for ggi

parent 58469546
...@@ -4411,15 +4411,19 @@ AC_ARG_ENABLE(ggi, ...@@ -4411,15 +4411,19 @@ AC_ARG_ENABLE(ggi,
[ --enable-ggi GGI support (default disabled)]) [ --enable-ggi GGI support (default disabled)])
if test "${enable_ggi}" = "yes" if test "${enable_ggi}" = "yes"
then then
VLC_ADD_PLUGIN([ggi]) AC_CHECK_HEADER([ggi/ggi.h],[
VLC_ADD_LIBS([ggi],[-lggi]) VLC_ADD_PLUGIN([ggi])
AC_ARG_WITH(ggi, VLC_ADD_LIBS([ggi],[-lggi])
[ --with-ggi=PATH path to libggi], AC_ARG_WITH(ggi,
[ if test "${with_ggi}" != "no" -a -n "${with_ggi}" [ --with-ggi=PATH path to libggi],
then [ if test "${with_ggi}" != "no" -a -n "${with_ggi}"
VLC_ADD_CPPFLAGS([ggi],[-I${with_ggi}/include]) then
VLC_ADD_LIBS([ggi],[-L${with_ggi}/lib]) VLC_ADD_CPPFLAGS([ggi],[-I${with_ggi}/include])
fi ]) VLC_ADD_LIBS([ggi],[-L${with_ggi}/lib])
fi ])
],[
AC_MSG_ERROR([LibGGI development files can't be found])
])
fi fi
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment