From 8220e24a9ad0e87ec1244663bf64f8dd93205fd3 Mon Sep 17 00:00:00 2001 From: Yun Liu <yun@yun.(none)> Date: Mon, 19 Jan 2009 12:27:13 -0500 Subject: [PATCH] Tolerant to gsm library of OpenSuse 11 --- configure.ac | 2 +- src/audio/codecs/gsmcodec.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c23ab18817..d9b4ed6dd9 100644 --- a/configure.ac +++ b/configure.ac @@ -202,7 +202,7 @@ AC_ARG_WITH([gsm], LIBGSM= AS_IF([test "x$with_gsm" != xno], - [AC_CHECK_HEADER([gsm.h], , AC_MSG_FAILURE([Unable to find the libgsm1 headers (you may need to install the dev package). You may use --without-gsm to compile without gsm codec support.]))] + [AC_CHECK_HEADER([gsm/gsm.h], , AC_MSG_FAILURE([Unable to find the libgsm1 headers (you may need to install the dev package). You may use --without-gsm to compile without gsm codec support.]))] [AC_CHECK_LIB([gsm], [gsm_decode], [], [AC_MSG_FAILURE( diff --git a/src/audio/codecs/gsmcodec.cpp b/src/audio/codecs/gsmcodec.cpp index 4fc94e30ed..1ab85f2388 100644 --- a/src/audio/codecs/gsmcodec.cpp +++ b/src/audio/codecs/gsmcodec.cpp @@ -21,7 +21,7 @@ #include "audiocodec.h" extern "C"{ -#include <gsm.h> +#include <gsm/gsm.h> } /** -- GitLab