Skip to content
Snippets Groups Projects
Commit 8220e24a authored by Yun Liu's avatar Yun Liu
Browse files

Tolerant to gsm library of OpenSuse 11

parent 9b41d939
No related branches found
No related tags found
No related merge requests found
...@@ -202,7 +202,7 @@ AC_ARG_WITH([gsm], ...@@ -202,7 +202,7 @@ AC_ARG_WITH([gsm],
LIBGSM= LIBGSM=
AS_IF([test "x$with_gsm" != xno], 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_CHECK_LIB([gsm], [gsm_decode],
[], [],
[AC_MSG_FAILURE( [AC_MSG_FAILURE(
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "audiocodec.h" #include "audiocodec.h"
extern "C"{ extern "C"{
#include <gsm.h> #include <gsm/gsm.h>
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment