fix for gsm

Original commit message from CVS:
fix for gsm
This commit is contained in:
Andy Wingo 2002-01-07 10:28:29 +00:00
parent de654b5940
commit dbecb57260
2 changed files with 8 additions and 0 deletions

View file

@ -51,6 +51,8 @@
#undef HAVE_LIBSDL
#undef HAVE_LIBOPENQUICKTIME
#undef GSM_HEADER_IN_SUBDIR
#undef HAVE_ATOMIC_H
#undef GST_DEBUG_ENABLED

View file

@ -447,6 +447,12 @@ dnl *** gsm ***
translit(dnm, m, l) AM_CONDITIONAL(USE_GSM, true)
GST_CHECK_FEATURE(GSM, [GSM library], gsmenc gsmdec, [
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)
])