]>
Commit | Line | Data |
---|---|---|
bb9e311b JB |
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 | |
3 | @@ -31,7 +31,11 @@ | |
4 | #if defined(ENABLE_GSM) | |
5 | ||
6 | #if defined(EXTERNAL_GSM) | |
7 | +#ifdef HAVE_GSM_H | |
8 | +#include <gsm.h> | |
9 | +#else | |
10 | #include <gsm/gsm.h> | |
11 | +#endif | |
12 | #else | |
13 | #include "libgsm/gsm.h" | |
14 | #endif | |
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 | |
17 | @@ -73,7 +73,11 @@ | |
18 | #include "adpcm.h" | |
19 | #ifdef ENABLE_GSM | |
20 | #if defined(EXTERNAL_GSM) | |
21 | +#ifdef HAVE_GSM_H | |
22 | +#include <gsm.h> | |
23 | +#else | |
24 | #include <gsm/gsm.h> | |
25 | +#endif | |
26 | #else | |
27 | #include "libgsm/gsm.h" | |
28 | #endif | |
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 | |
31 | @@ -232,7 +232,7 @@ | |
32 | then | |
33 | if test "$enable_external_gsm" = yes | |
34 | then | |
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])]) | |
37 | ||
38 | if test "$found_libgsm" = yes | |
39 | then |