From 1f52a03082b2816826bc5bd8c241f5d016d15395 Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Fri, 13 May 2016 07:43:49 +0100 Subject: [PATCH] fix #72180 (Env variables incorrectly pretty printed in config.nice, phpinfo) --- acinclude.m4 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index 70b1a79894..dd815c9db0 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2698,6 +2698,12 @@ EOF else break fi + for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS EXTRA_LDFLAGS_PROGRAM LIBS CC CXX; do + if test `expr $CURRENT_ARG : ".*${var}.*"` != 0; + then + continue 2 + fi + done $as_echo "$CURRENT_ARG \\" >>$1 CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG" done -- 2.40.0