summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/at/files/configure-add-enable-pam.patch
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-03-14 16:39:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 13:36:53 +0000
commit768eb8e8590e3b9cc033d8544a01ae34d3ed16b1 (patch)
treea79cf8f811dbf6a267d9a02a748721378cd8cfa8 /meta/recipes-extended/at/files/configure-add-enable-pam.patch
parent4bdd31625ba9d4f9f0e9dc7775ad650d53dd221a (diff)
downloadopenembedded-core-768eb8e8590e3b9cc033d8544a01ae34d3ed16b1.tar.gz
openembedded-core-768eb8e8590e3b9cc033d8544a01ae34d3ed16b1.tar.bz2
openembedded-core-768eb8e8590e3b9cc033d8544a01ae34d3ed16b1.tar.xz
openembedded-core-768eb8e8590e3b9cc033d8544a01ae34d3ed16b1.zip
at: upgrade to 3.1.13
Moved patches into a common directory. Added SOB to use-ldflags.patch. Removed nonstripbinaries patch which was included in this release. Minor formatting cleanups. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-extended/at/files/configure-add-enable-pam.patch')
-rw-r--r--meta/recipes-extended/at/files/configure-add-enable-pam.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/at/files/configure-add-enable-pam.patch b/meta/recipes-extended/at/files/configure-add-enable-pam.patch
new file mode 100644
index 000000000..1e5efef12
--- /dev/null
+++ b/meta/recipes-extended/at/files/configure-add-enable-pam.patch
@@ -0,0 +1,25 @@
+Upstream-Status: Pending
+
+--- at-3.1.12/configure.ac 2011-06-23 14:51:03.653572945 +0800
++++ at-3.1.12/configure.ac.new 2011-06-27 16:12:14.903572945 +0800
+@@ -81,10 +81,18 @@
+ AC_FUNC_VPRINTF
+ AC_FUNC_GETLOADAVG
+ AC_CHECK_FUNCS(getcwd mktime strftime setreuid setresuid sigaction waitpid)
++
++AC_ARG_WITH([pam],
++ [AS_HELP_STRING([--without-pam], [without PAM support])])
++
++if test "x$with_pam" != xno; then
+ AC_CHECK_HEADERS(security/pam_appl.h, [
+ PAMLIB="-lpam"
+- AC_DEFINE(HAVE_PAM, 1, [Define to 1 for PAM support])
+-])
++ AC_DEFINE(HAVE_PAM, 1, [Define to 1 for PAM support])],
++ [if test "x$with_pam" = xyes; then
++ AC_MSG_ERROR([PAM selected but security/pam_misc.h not found])
++ fi])
++fi
+
+ dnl Checking for programs
+