Ticket #8789: scummvm_beos.3.patch
File scummvm_beos.3.patch, 1.4 KB (added by , 17 years ago) |
---|
-
(a) configure vs. (b) configure_beos
a b 961 961 echo_n "Checking hosttype... " 962 962 echo $_host_os 963 963 case $_host_os in 964 linux* | uclinux* | openbsd* | freebsd* | netbsd* | bsd* | sunos* | hpux* | beos*)964 linux* | uclinux* | openbsd* | freebsd* | netbsd* | bsd* | sunos* | hpux*) 965 965 DEFINES="$DEFINES -DUNIX" 966 966 ;; 967 beos*) 968 DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" 969 LIBS="$LIBS -lbind -lsocket" 970 type_1_byte='char' 971 type_2_byte='short' 972 type_4_byte='long' 973 ;; 967 974 solaris*) 968 975 DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" 969 976 ;; … … 1272 1279 fi 1273 1280 1274 1281 # 1282 # Check for math lib 1283 cc_check $LDFLAGS $CXXFLAGS -lm && LDFLAGS="$LDFLAGS -lm" 1284 # 1285 1286 # 1275 1287 # Check for Ogg Vorbis 1276 1288 # 1277 1289 echocheck "Ogg Vorbis" … … 1282 1294 int main(void) { vorbis_packet_blocksize(0,0); return 0; } 1283 1295 EOF 1284 1296 cc_check $LDFLAGS $CXXFLAGS $OGG_CFLAGS $OGG_LIBS $VORBIS_CFLAGS $VORBIS_LIBS \ 1285 -lvorbisfile -lvorbis -logg -lm&& _vorbis=yes1297 -lvorbisfile -lvorbis -logg && _vorbis=yes 1286 1298 fi 1287 1299 if test "$_vorbis" = yes ; then 1288 1300 _def_vorbis='#define USE_VORBIS' … … 1334 1346 int main(void) { return FLAC__STREAM_SYNC_LEN >> 30; /* guaranteed to be 0 */ } 1335 1347 EOF 1336 1348 cc_check $LDFLAGS $CXXFLAGS $FLAC_CFLAGS $FLAC_LIBS $OGG_CFLAGS $OGG_LIBS \ 1337 -lFLAC -logg -lm&& _flac=yes1349 -lFLAC -logg && _flac=yes 1338 1350 fi 1339 1351 if test "$_flac" = yes ; then 1340 1352 _def_flac='#define USE_FLAC'