summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-11-24 14:41:33 +0800
committerfanquake <fanquake@gmail.com>2021-11-24 14:41:33 +0800
commit082941edf204a0f154f0cf33ce36ab9cf7356f2a (patch)
tree066d136a253b59f283875fab34f64ff087b5c659 /autogen.sh
parent0c217f4fe1af6efdb99321401da6f4048398065f (diff)
downloadlibevent-082941edf204a0f154f0cf33ce36ab9cf7356f2a.tar.gz
build: remove inconsistently used x-prefix comparisons
Given that these are already used inconsistently with `test` checks, it makes sense to consolidate to not use the x-prefix comparisons at all. In any case, it would be nice to think we no longer have to work around a problem that existed in shells many, many years ago. More info: https://github.com/koalaman/shellcheck/wiki/SC2268 https://www.vidarholen.net/contents/blog/?p=1035
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index bcfe937a..35916cef 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,7 +12,7 @@ fi
LIBTOOLIZE=libtoolize
SYSNAME=`uname`
-if [ "x$SYSNAME" = "xDarwin" ] ; then
+if [ "$SYSNAME" = "Darwin" ] ; then
LIBTOOLIZE=glibtoolize
fi
aclocal -I m4 && \