From ccde70089ddfb75409c801c9df9f65a992ade0d7 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Tue, 15 Jan 2008 18:06:28 +0000 Subject: [PATCH] don't give out an error when using --cflags followed by a list of libraries; this happens for example in the WX_CONFIG_CHECK macro in wxwin.m4 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx-config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wx-config.in b/wx-config.in index 811b640290..6cabef88d4 100755 --- a/wx-config.in +++ b/wx-config.in @@ -277,7 +277,7 @@ for arg do *) # We validate the parameters later ... - if [ "$_name" = "cxxflags" ] || [ "$_name" = "cppflags" ]; then + if [ "$_name" = "cxxflags" ] || [ "$_name" = "cppflags" ] || [ "$_name" = "cflags" ]; then cxx_parameters="${cxx_parameters:+$cxx_parameters }$arg" elif [ "$_name" = "libs" ]; then libs_parameters="${libs_parameters:+$libs_parameters }$arg"