pixman: Branch 'master' - 2 commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 18 16:21:47 UTC 2022
Makefile.am | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4ee322c4e2545d03494dbf565c6a4a51038a10e4
Author: Thomas Klausner <wiz at gatalith.at>
Date: Tue Oct 18 17:48:49 2022 +0200
Makefile.am: increase shell portability
Use standard test(1) instead of bash's '[['.
Signed-off-by: Thomas Klausner <wiz at gatalith.at>
diff --git a/Makefile.am b/Makefile.am
index dccbf16..42f44a8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -75,7 +75,7 @@ release-remove-old:
$(RM) $(tar_gz) $(tar_xz) $(HASHFILES) $(gpg_file)
ensure-prev:
- @if [[ "$(PREV)" == "" ]]; then \
+ @if [ "$(PREV)" = "" ]; then \
echo "" && \
echo "You must set the PREV variable on the make command line to" && \
echo "the last version." && \
commit b5b3243792fdfec3e6fabf08bc79f30bc3145742
Author: Thomas Klausner <wiz at gatalith.at>
Date: Tue Oct 18 17:48:24 2022 +0200
configure.ac: avoid unportable test(1) operator
"==" is only supported by bash, POSIX mandates "="
Signed-off-by: Thomas Klausner <wiz at gatalith.at>
diff --git a/configure.ac b/configure.ac
index 5dc2561..186a457 100644
--- a/configure.ac
+++ b/configure.ac
@@ -510,7 +510,7 @@ case $host_os in
# binaries aren't flagged as only able to run on MMX/SSE/SSSE3 capable
# CPUs since they check at runtime before using those instructions.
# Not all linkers grok the mapfile format so we check for that first.
- if test "$host_cpu" == "i386" -o "$host_cpu" == "x86_64"; then
+ if test "$host_cpu" = "i386" -o "$host_cpu" = "x86_64"; then
use_hwcap_mapfile=no
AC_MSG_CHECKING(whether to use a hardware capability map file)
hwcap_save_LDFLAGS="$LDFLAGS"
More information about the xorg-commit
mailing list