X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=free%2Flibs%2Fexamples%2Finternal%2Fconfigure;h=6f4a678d757d57c71a709f3ba350e1b5c41295b3;hb=89f86d97def2a365b1799f70e3f254264b9c7615;hp=8cbed3519cf5ccc1c0793956bdcc5e1583035244;hpb=9f3522cdcbde1916052fd7ce788f93523d263578;p=libucw.git diff --git a/free/libs/examples/internal/configure b/free/libs/examples/internal/configure index 8cbed351..6f4a678d 100755 --- a/free/libs/examples/internal/configure +++ b/free/libs/examples/internal/configure @@ -7,7 +7,7 @@ use strict; our $srcdir; BEGIN { - my $pkgfile = "lib/wildmatch.c"; + my $pkgfile = "ucw/wildmatch.c"; if (!defined ($srcdir = $ENV{"SRCDIR"})) { if (-f $pkgfile) { $srcdir="."; @@ -17,14 +17,17 @@ BEGIN { die "Don't know how to find myself. Please set SRCDIR manually."; } } - require "$srcdir/lib/perl/Configure.pm"; + require "$srcdir/ucw/perl/UCW/Configure.pm"; UCW::Configure::import UCW::Configure; } -Init($srcdir, "defconfig"); +Init($srcdir, "default.cfg"); +Include "ucw/default.cfg"; Log "### Configuring TestApp ###\n\n"; Include Get("CONFIG"); -Include "lib/autoconf.cfg"; +Include "ucw/paths.cfg"; +Include "ucw/autoconf.cfg"; +Include "ucw/ucw.cfg"; Finish(); Log "\nConfigured, run `make' to build everything.\n";