use ExtUtils::MakeMaker;
-## $Id: Makefile.PL,v 1.4 2004-06-05 07:55:05 adam Exp $
+## $Id: Makefile.PL,v 1.5 2004-06-05 23:09:04 adam Exp $
-my $libs = `yaz-config --libs` || die "ERROR: Unable to call script: yaz-config";
+my $libs = `../yaz/yaz-config --libs threads` || die "ERROR: Unable to call script: yaz-config";
WriteMakefile(
'NAME' => 'Net::Z3950::SimpleServer',
'VERSION_FROM' => 'SimpleServer.pm', # finds $VERSION
'LIBS' => [$libs], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
- 'INC' => '', # e.g., '-I/usr/include/other'
+ 'INC' => '-I../yaz/include', # e.g., '-I/usr/include/other'
);
/*
- * $Id: SimpleServer.xs,v 1.29 2004-06-05 22:18:09 adam Exp $
+ * $Id: SimpleServer.xs,v 1.30 2004-06-05 23:09:04 adam Exp $
* ----------------------------------------------------------------------
*
* Copyright (c) 2000-2004, Index Data.
temp = hv_fetch(href, "STATUS", 6, 1);
status = newSVsv(*temp);
-
PUTBACK;
FREETMPS;
LEAVE;
STRLEN len;
int i;
char **basenames;
- int n;
WRBUF query;
char *ptr;
SV *point;
- SV *ODR_point;
Zfront_handle *zhandle = (Zfront_handle *)handle;
CV* handler_cv = 0;
char *ODR_errstr;
STRLEN len;
int term_len;
- SV *term_tmp;
SV *entries_ref;
Zfront_handle *zhandle = (Zfront_handle *)handle;
CV* handler_cv = 0;
SV *handle;
HV *href;
SV **temp;
- SV *status;
ENTER;
SAVETMPS;
{
HV *href;
Zfront_handle *zhandle = (Zfront_handle *)handle;
- SV **temp;
CV* handler_cv = 0;
int stop_flag = 0;
dSP;