]> git.pld-linux.org Git - packages/courier.git/blob - courier-no_res_query.patch
0fe66fb50b6e4ee6f4a4a7dfe46ac53171d6b61b
[packages/courier.git] / courier-no_res_query.patch
1 diff -Nur old/authlib/configure.in new/authlib/configure.in
2 --- old/authlib/configure.in    2003-10-25 13:25:28.000000000 +0000
3 +++ new/authlib/configure.in    2004-02-24 13:42:24.000000000 +0000
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 diff -Nur old/courier/configure.in new/courier/configure.in
20 --- old/courier/configure.in    2003-10-30 00:53:31.000000000 +0000
21 +++ new/courier/configure.in    2004-02-24 13:40:33.000000000 +0000
22 @@ -248,14 +248,6 @@
23  LDAPLIBS=""
24  AC_CHECK_LIB(lber, ber_scanf,
25         [ LDAPLIBS="-llber" LIBS="-llber $LIBS" ])
26 -AC_MSG_CHECKING(whether -lresolv is needed for res_query)
27 -AC_TRY_LINK_FUNC(res_query,
28 -               AC_MSG_RESULT(no),
29 -               LIBS="-lresolv $LIBS"
30 -               AC_TRY_LINK_FUNC(res_query,
31 -                       LDAPLIBS="-lresolv $LDAPLIBS"
32 -                       AC_MSG_RESULT(yes),
33 -                       AC_MSG_ERROR(Cannot find function res_query)))
34  AC_CHECK_LIB(ldap, ldap_open,
35         [ LDAPLIBS="-lldap $LDAPLIBS" ; LIBS="-lldap $LIBS" ])
36  AC_CHECK_FUNC(ldap_search_st, HAVE_LDAP=1, HAVE_LDAP=0)
This page took 0.049515 seconds and 3 git commands to generate.