Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | From a2a2e1b7a3f4f90e32912b5ba9b79e1a02275775 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 1 Sep 2022 11:17:13 -0700 |
| 4 | Subject: [PATCH] configure: Check for symbol from libresolv instead of main |
| 5 | |
| 6 | This checks will fail with modern autoconf and compilers |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | Signed-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" |