Commits

Palmer, 2E0EOL committed 97c629e

Depend on dlstr library (currently used by src/server_options.c)

  • Participants
  • Parent commits b85657b

Comments (0)

Files changed (2)

File configure.ac

   [-l${pthread_lib}]
 )
 
+# DLStr
+AC_CHECK_LIB(
+  dlstr,
+  dlstr_Version,
+  [dlstr_Version="yes"],
+  [AC_MSG_ERROR(["libdlstr not found or link failed, install the libdlstr package from http://www.daybologic.co.uk"])]
+  [-l${pthread_lib}]
+)
+
 # DayboCrypt
 AC_CHECK_LIB(daybocrypt, daybocrypt_GetVersion, [daybocrypt_GetVersion="yes"])
 
 )
 
 AC_CHECK_HEADER(
+  [dlstr.h],
+  AC_DEFINE([HAVE_DLSTR_H], [], [Daybo Logic string library present]),
+  [AC_MSG_ERROR(["dlstr.h not found, install the libdlstr-dev package from http://www.daybologic.co.uk"])],
+  [#define DLSTR_AUTO_INCLUDE]
+)
+
+AC_CHECK_HEADER(
   [daybothreads.h],
   AC_DEFINE([HAVE_DAYBOTHREADS_H], [], [Daybo Logic threads header available]),
   [AC_MSG_ERROR(["daybothreads.h not found, install the DayboThreads package (libdaybothreads-dev) from http://www.daybologic.co.uk/dev/daybothreads/"])],

File debian/control

 Section: net
 Priority: extra
 Maintainer: David Palmer <palmer@overchat.org>
-Build-Depends: debhelper (>= 7), autoconf, autotools-dev, automake, libtool, libdlstds-dev, libdpcrtlmm-dev, libdaybocrypt-dev, librttb-dev, libdlini-dev, libblake-dev, libdaybothreads-dev, libmysqlclient15-dev
+Build-Depends: debhelper (>= 7), autoconf, autotools-dev, automake, libtool, libdlstds-dev, libdpcrtlmm-dev, libdaybocrypt-dev, librttb-dev, libdlini-dev, libblake-dev, libdaybothreads-dev, libmysqlclient15-dev, libdlstr-dev
 Standards-Version: 3.7.3
 Homepage: http://www.overchat.org/
 Vcs-Browser: https://bitbucket.org/daybologic/overchat-server
 
 Package: overchat-server
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libdlstds, libdpcrtlmm, libdaybocrypt, librttb, libdlini, libblake, libdaybothreads, libmysqlclient15off
+Depends: ${shlibs:Depends}, ${misc:Depends}, libdlstds, libdpcrtlmm, libdaybocrypt, librttb, libdlini, libblake, libdaybothreads, libmysqlclient15off, libdlstr
 Description: OverChat Server Component
  OverChat is a multi-platform client/server chat system and this is the primary
  server component.  You will need various other libraries and components in order