X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=configure;h=2b6461799a3ef49cb4c5c853cd9a8d2bf78917ce;hb=83a277c9a93493668f4d922cdde4f9d5c0ece7d8;hp=d8c25e2236a61b16f48bc2ca11eda68a6c9db644;hpb=747248026fbb4e41d2ed1132cda9d37b978163d0;p=eval.git diff --git a/configure b/configure index d8c25e2..2b64617 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #!/usr/bin/perl # Configure script for MO-Eval -# (c) 2008 Martin Mares +# (c) 2008--2009 Martin Mares use warnings; use strict; @@ -17,15 +17,19 @@ BEGIN { die "Don't know how to find myself. Please set SRCDIR manually."; } } - require "$srcdir/lib/perl/Configure.pm"; - UCW::Configure::import UCW::Configure; } +use lib "$srcdir/ucw/perl"; +use UCW::Configure; +use UCW::Configure::Pkg; + Init($srcdir, "default.cfg"); -Include "lib/default.cfg"; +Include "ucw/default.cfg"; Log "### Configuring MO-Eval ###\n\n"; Include Get("CONFIG"); -Include "lib/autoconf.cfg"; +require UCW::Configure::Paths; +require UCW::Configure::C; +require UCW::Configure::LibUCW; if (Get("CONFIG_SUBMIT") || Get("CONFIG_MOP")) { # Build libucw only if it is needed