Make whatnow "list" work with "lproc: show" again. From Ruud de Rooij
[mmh] / configure.in
index f544ac6..dd5ebdc 100644 (file)
@@ -278,6 +278,9 @@ AC_REPLACE_FUNCS(snprintf strerror strdup)
 dnl -------------------
 dnl CHECK FOR LIBRARIES
 dnl -------------------
+dnl Check location of modf
+AC_CHECK_FUNC(modf, , AC_CHECK_LIB(m, modf))
+
 dnl Checks for network libraries (nsl, socket)
 AC_CHECK_NETLIBS
 
@@ -331,7 +334,7 @@ if test x$with_krb4 != x -a x$with_krb4 != xno; then
   AC_CHECK_LIB(krb4, krb_rd_req,
     [KRB4_LIBS="$KRB4_LIBS -lkrb4 -ldes425 -lkrb5 -lcrypto -lcom_err"],
     [AC_CHECK_LIB(krb, krb_rd_req,
-      [KRB4_LIBS="-lkrb -ldes"],
+      [KRB4_LIBS="$KRB4_LIBS -lkrb -ldes"],
       [AC_MSG_ERROR(Kerberos 4 libraries not found)],
       $KRB4_LIBS -ldes)],
     $KRB4_LIBS -ldes425 -lkrb5 -lcrypto -lcom_err)