aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2009-01-05 20:12:28 +0000
committerMax Horn2009-01-05 20:12:28 +0000
commit32c655898a1035f1b831f003fb0fb4ee57d22ec4 (patch)
treee61daf6dc05594345a1cda5683fd017a28957e4d
parentd104e6fe3358124f4517c6fc5512bc966182b949 (diff)
downloadscummvm-rg350-32c655898a1035f1b831f003fb0fb4ee57d22ec4.tar.gz
scummvm-rg350-32c655898a1035f1b831f003fb0fb4ee57d22ec4.tar.bz2
scummvm-rg350-32c655898a1035f1b831f003fb0fb4ee57d22ec4.zip
Added Haiku support to configure (due to Begasus)
svn-id: r35746
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index 0e03d85f41..658363f69e 100755
--- a/configure
+++ b/configure
@@ -1052,11 +1052,23 @@ case $_host_os in
beos*)
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
# Needs -lbind -lsocket for the timidity MIDI driver
+ LDFLAGS="-L/boot/home/config/lib"
+ CFLAGS="-I/boot/home/config/include"
+ CXXFLAGS="$CXXFLAGS -fhuge-objects"
LIBS="$LIBS -lbind -lsocket"
type_1_byte='char'
type_2_byte='short'
type_4_byte='long'
;;
+ haiku*)
+ DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
+ # Needs -lnetwork for the timidity MIDI driver
+ LIBS="$LIBS -lnetwork"
+ CXXFLAGS="$CXXFLAGS -fhuge-objects"
+ type_1_byte='char'
+ type_2_byte='short'
+ type_4_byte='long'
+ ;;
solaris*)
DEFINES="$DEFINES -DUNIX -DSOLARIS -DSYSTEM_NOT_SUPPORTING_D_TYPE"
# Needs -lbind -lsocket for the timidity MIDI driver