From a1d47842fc4e3ef1834cdc9c7d1887a0f9eb43ee Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 17 Nov 2004 08:57:09 +0000 Subject: [PATCH] fixed static libs detection (shouldn't suppress stdout, just stderr) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxwin.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wxwin.m4 b/wxwin.m4 index 07df4e4679..c287fc609d 100644 --- a/wxwin.m4 +++ b/wxwin.m4 @@ -167,8 +167,10 @@ 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 2>&1 > /dev/null` - if test -n "$WX_LIBS_STATIC"; then + WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null` + if test "x$WX_LIBS_STATIC" = "x"; then + AC_MSG_RESULT(no) + else AC_MSG_RESULT(yes) fi