From: Adam Dickmeiss Date: Mon, 10 Mar 2014 09:59:31 +0000 (+0100) Subject: Introduce helper var yazconf X-Git-Tag: v1.30~5 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=3635906404d450b2b2019ef4f6e3fe7391653446;p=ZOOM-Perl-moved-to-github.git Introduce helper var yazconf --- diff --git a/Makefile.PL b/Makefile.PL index ce6062b..0024abe 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,9 +5,10 @@ use 5.008; use ExtUtils::MakeMaker; use strict; -my $yazver = `yaz-config --version`; -my $yazinc = `yaz-config --cflags threads`; -my $yazlibs = `yaz-config --libs threads`; +my $yazconf = "yaz-config"; +my $yazver = `$yazconf --version`; +my $yazinc = `$yazconf --cflags threads`; +my $yazlibs = `$yazconf --libs threads`; if (!$yazver || !$yazinc || !$yazlibs) { die qq[ ERROR: Unable to call script: yaz-config