@echo "You need to run configure first." && false
# Do not show strange errors if the BUILDSYS is not set
-# (means noone yet called configure and it reported above)
+# (it happens if noone called configure as reported above)
ifdef BUILDSYS
# We will use the libucw build system
#!/usr/bin/perl
-# Configure script for the libucw example
+# Configure script for the libucw example (inspired by ../external/configure)
# (c) 2008 Michal Vaner <vorner@ucw.cz>
-# A lot copyed from ../external/configure
-# (c) 2007 Martin Mares <mj@ucw.cz>
use warnings;
use strict;
# Ask pkg-config for the rest of configure
$libdir=`pkg-config libucw --variable=perl_modules_dir`;
chomp $libdir;
- die "libUCW not found. Is PKG_CONFIG_PATH set properly?" if $? || not defined $libdir;
+ die "Package `libucw' not found. Is PKG_CONFIG_PATH set properly?" if $? || not defined $libdir;
}
use lib $libdir;
use UCW::Configure;