]> git.pld-linux.org Git - packages/courier-imap.git/commitdiff
- don't check for res_query() - this function is never used in the sources
authorJacek Konieczny <jajcus@pld-linux.org>
Thu, 5 Feb 2004 09:45:32 +0000 (09:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    courier-imap-no_res_query.patch -> 1.1

courier-imap-no_res_query.patch [new file with mode: 0644]

diff --git a/courier-imap-no_res_query.patch b/courier-imap-no_res_query.patch
new file mode 100644 (file)
index 0000000..820e55b
--- /dev/null
@@ -0,0 +1,19 @@
+diff -dur courier-imap-2.2.1.orig/authlib/configure.in courier-imap-2.2.1/authlib/configure.in
+--- courier-imap-2.2.1.orig/authlib/configure.in       2003-10-25 14:19:28.000000000 +0200
++++ courier-imap-2.2.1/authlib/configure.in    2004-02-05 10:32:15.574615336 +0100
+@@ -384,14 +384,6 @@
+       saveLIBS="$LIBS"
+       LIBS="$NETLIBS $LIBS"
+       LDAPLIBS=""
+-        AC_MSG_CHECKING(whether -lresolv is needed for res_query)
+-        AC_TRY_LINK_FUNC(res_query,
+-              AC_MSG_RESULT(no),
+-              LIBS="-lresolv $LIBS"
+-              AC_TRY_LINK_FUNC(res_query,
+-                      LDAPLIBS="-lresolv $LDAPLIBS" HAVE_LDAP=1
+-                      AC_MSG_RESULT(yes),
+-                      AC_MSG_ERROR(Cannot find function res_query)))
+       AC_CHECK_LIB(lber, ber_scanf,
+               [ LDAPLIBS="-llber $LDAPLIBS" LIBS="-llber $LIBS" ])
+       AC_CHECK_LIB(ldap, ldap_open,
+Only in courier-imap-2.2.1/authlib: configure.in~
This page took 0.117559 seconds and 4 git commands to generate.