1 use ExtUtils::MakeMaker;
3 ## $Id: Makefile.PL,v 1.7 2004-08-03 08:59:37 mike Exp $
5 my $libs = `yaz-config --libs threads` || die qq[
6 ERROR: Unable to call script: yaz-config
7 If you're using a YAZ installation from the Debian package "yaz", you
8 will also need to install "libyaz-dev" in order to build the
13 # 'LIBS' => 'c:\yaz\lib\yaz.lib'
14 # 'INC' => 'c:\yaz\include'
17 'NAME' => 'Net::Z3950::SimpleServer',
18 'VERSION_FROM' => 'SimpleServer.pm', # finds $VERSION
19 'LIBS' => [$libs], # e.g., '-lm'
20 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
21 'INC' => '', # e.g., '-I/usr/include/other'