]> mj.ucw.cz Git - libucw.git/blobdiff - free/libs/examples/external-ucw-build/configure
Example: Request a new version of libucw.
[libucw.git] / free / libs / examples / external-ucw-build / configure
index 60989a6579b86695db519a8fdd165ad147584d4b..1e9ccedc1b103c9a2fc250fe616cd6ba3754a963 100755 (executable)
@@ -19,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 "Package `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;