]> git.mxchange.org Git - flightgear.git/commitdiff
Fixes for Mac OS X.
authorcurt <curt>
Sun, 9 Feb 2003 03:47:21 +0000 (03:47 +0000)
committercurt <curt>
Sun, 9 Feb 2003 03:47:21 +0000 (03:47 +0000)
configure.ac

index b90a234bcfae5015cb47902b09d42e06f9ebaa50..9e55421b56e54b80f45dff68da524957aa7a0f11 100644 (file)
@@ -168,7 +168,9 @@ case "${host}" in
 *-*-cygwin* | *-*-mingw32*)
     audio_LIBS="$audio_LIBS -lwinmm"
     ;;
-
+*-apple-darwin*)
+    audio_LIBS="$audio_LIBS -framework IOKit -framework CoreFoundation"
+    ;;
 *-*-irix* )
     audio_LIBS="$audio_LIBS -laudio"
     ;;
@@ -230,7 +232,7 @@ if test "x$ac_cv_header_GL_glut_h" = "xyes"; then
 else
     AC_CHECK_HEADER(GLUT/glut.h)
     if test "x$ac_cv_header_GLUT_glut_h" = "xyes"; then
-        AC_DEFINE([GLUT_H], "GLUT/glut.h", [Define as glut.h include location])
+        AC_DEFINE([GLUT_H], <GLUT/glut.h>, [Define as glut.h include location])
     else
         echo "Neither GL/glut.h nor GLUT/glut.h found.  Cannot continue"
         exit