shithub: sox

Download patch

ref: a92474c44ef386dd538d0506b813bfbeecd0ddc7
parent: aac34b0fdcb783ac17c99b7d5373135d4f3cbed8
author: cbagwell <cbagwell>
date: Mon Jun 30 23:30:57 EDT 2008

Fix the GSM header fix.  Force off libltdl on OS2 since its support is questionable.

--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,9 @@
       *cygwin*)
         using_libltdl=no
         ;;
+      *os2*)
+        using_libltdl=no
+        ;;
     esac
 fi
 
--- a/src/gsm.c
+++ b/src/gsm.c
@@ -32,7 +32,7 @@
 #ifdef HAVE_GSM_GSM_H
 #include <gsm/gsm.h>
 #else
-#include <gsm/gsm.h>
+#include <gsm.h>
 #endif
 
 #else
--- a/src/wav.c
+++ b/src/wav.c
@@ -27,7 +27,7 @@
 #ifdef HAVE_GSM_GSM_H
 #include <gsm/gsm.h>
 #else
-#include <gsm/gsm.h>
+#include <gsm.h>
 #endif
 
 #else