summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/at/at/configure-add-enable-pam.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-08-29 08:26:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-31 23:40:48 +0100
commit7d8430f0b11dcefb6e3a58e35e6969d8bf291f95 (patch)
tree508478f693619a90dca900cdfcdbcaa880086893 /meta/recipes-extended/at/at/configure-add-enable-pam.patch
parentd086917631c2ebc6cedab97864aa0ba22c5f88b1 (diff)
downloadpoky-7d8430f0b11dcefb6e3a58e35e6969d8bf291f95.tar.gz
at: Upgrade to 3.1.15
Rebase pam.conf.patch Move to generic files -> at for patches directory (From OE-Core rev: 6558c8e1a7e5cd9f1f5271718c10355f67573b4c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/at/at/configure-add-enable-pam.patch')
-rw-r--r--meta/recipes-extended/at/at/configure-add-enable-pam.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/at/at/configure-add-enable-pam.patch b/meta/recipes-extended/at/at/configure-add-enable-pam.patch
new file mode 100644
index 0000000000..1e5efef128
--- /dev/null
+++ b/meta/recipes-extended/at/at/configure-add-enable-pam.patch
@@ -0,0 +1,25 @@
1Upstream-Status: Pending
2
3--- at-3.1.12/configure.ac 2011-06-23 14:51:03.653572945 +0800
4+++ at-3.1.12/configure.ac.new 2011-06-27 16:12:14.903572945 +0800
5@@ -81,10 +81,18 @@
6 AC_FUNC_VPRINTF
7 AC_FUNC_GETLOADAVG
8 AC_CHECK_FUNCS(getcwd mktime strftime setreuid setresuid sigaction waitpid)
9+
10+AC_ARG_WITH([pam],
11+ [AS_HELP_STRING([--without-pam], [without PAM support])])
12+
13+if test "x$with_pam" != xno; then
14 AC_CHECK_HEADERS(security/pam_appl.h, [
15 PAMLIB="-lpam"
16- AC_DEFINE(HAVE_PAM, 1, [Define to 1 for PAM support])
17-])
18+ AC_DEFINE(HAVE_PAM, 1, [Define to 1 for PAM support])],
19+ [if test "x$with_pam" = xyes; then
20+ AC_MSG_ERROR([PAM selected but security/pam_misc.h not found])
21+ fi])
22+fi
23
24 dnl Checking for programs
25