summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 6c08d09..7da2e0b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -195,7 +195,7 @@ AC_DEFUN([AC_ZMQ_CHECK_LANG_FLAG], [{
AC_MSG_CHECKING([whether _AC_LANG compiler supports $1])
- ac_zmq_cv_[]_AC_LANG_ABBREV[]_werror_flag_save=$ac_c_werror_flag
+ ac_zmq_cv_[]_AC_LANG_ABBREV[]_werror_flag_save=$ac_[]_AC_LANG_ABBREV[]_werror_flag
ac_[]_AC_LANG_ABBREV[]_werror_flag="yes"
case "x[]_AC_LANG_ABBREV" in