]> git.pld-linux.org Git - packages/courier-imap.git/blob - courier-imap-no_res_query.patch
- don't check for res_query() - this function is never used in the sources
[packages/courier-imap.git] / courier-imap-no_res_query.patch
1 diff -dur courier-imap-2.2.1.orig/authlib/configure.in courier-imap-2.2.1/authlib/configure.in
2 --- courier-imap-2.2.1.orig/authlib/configure.in        2003-10-25 14:19:28.000000000 +0200
3 +++ courier-imap-2.2.1/authlib/configure.in     2004-02-05 10:32:15.574615336 +0100
4 @@ -384,14 +384,6 @@
5         saveLIBS="$LIBS"
6         LIBS="$NETLIBS $LIBS"
7         LDAPLIBS=""
8 -        AC_MSG_CHECKING(whether -lresolv is needed for res_query)
9 -        AC_TRY_LINK_FUNC(res_query,
10 -               AC_MSG_RESULT(no),
11 -               LIBS="-lresolv $LIBS"
12 -               AC_TRY_LINK_FUNC(res_query,
13 -                       LDAPLIBS="-lresolv $LDAPLIBS" HAVE_LDAP=1
14 -                       AC_MSG_RESULT(yes),
15 -                       AC_MSG_ERROR(Cannot find function res_query)))
16         AC_CHECK_LIB(lber, ber_scanf,
17                 [ LDAPLIBS="-llber $LDAPLIBS" LIBS="-llber $LIBS" ])
18         AC_CHECK_LIB(ldap, ldap_open,
19 Only in courier-imap-2.2.1/authlib: configure.in~
This page took 0.035491 seconds and 3 git commands to generate.