Fixes for Mac OS X

This commit is contained in:
john.mccutchan
2008-10-03 22:20:20 +00:00
parent a70b0550ef
commit 192198f365
4 changed files with 31 additions and 2 deletions

View File

@@ -1,2 +1 @@
ACLOCAL_AMFLAGS = -I mk/autoconf
SUBDIRS=src Extras Demos/OpenGL Demos/BasicDemo Demos/VehicleDemo Demos/CcdPhysicsDemo Demos/ColladaDemo Demos/MultiThreadedDemo SUBDIRS=src Extras Demos/OpenGL Demos/BasicDemo Demos/VehicleDemo Demos/CcdPhysicsDemo Demos/ColladaDemo Demos/MultiThreadedDemo

View File

@@ -22,6 +22,14 @@ else
exit $rc exit $rc
fi fi
if test $rc -eq 0; then
echo "libtool worked."
else
echo "libtool failed. trying glibtool."
glibtoolize --force --automake --copy
rc=$?
fi
if test $rc -eq 0; then if test $rc -eq 0; then
echo "running automake" echo "running automake"
automake --add-missing --copy automake --add-missing --copy

View File

@@ -1,5 +1,14 @@
/* config.h.in. Generated from configure.ac by autoheader. */ /* config.h.in. Generated from configure.ac by autoheader. */
/* Architecture is PowerPC */
#undef ARCH_PPC
/* Architecture is x86 */
#undef ARCH_X86
/* Architecture is x86-64 */
#undef ARCH_X86_64
/* Define when compiling for MacOS/X */ /* Define when compiling for MacOS/X */
#undef CS_PLATFORM_MACOSX #undef CS_PLATFORM_MACOSX
@@ -69,12 +78,25 @@
/* Define to the version of this package. */ /* Define to the version of this package. */
#undef PACKAGE_VERSION #undef PACKAGE_VERSION
/* Platform is Apple */
#undef PLATFORM_APPLE
/* Platform is Linux */
#undef PLATFORM_LINUX
/* Platform is Win32 */
#undef PLATFORM_WIN32
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS #undef STDC_HEADERS
/* Version number of package */ /* Version number of package */
#undef VERSION #undef VERSION
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define to 1 if the X Window System is missing or not being used. */ /* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING #undef X_DISPLAY_MISSING

View File

@@ -35,7 +35,7 @@ case "$host" in
;; ;;
*-*-darwin*) *-*-darwin*)
AC_DEFINE(PLATFORM_APPLE, 1, [Platform is Apple]) AC_DEFINE(PLATFORM_APPLE, 1, [Platform is Apple])
opengl_LIBS="-framework AGL -framework OpenGL" opengl_LIBS="-framework AGL -framework OpenGL -framework GLUT"
PLATFORM_STRING="Apple" PLATFORM_STRING="Apple"
;; ;;
*) *)