From a3353150f845cf0f6e8f2355d3aad760bfba4b64 Mon Sep 17 00:00:00 2001 From: Mikko Koppanen Date: Tue, 7 Dec 2010 11:15:18 +0100 Subject: [PATCH] Fix werror flag store/restore Signed-off-by: Mikko Koppanen --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 6c08d098..7da2e0bd 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