mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
Added a check for libgsm
Original commit message from CVS: Added a check for libgsm
This commit is contained in:
parent
952019669a
commit
661fcdef87
3 changed files with 34 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
#undef HAVE_VORBIS
|
||||
#undef HAVE_LIBMAD
|
||||
#undef HAVE_LIBJPEG
|
||||
#undef HAVE_LIBGSM
|
||||
#undef HAVE_LIBSDL
|
||||
#undef HAVE_LIBHERMES
|
||||
#undef HAVE_NASM
|
||||
|
|
17
configure.ac
17
configure.ac
|
@ -499,6 +499,17 @@ AC_CHECK_LIB(Hermes, Hermes_ConverterInstance,
|
|||
)
|
||||
AC_CHECK_HEADER(Hermes/Hermes.h, :, HAVE_LIBHERMES=no)
|
||||
|
||||
dnl Check for libgsm
|
||||
AC_MSG_CHECKING(GSM library)
|
||||
AC_CHECK_LIB(gsm, gsm_create,
|
||||
HAVE_LIBGSM=yes
|
||||
AC_DEFINE(HAVE_LIBGSM),
|
||||
AC_MSG_WARN(
|
||||
***** NOTE: These plugins won't be built: gsmdec, gsmenc
|
||||
)
|
||||
HAVE_LIBGSM=no,
|
||||
)
|
||||
|
||||
dnl Check for cdparanoia
|
||||
AC_MSG_CHECKING(CDparanoia library)
|
||||
HAVE_CDPARANOIA=yes
|
||||
|
@ -862,6 +873,10 @@ if test "x$HAVE_LIBAUDIOFILE" = xyes; then
|
|||
AC_DEFINE(HAVE_LIBAUDIOFILE)
|
||||
fi
|
||||
|
||||
if test "x$HAVE_LIBGSM" = xyes; then
|
||||
AC_DEFINE(HAVE_LIBGSM)
|
||||
fi
|
||||
|
||||
dnl #############################
|
||||
dnl # Set automake conditionals #
|
||||
dnl #############################
|
||||
|
@ -915,7 +930,7 @@ AM_CONDITIONAL(HAVE_LIBDV, test "x$HAVE_LIBDV" = "xyes")
|
|||
AM_CONDITIONAL(HAVE_LIBAA, test "x$HAVE_LIBAA" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_GNOME_VFS, test "x$HAVE_GNOME_VFS" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBOPENQUICKTIME, test "x$HAVE_LIBOPENQUICKTIME" = "xyes")
|
||||
|
||||
AM_CONDITIONAL(HAVE_LIBGSM, test "x$HAVE_LIBGSM" = "xyes")
|
||||
|
||||
|
||||
dnl ############################
|
||||
|
|
17
configure.in
17
configure.in
|
@ -493,6 +493,17 @@ AC_CHECK_LIB(jpeg, jpeg_set_defaults,
|
|||
HAVE_LIBJPEG=no,
|
||||
)
|
||||
|
||||
dnl Check for libgsm
|
||||
AC_MSG_CHECKING(libgsm library)
|
||||
AC_CHECK_LIB(gsm, gsm_create,
|
||||
HAVE_LIBGSM=yes
|
||||
AC_DEFINE(HAVE_LIBGSM),
|
||||
AC_MSG_WARN(
|
||||
***** NOTE: These plugins won't be built: gsmdec gsmenc
|
||||
)
|
||||
HAVE_LIBGSM=no,
|
||||
)
|
||||
|
||||
dnl Check for Hermes
|
||||
AC_MSG_CHECKING(Hermes library)
|
||||
AC_CHECK_LIB(Hermes, Hermes_ConverterInstance,
|
||||
|
@ -863,6 +874,10 @@ if test "x$HAVE_LIBAUDIOFILE" = xyes; then
|
|||
AC_DEFINE(HAVE_LIBAUDIOFILE)
|
||||
fi
|
||||
|
||||
if test "x$HAVE_LIBGSM" = xyes; then
|
||||
AC_DEFINE(HAVE_LIBGSM)
|
||||
fi
|
||||
|
||||
dnl #############################
|
||||
dnl # Set automake conditionals #
|
||||
dnl #############################
|
||||
|
@ -917,6 +932,7 @@ AM_CONDITIONAL(HAVE_LIBAA, test "x$HAVE_LIBAA" = "xyes")
|
|||
AM_CONDITIONAL(HAVE_GNOME_VFS, test "x$HAVE_GNOME_VFS" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBSDL, test "x$HAVE_LIBSDL" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBOPENQUICKTIME, test "x$HAVE_LIBOPENQUICKTIME" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBGSM, test "x$HAVE_LIBGSM" = "xyes")
|
||||
|
||||
|
||||
|
||||
|
@ -1096,6 +1112,7 @@ plugins/xmms/Makefile
|
|||
plugins/arts/Makefile
|
||||
plugins/1394/Makefile
|
||||
plugins/sdlsink/Makefile
|
||||
plugins/gsm/Makefile
|
||||
plugins/dv/Makefile
|
||||
gstplay/Makefile
|
||||
dnl components/bonobo-gstmediaplay/Makefile
|
||||
|
|
Loading…
Reference in a new issue