projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265582a
)
fix for gsm
author
Andy Wingo
<wingo@pobox.com>
Mon, 7 Jan 2002 10:28:29 +0000
(10:28 +0000)
committer
Andy Wingo
<wingo@pobox.com>
Mon, 7 Jan 2002 10:28:29 +0000
(10:28 +0000)
Original commit message from CVS:
fix for gsm
acconfig.h
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/acconfig.h
b/acconfig.h
index 0b2f1651e6e7e435476e377beab1c3f67c7cb5b6..49c9678f709006720731c5b215fd5ffa19ddf071 100644
(file)
--- a/
acconfig.h
+++ b/
acconfig.h
@@
-51,6
+51,8
@@
#undef HAVE_LIBSDL
#undef HAVE_LIBOPENQUICKTIME
+#undef GSM_HEADER_IN_SUBDIR
+
#undef HAVE_ATOMIC_H
#undef GST_DEBUG_ENABLED
diff --git
a/configure.ac
b/configure.ac
index 830727dbf4bb2fa9be7faef8e98e6f5925e2322b..3028b419d6d8a611e2a329c6aefbcc3c28dbe574 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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)
])