diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-11-27 22:28:48 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-27 23:26:06 +0100 |
commit | 211a321934fae74d1ac4fa8b591bfa86c222845b (patch) | |
tree | f14466047965c86306c69035d252cb32aa7981e7 /package/nfs-utils/0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch | |
parent | 85802bb9808b087f5ec422680e9cac2f6c8b2ab7 (diff) | |
download | buildroot-211a321934fae74d1ac4fa8b591bfa86c222845b.tar.gz buildroot-211a321934fae74d1ac4fa8b591bfa86c222845b.zip |
package/nfs-utils: rename patches
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/nfs-utils/0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch')
-rw-r--r-- | package/nfs-utils/0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/package/nfs-utils/0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch b/package/nfs-utils/0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch new file mode 100644 index 0000000000..ba9ad420fa --- /dev/null +++ b/package/nfs-utils/0001-build-avoid-AM_CONDITIONAL-in-conditional-execution.patch @@ -0,0 +1,57 @@ +From 2a44ed7558f981e15db58dcda799ff7cd3827a6e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu> +Date: Thu, 17 May 2012 16:26:44 -0700 +Subject: [PATCH] build: avoid AM_CONDITIONAL in conditional execution. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Automake does not support conditional AM_CONDITIONAL calls; what that +means is that you always have to execute AM_CONDITIONAL one way or the +other. Both the libsqlite3.m4 file and the nfsdcld conditionals are +executed only when NFSv4 is enabled, which breaks building with +--disable-nfsv4. + +Remove the SQLite3 conditional altogether as it's never used, and move +the nfsdcld conditional outside of the conditional code. + +Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> +--- + aclocal/libsqlite3.m4 | 1 - + configure.ac | 3 +-- + 2 files changed, 1 insertion(+), 3 deletions(-) + +diff --git a/aclocal/libsqlite3.m4 b/aclocal/libsqlite3.m4 +index 73d1e46..8c38993 100644 +--- a/aclocal/libsqlite3.m4 ++++ b/aclocal/libsqlite3.m4 +@@ -29,5 +29,4 @@ AC_DEFUN([AC_SQLITE3_VERS], [ + LIBS="$saved_LIBS"]) + + AC_MSG_RESULT($libsqlite3_cv_is_recent) +- AM_CONDITIONAL(CONFIG_SQLITE3, [test "$libsqlite3_cv_is_recent" = "yes"]) + ])dnl +diff --git a/configure.ac b/configure.ac +index 9ba53e2..b408f1b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -278,8 +278,6 @@ if test "$enable_nfsv4" = yes; then + fi + fi + +- AM_CONDITIONAL(CONFIG_NFSDCLD, [test "$enable_nfsdcld" = "yes" ]) +- + dnl librpcsecgss already has a dependency on libgssapi, + dnl but we need to make sure we get the right version + if test "$enable_gss" = yes; then +@@ -293,6 +291,7 @@ if test "$enable_nfsv41" = yes; then + fi + + dnl enable nfsidmap when its support by libnfsidmap ++AM_CONDITIONAL(CONFIG_NFSDCLD, [test "$enable_nfsdcld" = "yes" ]) + AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$ac_cv_header_keyutils_h$ac_cv_lib_nfsidmap_nfs4_owner_to_uid" = "yesyes"]) + + +-- +1.7.9.5 + |