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=