Skip to content

Commit 03fccbb

Browse files
authored
Merge pull request #880 from thesamesam/bashism
build: fix bashism in configure.ac
2 parents f98877f + 16850e4 commit 03fccbb

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
@@ -38,7 +38,7 @@ case "${enableval}" in
3838
*) AC_MSG_ERROR(bad value ${enableval} for --enable-embedded-yajl) ;;
3939
esac],[embedded_yajl=false])
4040

41-
AM_CONDITIONAL([HAVE_EMBEDDED_YAJL], [test x"$embedded_yajl" == xtrue])
41+
AM_CONDITIONAL([HAVE_EMBEDDED_YAJL], [test x"$embedded_yajl" = xtrue])
4242
AM_COND_IF([HAVE_EMBEDDED_YAJL], [], [
4343
AC_SEARCH_LIBS(yajl_tree_get, [yajl], [AC_DEFINE([HAVE_YAJL], 1, [Define if libyajl is available])], [AC_MSG_ERROR([*** libyajl headers not found])])
4444
PKG_CHECK_MODULES([YAJL], [yajl >= 2.0.0])

0 commit comments

Comments
 (0)