chiark / gitweb /
use gtk native mechanisms to look up text tags in help
[disorder] / configure.ac
index bf0a7b79c76c83ba6cc3a35f9bcd2c27e4114068..a9331b2e68c64163f739d05d345e5fc1e993d786 100644 (file)
@@ -19,9 +19,9 @@
 # USA
 #
 
-AC_INIT(disorder, 1.5.99+, richard+disorder@sfere.greenend.org.uk)
+AC_INIT([disorder], [1.5.99+], [richard+disorder@sfere.greenend.org.uk])
 AC_CONFIG_AUX_DIR([config.aux])
-AM_INIT_AUTOMAKE(disorder, 1.5.99+)
+AM_INIT_AUTOMAKE(disorder, [1.5.99+])
 AC_CONFIG_SRCDIR([server/disorderd.c])
 AM_CONFIG_HEADER([config.h])
 
@@ -67,8 +67,6 @@ case "$host" in
   # work around broken toolchain
   AC_CHECK_LIB([gpg-error], [gpg_strerror])
   AC_CHECK_LIB([pthread], [pthread_create])
-  # lib/queue.c really wants to be split into server and non-server bits
-  AC_CHECK_LIB([dl], [dlopen])
   want_server=no
  ;;
 *linux* | *Linux* )
@@ -138,6 +136,7 @@ if test "x$FINK" != xnone; then
   AC_CACHE_CHECK([fink install directory],[rjk_cv_finkprefix],[
     rjk_cv_finkprefix="`echo "$FINK" | sed 's,/bin/fink$,,'`"
   ])
+  finkdir="${rjk_cv_finkprefix}"
   finkbindir="${rjk_cv_finkprefix}/bin"
   CPPFLAGS="${CPPFLAGS} -I${rjk_cv_finkprefix}/include/gc -I${rjk_cv_finkprefix}/include"
   if test $want_server = yes; then
@@ -147,6 +146,7 @@ if test "x$FINK" != xnone; then
 else
   finkbindir=""
 fi
+AC_SUBST([finkdir])
 AC_SUBST([finkbindir])
 
 # Checks for libraries.