X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=Makefile.PL;h=0024abe533d2a6c52d661ed9b3694bcc400c74bd;hb=0b413d7f000f44e8359b6679b49ab5ea05a1bc1c;hp=ce6062b7cf4b4e0c2dad9146b4510b98eacec35d;hpb=3f3d83cd3ea1dd77602fd159e7e9c51e6b071ab8;p=ZOOM-Perl-moved-to-github.git 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