X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=free%2Flibs%2Fexamples%2Fexternal-ucw-build%2Fconfigure;h=1e9ccedc1b103c9a2fc250fe616cd6ba3754a963;hb=93e3291a928d278807b3824f4e7e1ff71f47836d;hp=f87fcc735132e471a4abfc5bc206db351fdbd44d;hpb=0c6a4ebe19047ddfda7c2afad0d549fbee0e6d77;p=libucw.git diff --git a/free/libs/examples/external-ucw-build/configure b/free/libs/examples/external-ucw-build/configure index f87fcc73..1e9ccedc 100755 --- a/free/libs/examples/external-ucw-build/configure +++ b/free/libs/examples/external-ucw-build/configure @@ -1,8 +1,6 @@ #!/usr/bin/perl -# Configure script for the libucw example +# Configure script for the libucw example (inspired by ../external/configure) # (c) 2008 Michal Vaner -# A lot copyed from ../external/configure -# (c) 2007 Martin Mares use warnings; use strict; @@ -21,9 +19,9 @@ BEGIN { } } # Ask pkg-config for the rest of configure - $libdir=`pkg-config libucw --variable=perl_modules_dir`; + $libdir=`pkg-config libucw --atleast-version=3.13 --variable=perl_modules_dir`; chomp $libdir; - die "libUCW not found. Is PKG_CONFIG_PATH set properly?" if $? || not defined $libdir; + die "Package `libucw' (version 3.13 or newer) not found. Is PKG_CONFIG_PATH set properly?" if $? || not defined $libdir; } use lib $libdir; use UCW::Configure;