From d65e6c700e65d372d6d0524a17395ebc1dc6d98c Mon Sep 17 00:00:00 2001 From: Fredrik Noring <noring@nocrew.org> Date: Mon, 11 Sep 2000 21:42:59 +0200 Subject: [PATCH] Removed stupid tests and added Java. Rev: lib/modules/Tools.pmod/Install.pmod:1.6 --- lib/modules/Tools.pmod/Install.pmod | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/modules/Tools.pmod/Install.pmod b/lib/modules/Tools.pmod/Install.pmod index ea42085432..77e6c5621f 100644 --- a/lib/modules/Tools.pmod/Install.pmod +++ b/lib/modules/Tools.pmod/Install.pmod @@ -13,15 +13,16 @@ array(string) features() a += ({ "threads" }); #endif - foreach(({ "_Crypto", "CommonLog", "Dbm", "GL", "GTK", "Gdbm", "Gmp", "Gz", - "_Image_JPEG", "_Image_TIFF", "_Image_TTF", "MIME", + foreach(({ "_Crypto", "Dbm", "GL", "GTK", "Gdbm", "Gmp", "Gz", + "_Image_JPEG", "_Image_TIFF", "_Image_TTF", "Java", "Msql", "Mysql", "Odbc", "Oracle", "Perl", "Postgres", "Ssleay", - "sybase", "X", "Yp" }), + "sybase", "X" }), string modname) { catch { - if(sizeof(indices(master()->resolv(modname) || ({})))) + if(([ "Java":2 ])[modname] < + sizeof(indices(master()->resolv(modname) || ({})))) { if(modname[0] == '_') modname = replace(modname[1..], "_", "."); -- GitLab