openbsd-ports/databases/gq/patches/patch-configure_in

33 lines
1.2 KiB
Plaintext

--- configure.in.orig Mon Nov 3 23:56:14 2003
+++ configure.in Sat Nov 12 11:30:15 2005
@@ -278,9 +278,9 @@ AC_CHECK_LIB(lber, ber_alloc,
)
AC_CHECK_LIB(ldap, ldap_simple_bind,
- [LIBS="-lldap $HAVE_LLBER $LIBS"],
+ [LIBS="-lldap -lsasl2 $HAVE_LLBER $LIBS"],
AC_MSG_ERROR(Cannot find libldap),
- $HAVE_LLBER
+ $HAVE_LLBER -lsasl2
)
AC_CACHE_CHECK([OpenLDAP version], gq_cv_OpenLDAP_version,
@@ -340,7 +340,7 @@ AC_CHECK_FUNCS(ldap_str2objectclass ldap
AC_ARG_WITH(kerberos-prefix,
[ --with-kerberos-prefix=PFX Prefix where Kerberos is installed],
[
- LIBS="-L$with_kerberos_prefix/lib -lkrb5 -ldes425 $LIBS"
+ LIBS="-L$with_kerberos_prefix/lib -lkrb5 $LIBS"
AC_DEFINE(HAVE_KERBEROS,1,[Define if you have Kerberos installed])
HAVE_KERBEROS=1
]
@@ -491,7 +491,7 @@ AC_ARG_ENABLE(browser-dnd,
dnl Only use -Wall if we have gcc
if test "x$GCC" = "xyes"; then
- for A in -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal
+ for A in -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith
do
# The following should work as well, but might (?) be less portable
# if ! echo "$CFLAGS" | grep -q -w -- "$A" ; then