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
This commit is contained in:
Vadim Zeitlin 2004-11-17 08:57:09 +00:00
parent e0d8c923f5
commit a1d47842fc

View file

@ -167,8 +167,10 @@ AC_DEFUN([AM_PATH_WXCONFIG],
dnl what the user actually wants, making this redundant at best. 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. dnl For now keep it in case anyone actually used it in the past.
AC_MSG_CHECKING([for wxWindows static library]) AC_MSG_CHECKING([for wxWindows static library])
WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>&1 > /dev/null` WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
if test -n "$WX_LIBS_STATIC"; then if test "x$WX_LIBS_STATIC" = "x"; then
AC_MSG_RESULT(no)
else
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
fi fi