Removed ursula dependancy.
[yazpp-moved-to-github.git] / include / yaz++ / yaz-z-server.h
index 3f399c1..46654ae 100644 (file)
@@ -2,11 +2,13 @@
  * Copyright (c) 2000-2001, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: yaz-z-server.h,v 1.6 2001-04-04 14:02:49 adam Exp $
+ * $Id: yaz-z-server.h,v 1.7 2001-04-05 13:09:44 adam Exp $
  */
 
 #include <yaz++/yaz-z-assoc.h>
+#if HAVE_YAZ_URSULA_H
 #include <yaz/zes-ursula.h>
+#endif
 
 class Yaz_Z_Server;
 
@@ -32,6 +34,7 @@ class YAZ_EXPORT IYaz_Server_Facility {
 };
 
 
+#if HAVE_YAZ_URSULA_H
 class YAZ_EXPORT Yaz_Facility_Ursula : public IYaz_Server_Facility {
  public:
     virtual void ursula_service (Z_ExtendedServicesRequest *req,
@@ -43,7 +46,7 @@ class YAZ_EXPORT Yaz_Facility_Ursula : public IYaz_Server_Facility {
             Z_InitResponse *initResponse);
     int recv(Yaz_Z_Server *server, Z_APDU *apdu);
 };
-
+#endif
 
 class YAZ_EXPORT Yaz_Facility_ILL : public IYaz_Server_Facility {
  public: