]> git.pld-linux.org Git - packages/courier.git/commitdiff
- don't check for res_query() - this function is never used in the sources
authorAndrzej Augustynowicz <andrzej@augustynowicz.eu.org>
Mon, 23 Feb 2004 13:58:59 +0000 (13:58 +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.1

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

diff --git a/courier-no_res_query.patch b/courier-no_res_query.patch
new file mode 100644 (file)
index 0000000..91b8d07
--- /dev/null
@@ -0,0 +1,18 @@
+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
+@@ -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,
This page took 0.097248 seconds and 4 git commands to generate.