aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-09-25 02:41:27 +0000
committerNIIBE Yutaka <[email protected]>2025-09-25 02:41:27 +0000
commit5517c5fe3da6eab1ccddea6fbd7fde1aefdab25c (patch)
tree86eea097a7c14149221b54ebadede9ffb1d433d3
parentPost release updates (diff)
downloadgpgme-master.tar.gz
gpgme-master.zip
build: Avoid using -o for test(1).HEADmaster
* configure.ac: Use || in shell level, instead of -o of test. -- GnuPG-bug-id: 7807 Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f07b480a..9f97fe6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,7 +334,7 @@ AC_ARG_ENABLE([languages],
tr ',:' ' ' | tr '[A-Z]' '[a-z]'`],
[enabled_languages="maybe"])
if test "x$enabled_languages" = "x" \
- -o "$enabled_languages" = "no"; then
+ || test "$enabled_languages" = "no"; then
enabled_languages=
fi
@@ -553,7 +553,7 @@ fi
# Try to find a thread-safe version of getenv().
have_thread_safe_getenv=no
jm_GLIBC21
-if test $GLIBC21 = yes -o $have_w32_system = yes; then
+if test $GLIBC21 = yes || test $have_w32_system = yes; then
have_thread_safe_getenv=yes
fi
if test $have_thread_safe_getenv = yes; then