comparison include/SDL_config_macosx.h @ 1741:d67622addf51

fatbuild fixes: - A change to define CXX in fatbuild, which comforts the configure script a little, even if we don't use C++ anywhere. - Some code to see how many CPU cores exist and parallelize make across them. - CFLAGS that apply to both archs are specified seperately (-O3, -pipe, etc) - -fvisibility=hidden for the gcc4 builds - a "clean", "clean-ppc" and "clean-x86" command - Fix to SDL_config_macosx.h for the HAVE_ALLOCA_H thing. Now builds on an Intel Mac.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 27 Apr 2006 11:18:03 +0000
parents ebd1aedb1292
children e49147870aac 18e44c267283
comparison
equal deleted inserted replaced
1740:db7e15a99cb3 1741:d67622addf51
44 /* C library functions */ 44 /* C library functions */
45 #define HAVE_MALLOC 1 45 #define HAVE_MALLOC 1
46 #define HAVE_CALLOC 1 46 #define HAVE_CALLOC 1
47 #define HAVE_REALLOC 1 47 #define HAVE_REALLOC 1
48 #define HAVE_FREE 1 48 #define HAVE_FREE 1
49
50 /* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */
51 #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) )
49 #define HAVE_ALLOCA 1 52 #define HAVE_ALLOCA 1
53 #endif
54
50 #define HAVE_GETENV 1 55 #define HAVE_GETENV 1
51 #define HAVE_PUTENV 1 56 #define HAVE_PUTENV 1
52 #define HAVE_UNSETENV 1 57 #define HAVE_UNSETENV 1
53 #define HAVE_QSORT 1 58 #define HAVE_QSORT 1
54 #define HAVE_ABS 1 59 #define HAVE_ABS 1