truelight@0: #!/bin/sh - truelight@0: truelight@0: SDLCONFIG=`which sdl-config || which sdl11-config || which sdl12-config || echo ` truelight@0: if [ -n "$SDLCONFIG" ] ; then truelight@0: echo "SDL config is located at: $SDLCONFIG" truelight@0: sed -e"s@XX_SDL_CONFIG_PLACEHOLDER_XX@$SDLCONFIG@g" < Jamfile.next > tmp && mv tmp Jamfile truelight@0: else truelight@0: echo "********************************" truelight@0: echo "ERROR! SDL CONFIG WAS NOT FOUND!" truelight@0: echo "********************************" truelight@0: exit 1 truelight@0: fi truelight@0: truelight@0: echo "Configure complete. Now use 'jam' to build" truelight@0: echo "Add -sWITH_PNG= to build with PNG support" truelight@0: echo "Add -sWITH_ZLIB=1 to enable zlib savegame support" truelight@0: echo "Add -sRELEASE=1 to build an optimized executable" truelight@0: echo "Add -sWITH_BONE_NETWORKING=1 to build with BeOS BONE networking support" truelight@0: echo "Add -sBEOS_MIDI=1 to enable BeOS native MIDI (libmidi.so) music output" truelight@0: echo "" truelight@0: echo "For people using make:" truelight@0: echo "write make (or gmake)" truelight@0: echo "configure have nothing to do with the makefile" truelight@0: