1From 602f9ca83c2bdbf511bcb178fcb4b9fc54da955f Mon Sep 17 00:00:00 2001 2From: Changqing Li <changqing.li@windriver.com> 3Date: Tue, 27 Nov 2018 15:20:46 +0800 4Subject: [PATCH] From e3ae56cf0bb4063c31295f45d04e3c504f4b6cc7 Mon Sep 17 5 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 24 Apr 2017 6 20:41:25 -0700 Subject: [PATCH] autofs: Upgrade to 5.1.2 release 7 8Use pkg-config first to look for external libnsl which is now 9split out from glibc, if it does not exist then see if its provided 10by glibc itself. 11 12-Khem 13 14Upstream-Status: Pending 15 16update patch to version 5.1.5 17Signed-off-by: Changqing Li <changqing.li@windriver.com> 18--- 19 configure.in | 2 +- 20 1 file changed, 1 insertion(+), 1 deletion(-) 21 22diff --git a/configure.in b/configure.in 23index 76ecb40..493b9f1 100644 24--- a/configure.in 25+++ b/configure.in 26@@ -238,7 +238,7 @@ AC_SUBST(LIBCLOCK_GETTIME) 27 28 PKG_CHECK_MODULES([NSL],[libnsl],, 29 [ 30-AC_CHECK_LIB(nsl, yp_match, NSL_LIBS="-lnsl") 31+PKG_CHECK_MODULES([NSL], [libnsl], [], [AC_CHECK_LIB([nsl],[yp_match],[LIBNSL="-lnsl"],[LIBNSL=""])]) 32 AC_SUBST(NSL_LIBS) 33 NSL_CFLAGS="" 34 ]) 35-- 362.7.4 37 38