mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
fix for gsm
Original commit message from CVS: fix for gsm
This commit is contained in:
parent
45ae8260aa
commit
74263a25ad
4 changed files with 16 additions and 0 deletions
|
@ -51,6 +51,8 @@
|
||||||
#undef HAVE_LIBSDL
|
#undef HAVE_LIBSDL
|
||||||
#undef HAVE_LIBOPENQUICKTIME
|
#undef HAVE_LIBOPENQUICKTIME
|
||||||
|
|
||||||
|
#undef GSM_HEADER_IN_SUBDIR
|
||||||
|
|
||||||
#undef HAVE_ATOMIC_H
|
#undef HAVE_ATOMIC_H
|
||||||
|
|
||||||
#undef GST_DEBUG_ENABLED
|
#undef GST_DEBUG_ENABLED
|
||||||
|
|
|
@ -447,6 +447,12 @@ dnl *** gsm ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_GSM, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_GSM, true)
|
||||||
GST_CHECK_FEATURE(GSM, [GSM library], gsmenc gsmdec, [
|
GST_CHECK_FEATURE(GSM, [GSM library], gsmenc gsmdec, [
|
||||||
GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, , gsm.h, GSM_LIBS="-lgsm")
|
GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, , gsm.h, GSM_LIBS="-lgsm")
|
||||||
|
if test $HAVE_GSM != "yes"; then
|
||||||
|
GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, , gsm/gsm.h, GSM_LIBS="-lgsm")
|
||||||
|
if test $HAVE_GSM = "yes"; then
|
||||||
|
AC_DEFINE(GSM_HEADER_IN_SUBDIR)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
AC_SUBST(GSM_LIBS)
|
AC_SUBST(GSM_LIBS)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,11 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
|
#ifdef GSM_HEADER_IN_SUBDIR
|
||||||
|
#include <gsm/gsm.h>
|
||||||
|
#else
|
||||||
#include <gsm.h>
|
#include <gsm.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -25,7 +25,11 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
|
#ifdef GSM_HEADER_IN_SUBDIR
|
||||||
|
#include <gsm/gsm.h>
|
||||||
|
#else
|
||||||
#include <gsm.h>
|
#include <gsm.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
Loading…
Reference in a new issue