The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / linux-pam / 0001-configure.patch
1 Add check for ruserok
2
3 ruserok is not available/functional in uclibc, provide conditions for compilation
4 where needed.
5
6 Signed-off-by: Dmitry Golubovsky <golubovsky@gmail.com>
7
8 diff -urN a/configure.in b/configure.in
9 --- a/configure.in      2012-08-17 03:48:24.000000000 -0500
10 +++ b/configure.in      2013-07-17 09:49:23.760254684 -0500
11 @@ -526,7 +526,7 @@
12  AC_CHECK_FUNCS(strcspn strdup strspn strstr strtol uname)
13  AC_CHECK_FUNCS(getutent_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r)
14  AC_CHECK_FUNCS(getgrouplist getline getdelim)
15 -AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af)
16 +AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af ruserok)
17  
18  AC_CHECK_FUNCS(unshare, [UNSHARE=yes], [UNSHARE=no])
19  AM_CONDITIONAL([HAVE_UNSHARE], [test "$UNSHARE" = yes])