diff --git a/wxwin.m4 b/wxwin.m4 index 9bda660143..07df4e4679 100644 --- a/wxwin.m4 +++ b/wxwin.m4 @@ -167,7 +167,7 @@ AC_DEFUN([AM_PATH_WXCONFIG], dnl what the user actually wants, making this redundant at best. dnl For now keep it in case anyone actually used it in the past. AC_MSG_CHECKING([for wxWindows static library]) - WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs` + WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>&1 > /dev/null` if test -n "$WX_LIBS_STATIC"; then AC_MSG_RESULT(yes) fi