2 # Configure script for the libucw example
3 # (c) 2007 Martin Mares <mj@ucw.cz>
10 my $pkgfile = "lib/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.";
20 require "$srcdir/lib/perl/Configure.pm";
21 UCW::Configure::import UCW::Configure;
24 Init($srcdir, "defconfig");
25 Log "### Configuring TestApp ###\n\n";
26 Include Get("CONFIG");
27 Include "lib/autoconf.cfg";
30 Log "\nConfigured, run `make' to build everything.\n";