]> git.saurik.com Git - wxWidgets.git/blobdiff - wxwin.m4
Rename wxUSE_ARCSTREAM to wxUSE_ARCHIVE_STREAMS
[wxWidgets.git] / wxwin.m4
index 07df4e46796f619ec4fac580fde9504e9ea16fe5..c287fc609db9aa9ad07b8b51850a5e98967239b6 100644 (file)
--- 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