configure
changeset 0 29654efe3188
equal deleted inserted replaced
-1:000000000000 0:29654efe3188
       
     1 #!/bin/sh -
       
     2 
       
     3 SDLCONFIG=`which sdl-config || which sdl11-config || which sdl12-config || echo `
       
     4 if [ -n "$SDLCONFIG" ] ; then
       
     5 	echo "SDL config is located at: $SDLCONFIG"
       
     6 	sed -e"s@XX_SDL_CONFIG_PLACEHOLDER_XX@$SDLCONFIG@g" < Jamfile.next > tmp && mv tmp Jamfile
       
     7 else
       
     8 	echo "********************************"
       
     9 	echo "ERROR! SDL CONFIG WAS NOT FOUND!"
       
    10 	echo "********************************"
       
    11 	exit 1
       
    12 fi
       
    13 
       
    14 echo "Configure complete. Now use 'jam' to build"
       
    15 echo "Add -sWITH_PNG=<dir to png.h> to build with PNG support"
       
    16 echo "Add -sWITH_ZLIB=1 to enable zlib savegame support"
       
    17 echo "Add -sRELEASE=1 to build an optimized executable"
       
    18 echo "Add -sWITH_BONE_NETWORKING=1 to build with BeOS BONE networking support"
       
    19 echo "Add -sBEOS_MIDI=1 to enable BeOS native MIDI (libmidi.so) music output"
       
    20 echo ""
       
    21 echo "For people using make:"
       
    22 echo "write make (or gmake)"
       
    23 echo "configure have nothing to do with the makefile"
       
    24