summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Koppanen <mkoppanen@php.net>2010-12-07 11:15:18 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-12-07 11:15:18 +0100
commita3353150f845cf0f6e8f2355d3aad760bfba4b64 (patch)
tree6d236464fa2d519149ec8182b1b7115d1cd67d9e
parentaed2eeafdc2fce93738368749b61b36f98ea6cd6 (diff)
Fix werror flag store/restore
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
-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