Possible compatibility problems with earlier versions marked with '*'.
+* Minor adjustments to pquery parser (PQF). Token characters may be
+escaped by using backslash (C-style).
+
+PQF parser allows string attribute values to be specified. For @attr,
+non-numeric characters after the equal-sign are treated as strings
+(e.g. @attr 9=title).
+
CCL trunction character may be defined (@truncation in file)
* function zget_ExtendedServicesRequest sets waitAction to
#!/bin/sh
-# $Id: buildconf.sh,v 1.2 2001-02-26 22:52:54 adam Exp $
+# $Id: buildconf.sh,v 1.3 2001-05-16 07:37:39 adam Exp $
aclocal || exit 1
libtoolize --force >/dev/null 2>&1 || exit 2
automake -a >/dev/null 2>&1 || exit 3
if [ -f config.cache ]; then
rm config.cache
fi
+util/cvs-date.tcl include/yaz/yaz-date.h
dnl YAZ Toolkit, Index Data 1994-2001
dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.44 2001-04-06 12:26:46 adam Exp $
+dnl $Id: configure.in,v 1.45 2001-05-16 07:37:39 adam Exp $
AC_INIT(include/yaz/yaz-version.h)
AM_INIT_AUTOMAKE(yaz, 1.7)
dnl
EXTRAMODULE="$EXTRAMODULE ill ccl"
])
EXTRALIB=""
-echo $EXTRAMODULE
for module in $EXTRAMODULE; do
EXTRALIB="$EXTRALIB ../$module/lib${module}.la"
if test $module = "z39.50"; then
-## $Id: Makefile.am,v 1.9 2000-10-03 12:55:50 adam Exp $
+## $Id: Makefile.am,v 1.10 2001-05-16 07:37:39 adam Exp $
pkginclude_HEADERS= backend.h ccl.h comstack.h \
d1_attset.h d1_map.h data1.h diagbib1.h \
log.h logrpn.h marcdisp.h nmem.h odr.h oid.h options.h otherinfo.h \
pquery.h prt-ext.h readconf.h statserv.h tcpip.h tpath.h wrbuf.h xmalloc.h \
- yaz-ccl.h yaz-util.h yaz-version.h yconfig.h proto.h \
+ yaz-ccl.h yaz-util.h yaz-version.h yaz-date.h yconfig.h proto.h \
\
ill.h ill-core.h item-req.h z-accdes1.h z-accform1.h \
z-acckrb1.h z-core.h z-date.h z-diag1.h z-espec1.h z-estask.h z-exp.h \
z-grs.h z-opac.h z-proto.h z-rrf1.h z-rrf2.h z-sum.h z-sutrs.h z-uifr1.h \
- z-univ.h zes-expi.h zes-exps.h zes-order.h zes-pquery.h zes-psched.h zes-admin.h \
- \
- zes-pset.h zes-update.h zes-update0.h
+ z-univ.h zes-expi.h zes-exps.h zes-order.h zes-pquery.h \
+ zes-psched.h zes-admin.h zes-pset.h zes-update.h zes-update0.h
* Current software version.
*
* $Log: yaz-version.h,v $
- * Revision 1.3 2000-04-05 07:39:55 adam
+ * Revision 1.4 2001-05-16 07:37:39 adam
+ * Added script cvs-date.tcl that determines last CVS change for YAZ by
+ * using output of 'cvs log'. The script generates include/yaz/yaz-date.h
+ * which defines YAZ_DATE - format YYYYMMDD.
+ *
+ * Revision 1.3 2000/04/05 07:39:55 adam
* Added shared library support (libtool).
*
* Revision 1.2 2000/02/28 11:20:06 adam
*/
#ifndef YAZ_VERSION
#define YAZ_VERSION "1.7"
+#ifndef WIN32
+#include <yaz/yaz-date.h>
+#endif
#endif
## Copyright (C) 1994-2001, Index Data
## All rights reserved.
-## $Id: Makefile.am,v 1.9 2001-03-21 15:02:39 adam Exp $
+## $Id: Makefile.am,v 1.10 2001-05-16 07:37:39 adam Exp $
noinst_LTLIBRARIES = libutil.la
bin_SCRIPTS = yaz-comp
-EXTRA_DIST = yaz-comp
+EXTRA_DIST = yaz-comp cvs-date.tcl
LIBS =
--- /dev/null
+#!/bin/sh
+# the next line restarts using tclsh \
+exec tclsh "$0" "$@"
+#
+# $Id: cvs-date.tcl,v 1.1 2001-05-16 07:37:39 adam Exp $
+set sec 0
+
+proc cvslog {} {
+ global sec
+
+ set f [open {|cvs log} r]
+ while {[gets $f line] >= 0} {
+ if {[regexp {^date: ([0-9]+)[ /]+([0-9]+)[ /]+([0-9]+)[ /]} $line dummy year month day]} {
+ set this $year$month$day
+ if {$this > $sec} {
+ set sec $this
+ }
+ }
+ }
+}
+
+cvslog
+
+if {$sec} {
+ set fname [lindex $argv 0]
+ if {[string length $fname]} {
+ set f [open [lindex $argv 0] w]
+ puts $f "#define YAZ_DATE \"$sec\""
+ close $f
+ } else {
+ puts $sec
+ }
+}