Commit graph portaudio/configure.in
Author SHA1 Message Date
Phil Burk
b14e866b27 configure: better test for Mac OS arch
Use AC_COMPILE_IFELSE because AC_TRY_COMPILE is deprecated.
Include cdefs.h because it has checks for architcture.
2021-02-25 07:06:33 -08:00
John Melas
dd857f6108 replace Carbon with CoreFoundation and CoreServices 2021-02-05 11:06:09 -08:00
Phil Burk
51547aa31c configure: add arm64 for Mac M1
Add additional architecture to builds.

Fixes #445
2021-02-03 17:35:08 -08:00
Phil Burk
9756c86061 configure: add INCLUDES for mingw build
Previously, only portaudio.h was installed when building under mingw using
make. This behavior differs from CMakeLists.txt PA_PUBLIC_INCLUDES where
pa_win_*.h header files are installed.

To cross-compile using MXE (https://mxe.cc/) we need pa_win_*.h headers.
Add them to configure.in so that they are installed.

Patch by Stefan Hajnoczi
2021-02-03 17:31:02 -08:00
Phil Burk
fa525d6199
mac autoconf: support current and future SDKs (#470)
Improve the way we generate the path to the SDK so that it
it not tied to specific Mac versions.

Also changed macosx-version-min to 10.6

Fixes #378
Fixes #468

Use xcrun instead of xcodebuild

Note that "configure" was generated using autoconf on Linux.
2021-01-26 15:25:10 -08:00
Phil Burk
2a7f8fcd7a build: add new Mac SDKs to configure
Add SDK 10.14 and 10.15 to configure.in

Removed i386 and PPC architectures on Mac because they are
deprecated and make fails if they are used.

The configure file was generated from the configure.in
file by entering this on Linux:

    aclocal
    autoconf

Fixes 308
2020-10-03 17:01:58 -07:00
Nicholas Appleton
ea11061b20 commit Rainer's work and make some minor modifications to the top-level cmakelists to make visual studio happy 2018-10-02 21:54:44 +10:00
Phil Burk
6e3f6b702f configure: support SDK 10.13 in XCode
Updated configure.in
then ran autoconf to regenerate the configure script.

Fixes #274
2018-03-18 15:30:36 -07:00
philburk
6e9b37491a Add support for 10.11 SDK so PortAudio can compile on Mac.
Also allow deprecated APIs until we can remove them.

Note that this commit only includes the source files that were changed.
The next commit will include the files that are generated by autoreconf.
So look at this commit to see what really changed.
2016-01-04 17:22:00 +00:00
rbencina
19d0819931 Issue #234 fixed typo in configure and configure.in affecting mingw builds. Rename: pa_win_wdmks_util.o --> pa_win_wdmks_utils.o 2015-09-06 10:55:01 +00:00
philburk
d51191a829 [macosx] Add support for SDK 10.8 and 10.9.
This was required to fix a broken build caused
by not having SDK 10.7 or earlier.
2014-01-16 17:49:33 +00:00
rbencina
85e52783f0 configure.in fix from Leland '[Portaudio] Small patch to fix Mac build' march 4 2013-04-07 10:20:18 +00:00
philburk
62ebf76ad7 Apply patch to configure to fix build on Mac Lion.
See ticket #216.
2012-09-01 21:11:27 +00:00
robiwan
1c153276e4 Added support for multi api static build on mingw (patch from Stefan Hajnoczi), tested with ASIO,WMME,WASAPI and WDMKS 2012-07-31 12:34:06 +00:00
robiwan
1cc4bbbf9a Changes to make compilation/linking work on Mingw 2012-06-29 12:30:43 +00:00
rossb
a665b0928c fixed configure.in and makefile.in. attempt #2. fixes incorrect escapes in r1772 2011-11-11 04:06:17 +00:00
rossb
01fbe8de7c define WIN32_WINNT and WINVER to 501 (winxp) to resolve conflict between mingw winbase.h and asio sdk combase.h 2011-11-10 03:51:52 +00:00
rossb
3d8db8375a configure.in and makefile.in changes to (hopefully) fix include paths issues on mingw 2011-11-10 03:01:11 +00:00
rossb
e20f5824e2 fix configure.in to find a C++ compiler when needed. seems this has been a problem with asio since march 2011. 2011-10-31 14:02:13 +00:00
philburk
36e86d649a Apply patch for Debian from Samuel Thibault. 2011-10-27 06:52:01 +00:00
bjornroche
ab8a1489ef this should resolve issues on OS X with systems where only sdk 10.6 is available and includes a likely fix for future simillar issues with 10.7. See ticket 179. 2011-07-14 17:56:47 +00:00
rob_bielik
b5fc9f995f Added pa_win_coinitialize.c to MSVC project and windows configure scripts 2011-05-10 06:35:21 +00:00
philburk
f8f38c4a8d Remove include for pa_unix_oss.h to fix "make install" on Linux. 2011-03-25 16:59:27 +00:00
dmitrykos
ff61de145b wasapi:
- fixed warning of incompatible type usage when ring-buffer is used for blocking interface
 - fixed compilation using MSYS with MinGW compiler (regenerate makefile with configure)
2011-03-08 17:20:07 +00:00
philburk
c8dcb76f19 Applied patches for Debian Linux for ticket 166. 2011-03-02 17:03:23 +00:00
dmitrykos
b906a9d336 fixed build by reverting 1604 revision where 'pa_ringbuffer.o' dependency was added to Makefile.in, modified configure.in for WASAPI build and added explicit 'pa_ringbuffer.o' dependency there instead 2011-02-21 08:02:21 +00:00
rob_bielik
59f8c8975c Ticket #132 2011-02-17 15:56:04 +00:00
rossb
eca7d0493c patch from Rafaël Carré: clear SHARED_FLAGS in configure.in when --disable-shared is used to avoid libtool setting -shared and breaking the build. 2010-10-22 02:30:38 +00:00
dmitrykos
50c880c015 wasapi:
- fixed configure.in to compile WASAPI module under MSYS
- fixed include name cases for case-sensitive build environments
- defined LPCGUID for some MinGW compilers which are missing it
- fixed strict-aliasing rules break on line of getting device EndpointFormFactor in case '-Wstrict-aliasing' is specified or corresponding GCC optimization flag is used
2010-03-09 12:29:36 +00:00
rossb
bcffb6bd0a Update to Makefile.in and Configure.in from Stelios Bounanos: Pretty-print help strings, Support multiple APIs on win32 with mingw, Output a configuration summary at the end, Remove ASIO build configuration from OSX 2009-12-08 09:40:09 +00:00
bjornroche
c1e1d067d2 moved trunk into place 2008-03-20 14:24:39 +00:00