[Scummvm-cvs-logs] SF.net SVN: scummvm: [30715] scummvm/trunk/configure
sev at users.sourceforge.net
sev at users.sourceforge.net
Thu Jan 31 13:20:48 CET 2008
Revision: 30715
http://scummvm.svn.sourceforge.net/scummvm/?rev=30715&view=rev
Author: sev
Date: 2008-01-31 04:20:47 -0800 (Thu, 31 Jan 2008)
Log Message:
-----------
Patch #1880781: "BeOS port for scummvm"
Modified Paths:
--------------
scummvm/trunk/configure
Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure 2008-01-31 10:38:15 UTC (rev 30714)
+++ scummvm/trunk/configure 2008-01-31 12:20:47 UTC (rev 30715)
@@ -961,9 +961,16 @@
echo_n "Checking hosttype... "
echo $_host_os
case $_host_os in
- linux* | uclinux* | openbsd* | freebsd* | netbsd* | bsd* | sunos* | hpux* | beos*)
+ linux* | uclinux* | openbsd* | freebsd* | netbsd* | bsd* | sunos* | hpux*)
DEFINES="$DEFINES -DUNIX"
;;
+ beos*)
+ DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
+ LIBS="$LIBS -lbind -lsocket"
+ type_1_byte='char'
+ type_2_byte='short'
+ type_4_byte='long'
+ ;;
solaris*)
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
;;
@@ -1272,6 +1279,11 @@
fi
#
+# Check for math lib
+cc_check $LDFLAGS $CXXFLAGS -lm && LDFLAGS="$LDFLAGS -lm"
+#
+
+#
# Check for Ogg Vorbis
#
echocheck "Ogg Vorbis"
@@ -1282,7 +1294,7 @@
int main(void) { vorbis_packet_blocksize(0,0); return 0; }
EOF
cc_check $LDFLAGS $CXXFLAGS $OGG_CFLAGS $OGG_LIBS $VORBIS_CFLAGS $VORBIS_LIBS \
- -lvorbisfile -lvorbis -logg -lm && _vorbis=yes
+ -lvorbisfile -lvorbis -logg && _vorbis=yes
fi
if test "$_vorbis" = yes ; then
_def_vorbis='#define USE_VORBIS'
@@ -1334,7 +1346,7 @@
int main(void) { return FLAC__STREAM_SYNC_LEN >> 30; /* guaranteed to be 0 */ }
EOF
cc_check $LDFLAGS $CXXFLAGS $FLAC_CFLAGS $FLAC_LIBS $OGG_CFLAGS $OGG_LIBS \
- -lFLAC -logg -lm && _flac=yes
+ -lFLAC -logg && _flac=yes
fi
if test "$_flac" = yes ; then
_def_flac='#define USE_FLAC'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list