1 rule -configure-options-help- {
2 Echo "jam configure supports:" ;
3 Echo " --prefix=dir [/usr/local]" ;
4 Echo " --disable-imlib2" ;
11 rule -configure-jim-not-found- {
13 #Echo "you need Jim Tcl ( http://jim.tcl.tk/ ) to compile ZXEmuT!" ;
15 Echo "MSG: using internal Jim" ;
17 -configure-add-line- "# use internal jim-tcl" ;
18 -configure-add-line- "JIM_INTERNAL = tan ;" ;
19 -configure-add-line- "DEFINES += JIM_INTERNAL ;" ;
21 -configure-add-line- "LINKLIBS.all += -ldl -lm ;" ;
26 rule -configure-options-disable-sound- {
30 rule -configure-options-enable-sound- {
31 Echo "MESSAGE: forcing sound support" ;
35 rule -configure-options-windoze- {
40 rule -configure-options-disable-imlib2- {
45 rule -configure-options-enable-imlib2- {
50 rule -configure-options-disable-libpng- {
57 -configure-pkg-config- "SDL" : sdl : : : "you need SDL to compile this!" ;
60 -configure-add-line- "LINKLIBS.all += -lws2_32 -lwinmm ;" ;
62 if $(NOSOUND) = "forced" {
63 -configure-add-line- "NOSOUND = ;" ;
64 -configure-add-line- "LINKLIBS.all += -lSDL_mixer ;" ;
65 } else if ! $(NOSOUND) {
66 -configure-pkg-config- "SDL_mixer" : SDL_mixer : "NOSOUND = ;" : "NOSOUND = tan ;" ;
68 -configure-add-line- "NOSOUND = tan ;" ;
71 -configure-add-line- "WINDOZE =" "$(WINDOZE)" ";" ;
74 if $(IMLIB2) = "0" || $(WINDOZE) {
75 -configure-add-line- "# imlib2 disabled" ;
76 #-configure-add-line- "DISABLE_IMLIB2 = 1 ;" ;
78 -configure-pkg-config- "imlib2" : imlib2 : "HAVE_IMLIB2 = 1 ;\nDEFINES += HAVE_IMLIB2 ;" ;
81 -configure-pkg-config- "libpng" : libpng : "HAVE_LIBPNG = 1 ;\nDEFINES += HAVE_LIBPNG ;" ;
87 -configure-detect-library- "jim-tcl" : libjim.a : jim.h : /opt/jim /opt/jim/jim-tcl : -configure-jim-found- : -configure-jim-not-found- ;
89 -configure-jim-not-found- ;
94 rule -configure-preinit- {