1 --- sox-12.18.2/src/gsm.c.orig 2006-09-02 04:12:36.000000000 +0200
2 +++ sox-12.18.2/src/gsm.c 2006-09-11 22:17:12.895313500 +0200
4 #if defined(ENABLE_GSM)
6 #if defined(EXTERNAL_GSM)
13 #include "libgsm/gsm.h"
15 --- sox-12.18.2/src/wav.c.orig 2006-09-02 04:12:36.000000000 +0200
16 +++ sox-12.18.2/src/wav.c 2006-09-11 22:17:35.360717500 +0200
20 #if defined(EXTERNAL_GSM)
27 #include "libgsm/gsm.h"
29 --- sox-12.18.2/configure.in.orig 2006-08-28 01:04:51.000000000 +0200
30 +++ sox-12.18.2/configure.in 2006-09-11 22:18:03.286462750 +0200
33 if test "$enable_external_gsm" = yes
35 - AC_CHECK_HEADERS(gsm/gsm.h, found_libgsm=yes)
36 + AC_CHECK_HEADERS(gsm/gsm.h, found_libgsm=yes, [AC_CHECK_HEADERS(gsm.h, [AC_DEFINE(HAVE_GSM_H) found_libgsm=yes])])
38 if test "$found_libgsm" = yes