Fixed libdispatch configuration switch.

Passing --enable-libdispatch was incorrectly disabling libdispatch.
This commit is contained in:
Frederik Seiffert 2019-05-07 16:05:17 +02:00
parent 8ed7ccea9e
commit 8a5756cf13
2 changed files with 2 additions and 2 deletions

2
configure vendored
View file

@ -12376,7 +12376,7 @@ fi
HAVE_LIBDISPATCH=0
# Check whether --enable-libdispatch was given.
if test "${enable_libdispatch+set}" = set; then :
enableval=$enable_libdispatch; enable_libdispatch=no
enableval=$enable_libdispatch; enable_libdispatch=$enableval
else
enable_libdispatch=yes
fi

View file

@ -3350,7 +3350,7 @@ AC_SUBST(HAVE_ICU)
HAVE_LIBDISPATCH=0
AC_ARG_ENABLE(libdispatch,
[ --disable-libdispatch Disable dispatching blocks via libdispatch],
enable_libdispatch=no,
enable_libdispatch=$enableval,
enable_libdispatch=yes)
if test $enable_libdispatch = yes; then