Skip to content

Commit f42f693

Browse files
orlitzkyjames-d-mitchell
authored andcommitted
configure.ac: fix bashism in string equality test
Using "==" for string equality only works in the Bash shell, while ./configure is meant to be run in any POSIX /bin/sh. We change one instance to "=" to fix the following error in (for example) Dash: ./configure: 5587: test: x: unexpected operator
1 parent b5f1306 commit f42f693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ AC_ARG_WITH([intrinsics],
108108
[do not use compiler intrinsics even if available])]
109109
)
110110

111-
AS_IF([test "x$with_intrinsics" == "xno" ],
111+
AS_IF([test "x$with_intrinsics" = "xno" ],
112112
[AC_MSG_NOTICE([compiler intrinsics will not be used even if available])])
113113

114114
dnl compiler builtins

0 commit comments

Comments
 (0)