summaryrefslogtreecommitdiffhomepage
path: root/m4/slibtool.m4
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-02 14:47:26 +0000
committermidipix <writeonce@midipix.org>2021-05-02 14:47:26 +0000
commitb23a2f700c8b2c5cec7b7e1088101e1cb73f88dd (patch)
tree73eff504d4abdf877944e5d5c2f44e5508e020c0 /m4/slibtool.m4
parent240d0f1a4bc854c637cad5d7559165210632b9c8 (diff)
downloadslibtool-b23a2f700c8b2c5cec7b7e1088101e1cb73f88dd.tar.bz2
slibtool-b23a2f700c8b2c5cec7b7e1088101e1cb73f88dd.tar.xz
slibtool.m4: slibtool_arg_enable(): properly escape brackets in if-then block.
Diffstat (limited to 'm4/slibtool.m4')
-rw-r--r--m4/slibtool.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index f21593f..f1624a4 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -75,7 +75,7 @@ slibtool_arg_enable()
IFS="${PATH_SEPARATOR}${IFS}"
for slbt_pkg in ${enableval}; do
- if [ "_${slbt_pkg}" = "_${slbt_package}" ]; then
+ if [[ "_${slbt_pkg}" = "_${slbt_package}" ]]; then
slbt_eval_expr="${slbt_var}='yes'"
eval $slbt_eval_expr
fi