msgsm32.acm: Also check for gsm/gsm.h.
Some systems don't have a gsm.h, so try including gsm/gsm.h first
diff --git a/configure.ac b/configure.ac
index d8d0679..59b771c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@
[if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi])
AC_ARG_WITH(gnutls, AS_HELP_STRING([--without-gnutls],[do not use GnuTLS (schannel support)]))
AC_ARG_WITH(libgsm, AS_HELP_STRING([--without-libgsm],[do not use libgsm (GSM 06.10 codec support)]),
- [if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; fi])
+ [if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi])
AC_ARG_WITH(hal, AS_HELP_STRING([--without-hal],[do not use HAL (dynamic device support)]))
AC_ARG_WITH(jack, AS_HELP_STRING([--without-jack],[do not use the Jack sound support]),
[if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi])
@@ -289,6 +289,7 @@
getopt.h \
grp.h \
gsm.h \
+ gsm/gsm.h \
ieeefp.h \
inet/mib2.h \
io.h \
@@ -1342,7 +1343,7 @@
[OpenSSL ${notice_platform}development files not found, SSL won't be supported.])
dnl **** Check for gsm codec ****
-if test "$ac_cv_header_gsm_h" = "yes"
+if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
then
WINE_CHECK_SONAME(gsm,gsm_create)
fi