blob: be750ab897b442b7a7c5cdb197aab964779bca6f [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From 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
Brad Bishop316dfdd2018-06-25 12:45:53 -04007
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008Use 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
Brad Bishop19323692019-04-05 15:28:33 -040014Upstream-Status: Pending
15
16update patch to version 5.1.5
17Signed-off-by: Changqing Li <changqing.li@windriver.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -040018---
19 configure.in | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/configure.in b/configure.in
Brad Bishop19323692019-04-05 15:28:33 -040023index 76ecb40..493b9f1 100644
Brad Bishop316dfdd2018-06-25 12:45:53 -040024--- a/configure.in
25+++ b/configure.in
Brad Bishop19323692019-04-05 15:28:33 -040026@@ -238,7 +238,7 @@ AC_SUBST(LIBCLOCK_GETTIME)
Brad Bishop6e60e8b2018-02-01 10:27:11 -050027
Brad Bishop19323692019-04-05 15:28:33 -040028 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