]> git.pld-linux.org Git - packages/courier.git/commitdiff
- more unused res_query
authorAndrzej Augustynowicz <andrzej@augustynowicz.eu.org>
Tue, 24 Feb 2004 13:41:07 +0000 (13:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    courier-no_res_query.patch -> 1.2

courier-no_res_query.patch

index 91b8d0701c7718d56613b50b277dd93cfa45df65..0fe66fb50b6e4ee6f4a4a7dfe46ac53171d6b61b 100644 (file)
@@ -1,6 +1,6 @@
 diff -Nur old/authlib/configure.in new/authlib/configure.in
 --- old/authlib/configure.in   2003-10-25 13:25:28.000000000 +0000
-+++ new/authlib/configure.in   2004-02-23 13:37:04.000000000 +0000
++++ new/authlib/configure.in   2004-02-24 13:42:24.000000000 +0000
 @@ -384,14 +384,6 @@
        saveLIBS="$LIBS"
        LIBS="$NETLIBS $LIBS"
@@ -16,3 +16,21 @@ diff -Nur old/authlib/configure.in new/authlib/configure.in
        AC_CHECK_LIB(lber, ber_scanf,
                [ LDAPLIBS="-llber $LDAPLIBS" LIBS="-llber $LIBS" ])
        AC_CHECK_LIB(ldap, ldap_open,
+diff -Nur old/courier/configure.in new/courier/configure.in
+--- old/courier/configure.in   2003-10-30 00:53:31.000000000 +0000
++++ new/courier/configure.in   2004-02-24 13:40:33.000000000 +0000
+@@ -248,14 +248,6 @@
+ LDAPLIBS=""
+ AC_CHECK_LIB(lber, ber_scanf,
+       [ LDAPLIBS="-llber" LIBS="-llber $LIBS" ])
+-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"
+-                      AC_MSG_RESULT(yes),
+-                      AC_MSG_ERROR(Cannot find function res_query)))
+ AC_CHECK_LIB(ldap, ldap_open,
+       [ LDAPLIBS="-lldap $LDAPLIBS" ; LIBS="-lldap $LIBS" ])
+ AC_CHECK_FUNC(ldap_search_st, HAVE_LDAP=1, HAVE_LDAP=0)
This page took 0.198875 seconds and 4 git commands to generate.