X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=free%2Flibs%2Fconfigure;h=f0f701e06dfe91a12d5d1d5131989f01a4e4538d;hb=9675584c3afb9b7630c198ece4189806a550d472;hp=a359da281800638055b798e531eeb050949d8a83;hpb=09e7fe5641b94148d998a1b620bf694f353cb17b;p=libucw.git diff --git a/free/libs/configure b/free/libs/configure index a359da28..f0f701e0 100755 --- a/free/libs/configure +++ b/free/libs/configure @@ -17,17 +17,18 @@ BEGIN { die "Don't know how to find myself. Please set SRCDIR manually."; } } - require "$srcdir/ucw/perl/Configure.pm"; - UCW::Configure::import UCW::Configure; } +use lib "$srcdir/ucw/perl/"; +use UCW::Configure; + Init($srcdir, "default.cfg"); Include "ucw/default.cfg"; Log "### Configuring Sherlock Libraries " . Get("SHERLOCK_VERSION") . " with configuration " . Get("CONFIG") . "\n"; Include Get("CONFIG"); -Include "ucw/paths.cfg"; -Include "ucw/autoconf.cfg"; -Include "ucw/ucw.cfg"; +require UCW::Configure::Paths; +require UCW::Configure::Autoconf; +require UCW::Configure::UCW; Finish(); Log "\nConfigured, run `make' to build everything.\n";