summaryrefslogtreecommitdiff
path: root/gphoto-m4
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2021-10-12 22:12:34 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2021-10-19 05:13:17 +0200
commit4c560cf7164f2ed3027ee00a7b00e8f4978ab6eb (patch)
tree57d9492c48bf9c4e256962eab976acc96f661a49 /gphoto-m4
parentbb625e03ea0c79426c6ffdceaee8b9513c5d8caa (diff)
downloadlibgphoto2-4c560cf7164f2ed3027ee00a7b00e8f4978ab6eb.tar.gz
Use && and || instead of test arguments -a and -o
For portability, use && and || instead of the test arguments -a and -o.
Diffstat (limited to 'gphoto-m4')
-rw-r--r--gphoto-m4/gp-byteorder.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gphoto-m4/gp-byteorder.m4 b/gphoto-m4/gp-byteorder.m4
index 2f2ce0be4..95d7435bf 100644
--- a/gphoto-m4/gp-byteorder.m4
+++ b/gphoto-m4/gp-byteorder.m4
@@ -40,7 +40,7 @@ fi
# We're only interested in the target CPU, but it's not always set
effective_target="$target"
-if test "x$effective_target" = xNONE -o "x$effective_target" = x ; then
+if test "x$effective_target" = xNONE || test "x$effective_target" = x ; then
effective_target="$host"
fi
AC_SUBST(effective_target)