--with-tools configure option
[awish.git] / Jamrules.configure
blob1791c34f0ef0b9b0577e14c6505c880a7c82ef02
1 rule -configure-options-help- {
2   Echo "jam configure supports:" ;
3   Echo "  --prefix=dir           [/usr/local]" ;
4   Echo "  --disable-sound        disable sound support" ;
5   Exit "" ;
9 rule -configure-options-disable-sound- {
10   NOSOUND = tan ;
13 rule -configure-options-enable-sound- {
14   NOSOUND = ;
17 rule -configure-options-with-title- {
18   WITH_TITLE = tan ;
22 rule -configure-options-with-tools- {
23   BUILD_TOOLS = tan ;
27 rule -configure- {
28   -configure-pkg-config- "SDL" : sdl : : : "you need SDL to compile this!" ;
29   if ! $(NOSOUND) {
30     -configure-pkg-config- "SDL_mixer" : SDL_mixer : "NOSOUND = ;" : "NOSOUND = tan ;" ;
31   } else {
32     -configure-add-line- "NOSOUND = tan ;" ;
33   }
34   -configure-add-line- "WITH_TITLE =" "$(WITH_TITLE)" ";" ;
35   -configure-add-line- "BUILD_TOOLS =" "$(BUILD_TOOLS)" ";" ;
39 rule -configure-preinit- {
40   WITH_TITLE = ;
41   NOSOUND = ;
42   BUILD_TOOLS = ;
46 configure ;