Revision 166:cbd6d7e562c7 src/portaudio_20161030_catalina_patch/configure.in

View differences:

src/portaudio_20161030_catalina_patch/configure.in
203 203
        dnl Mac OS X configuration
204 204

  
205 205
        AC_DEFINE(PA_USE_COREAUDIO,1)
206
        AC_DEFINE(AUDIO_COMPONENT_FIX,1)
206 207

  
207
        CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated -Werror"
208
        CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated"
208 209
        LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon"
209 210

  
210 211
        if test "x$enable_mac_universal" = "xyes" ; then
......
258 259
              elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then
259 260
                 mac_version_min="-mmacosx-version-min=10.4"
260 261
                 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`"
262
              elif xcodebuild -version -sdk macosx10.13 Path >/dev/null 2>&1 ; then
263
                 mac_version_min="-mmacosx-version-min=10.4"
264
                 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.13 Path`"
265
              elif xcodebuild -version -sdk macosx10.14 Path >/dev/null 2>&1 ; then
266
                 mac_version_min="-mmacosx-version-min=10.4"
267
                 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.14 Path`"
261 268
              else
262
                 AC_MSG_ERROR([Could not find 10.5 to 10.12 SDK.])
269
                 AC_MSG_ERROR([Could not find 10.5 to 10.14 SDK.])
263 270
              fi
264 271
           esac
265 272

  
266 273
           dnl Pick which architectures to build for based on what
267 274
           dnl the compiler supports.
268 275
           mac_arches=""
269
           for arch in i386 x86_64 ppc ppc64
276
           for arch in x86_64 
270 277
           do
271 278
              save_CFLAGS="$CFLAGS"
272 279
              CFLAGS="$CFLAGS -arch $arch"

Also available in: Unified diff