blob: abae366d28fb64d9d25272c4913f562f9a769ce1 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From a2a2e1b7a3f4f90e32912b5ba9b79e1a02275775 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 1 Sep 2022 11:17:13 -0700
4Subject: [PATCH] configure: Check for symbol from libresolv instead of main
5
6This checks will fail with modern autoconf and compilers
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 configure.in | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14--- a/configure.in
15+++ b/configure.in
16@@ -45,12 +45,7 @@ AC_CHECK_HEADER(linux/atmsap.h, ,
17 )
18
19 dnl Check for libraries
20-dnl libresolv is required
21-AC_CHECK_LIB(resolv, main, ,
22- AC_MSG_ERROR([*** Unable to find libresolv!!!])
23-)
24
25-dnl We don't want libresolv everywhere, just with libatm
26 LIBS=""
27
28 INCLUDES="-I\$(top_srcdir)/src/include"