version 1.1, 2009/06/09 15:07:00 |
version 1.2, 2009/10/30 22:04:12 |
|
|
$OpenBSD$ |
$OpenBSD$ |
--- configure.orig Fri Apr 25 20:48:14 2008 |
--- configure.orig Sat Oct 31 00:48:54 2009 |
+++ configure Tue Jun 9 18:00:35 2009 |
+++ configure Sat Oct 31 00:50:27 2009 |
@@ -2147,38 +2147,13 @@ elif test `echo $target_os | sed "s/\(darwin\).*/\1/"` |
@@ -2143,6 +2143,13 @@ elif test `echo $target_os | sed "s/\(solaris\).*/\1/" |
then |
then |
TARGET_OS=darwin |
TARGET_OS=solaris |
|
|
- CFLAGS="$CFLAGS -F$with_opengl_framework" |
|
- LDFLAGS="$LDFLAGS -framework IOKit -framework Foundation -framework OpenGL" |
|
- # fix this darn SDL stuff.... |
|
- if test -d /Library/Frameworks/SDL.framework |
|
- then |
|
- sdl_mac_cflags="$sdl_mac_cflags -I/Library/Frameworks/SDL.framework/Headers" |
|
- sdl_mac_ldflags="$sdl_mac_ldflags -framework SDL" |
|
- else |
|
- # should test for different framework locations, like /System/Library/Frameworks |
|
- # and ~/Library/Frameworks..... later.... |
|
- { { echo "$as_me:$LINENO: error: Could not find SDL Framework at /Library/Frameworks." >&5 |
|
-echo "$as_me: error: Could not find SDL Framework at /Library/Frameworks." >&2;} |
|
- { (exit 1); exit 1; }; } |
|
- fi |
|
- if test -d /Library/Frameworks/SDL_mixer.framework |
|
- then |
|
- sdl_mac_cflags="$sdl_mac_cflags -I/Library/Frameworks/SDL_mixer.framework/Headers" |
|
- sdl_mac_ldflags="$sdl_mac_ldflags -framework SDL_mixer" |
|
- else |
|
- { { echo "$as_me:$LINENO: error: Could not find SDL_mixer Framework at /Library/Frameworks." >&5 |
|
-echo "$as_me: error: Could not find SDL_mixer Framework at /Library/Frameworks." >&2;} |
|
- { (exit 1); exit 1; }; } |
|
- fi |
|
- if test -d /Library/Frameworks/SDL_ttf.framework |
|
- then |
|
- sdl_mac_cflags="$sdl_mac_cflags -I/Library/Frameworks/SDL_ttf.framework/Headers" |
|
- sdl_mac_ldflags="$sdl_mac_ldflags -framework SDL_ttf" |
|
- else |
|
- { { echo "$as_me:$LINENO: error: Could not find SDL_ttf Framework at /Library/Frameworks." >&5 |
|
-echo "$as_me: error: Could not find SDL_ttf Framework at /Library/Frameworks." >&2;} |
|
- { (exit 1); exit 1; }; } |
|
- fi |
|
+elif test `echo $target_os | sed "s/\(openbsd\).*/\1/"` = "openbsd" |
+elif test `echo $target_os | sed "s/\(openbsd\).*/\1/"` = "openbsd" |
+then |
+then |
+ TARGET_OS=openbsd |
+ TARGET_OS=openbsd |
|
|
+ CFLAGS="$CFLAGS" |
+ CFLAGS="$CFLAGS" |
+ LDFLAGS="$LDFLAGS" |
+ LDFLAGS="$LDFLAGS" |
+ |
+ |
### most mac users will have their additional libs and headers under /opt/local, |
elif test `echo $target_os | sed "s/\(darwin\).*/\1/"` = "darwin" |
### check for that, and if present, add to CFLAGS/LDFLAGS (really convenient!) |
then |
if test -d /opt/local |
TARGET_OS=darwin |