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
This commit is contained in:
Francesco Montorsi 2008-01-15 18:06:28 +00:00
parent 7bac0684f5
commit ccde70089d

View File

@ -277,7 +277,7 @@ for arg do
*) *)
# We validate the parameters later ... # 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" cxx_parameters="${cxx_parameters:+$cxx_parameters }$arg"
elif [ "$_name" = "libs" ]; then elif [ "$_name" = "libs" ]; then
libs_parameters="${libs_parameters:+$libs_parameters }$arg" libs_parameters="${libs_parameters:+$libs_parameters }$arg"