]> mj.ucw.cz Git - libucw.git/commitdiff
Example: Request a new version of libucw.
authorMartin Mares <mj@ucw.cz>
Sun, 9 Nov 2008 21:07:30 +0000 (22:07 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 9 Nov 2008 21:07:30 +0000 (22:07 +0100)
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;