2 # Configure script for the libucw example
3 # (c) 2007 Martin Mares <mj@ucw.cz>
10 my $pkgfile = "ucw/wildmatch.c";
11 if (!defined ($srcdir = $ENV{"SRCDIR"})) {
14 } elsif ($0 =~ m@^(.*)/configure$@ && -f "$1/$pkgfile") {
17 die "Don't know how to find myself. Please set SRCDIR manually.\n";
22 use lib "$srcdir/ucw/perl/";
25 Init($srcdir, "default.cfg");
26 Include "ucw/default.cfg";
27 Log "### Configuring TestApp ###\n\n";
28 Include Get("CONFIG");
29 require UCW::Configure::Paths;
30 require UCW::Configure::C;
31 require UCW::Configure::LibUCW;
34 Log "\nConfigured, run `make' to build everything.\n";