0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Problem: AS_HELP_STRING improperly quoted

Brackets around defaults in configure --help strings for
--with-libsodium and --disable-curve were not displayed.

Solution:  Add m4 quotes.
This commit is contained in:
Jim Garlick 2016-03-02 12:11:08 -08:00
parent 9d75a9c27d
commit 54389fefb5

View File

@ -416,7 +416,7 @@ fi
# To disable curve, use --disable-curve
AC_ARG_WITH([libsodium],
AS_HELP_STRING([--with-libsodium], [use libsodium instead of built-in tweetnacl [default=no]]))
[AS_HELP_STRING([--with-libsodium], [use libsodium instead of built-in tweetnacl [default=no]])])
AS_IF([test "x$with_libsodium" = "xyes"], [
PKG_CHECK_MODULES([sodium], [libsodium], [libsodium_found=yes], [
@ -425,7 +425,7 @@ AS_IF([test "x$with_libsodium" = "xyes"], [
])
AC_ARG_ENABLE([curve],
AS_HELP_STRING([--disable-curve], [disable CURVE security [default=no]]))
[AS_HELP_STRING([--disable-curve], [disable CURVE security [default=no]])])
if test "x$enable_curve" == "xno"; then
curve_library=""