AC_C_INLINE
-YAZ_INIT([static icu],[4.2.58])
+YAZ_INIT([static icu],[4.2.63])
if test -z "$YAZLIB"; then
AC_MSG_ERROR([YAZ development libraries missing])
fi
Maintainer: Adam Dickmeiss <adam@indexdata.dk>
Build-Depends: debhelper (>= 5),
autotools-dev,
- libyaz4-dev (>= 4.2.58),
+ libyaz4-dev (>= 4.2.63),
docbook-xsl,
libgnutls-dev
Standards-Version: 3.7.2
Vendor: Index Data ApS <info@indexdata.dk>
Source: pazpar2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: libyaz4-devel >= 4.2.58
+BuildRequires: libyaz4-devel >= 4.2.63
Packager: Adam Dickmeiss <adam@indexdata.dk>
URL: http://www.indexdata.com/pazpar2
Summary: pazpar2 daemon
-Requires: libyaz4 >= 4.2.58
+Requires: libyaz4 >= 4.2.63
%description
Pazpar2 is a high-performance, user interface-independent, data
YAZ_MUTEX mutex;
};
-#if YAZ_VERSIONL > 0x4023e
-#define strcmp_null(x, y) yaz_strcmp_null(x, y)
-#else
-#define strcmp_null(x, y) local_strcmp_null(x, y)
-
-static int local_strcmp_null(const char *v1, const char *v2)
-{
- if (v1)
- {
- if (v2)
- return strcmp(v1, v2);
- else
- return 1;
- }
- else if (v2)
- return -1;
- return 0;
-}
-#endif
-
// Create a new host structure for hostport
static struct host *create_host(const char *proxy,
const char *tproxy,
yaz_mutex_enter(hosts->mutex);
for (p = hosts->hosts; p; p = p->next)
{
- if (!strcmp_null(p->tproxy, tproxy) &&
- !strcmp_null(p->proxy, proxy))
+ if (!yaz_strcmp_null(p->tproxy, tproxy) &&
+ !yaz_strcmp_null(p->proxy, proxy))
{
break;
}