forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-libs/libixion: Fix bashisms in configure.ac, --disable-static
Reported-by: Matt Whitlock <[email protected]> Thanks-to: Lars Wendler <[email protected]> Closes: https://bugs.gentoo.org/723128 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
3 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 076f6576e7398842457d34fd68140512795c7e00 Mon Sep 17 00:00:00 2001 | ||
From: Lars Wendler <[email protected]> | ||
Date: Fri, 15 May 2020 12:42:20 +0200 | ||
Subject: [PATCH] configure.ac: avoid bashisms | ||
|
||
or else we end up with unpredictable results if shell != /bin/bash: | ||
|
||
./configure: 19427: test: xno: unexpected operator | ||
|
||
Reported-by: Matt Whitlock <[email protected]> | ||
Gentoo-bug: https://bugs.gentoo.org/723128 | ||
Signed-off-by: Lars Wendler <[email protected]> | ||
--- | ||
configure.ac | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 3a07dd8..505aeba 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -182,7 +182,7 @@ AC_ARG_ENABLE([werror], | ||
[enable_werror="$enableval"], | ||
[enable_werror=no] | ||
) | ||
-AS_IF([test x"$enable_werror" == "xyes"], [ | ||
+AS_IF([test x"$enable_werror" = "xyes"], [ | ||
CXXFLAGS="$CXXFLAGS -Werror" | ||
]) | ||
|
||
-- | ||
2.26.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters