Ticket #47172: patch-configure

File patch-configure, 840 bytes (added by RJVB (René Bertin), 10 years ago)
Line 
1--- configure.orig      2014-01-16 18:49:33.000000000 +0100
2+++ configure   2015-03-17 11:19:48.000000000 +0100
3@@ -15676,7 +15676,6 @@
4 
5 
6 cat >>confdefs.h <<_ACEOF
7-#define SIZEOF_LONG $ac_cv_sizeof_long
8 _ACEOF
9 
10 
11@@ -15787,7 +15786,7 @@
12         $as_echo "#define PA_USE_COREAUDIO 1" >>confdefs.h
13 
14 
15-        CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Werror"
16+        CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -DNDEBUG"
17         LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon"
18 
19         if test "x$enable_mac_universal" = "xyes" ; then
20@@ -16156,6 +16155,7 @@
21                    DLL_LIBS="$DLL_LIBS -lossaudio"
22                    LIBS="$LIBS -lossaudio"
23            fi
24+           INCLUDES="$INCLUDES pa_unix_oss.h"
25            $as_echo "#define PA_USE_OSS 1" >>confdefs.h
26 
27         fi