[gobject-introspection] Windows port: check for OS_WIN32 in configure.ac



commit e01556aaaf4b1623ed932585611c5c3908e66448
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Mon Sep 5 15:52:21 2011 +0200

    Windows port: check for OS_WIN32 in configure.ac
    
    Without repeated output created by AC_MSG_CHECKING([for Win32])
    
    https://bugzilla.gnome.org/show_bug.cgi?id=620566

 configure.ac |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9e745b4..29dab33 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,6 @@ AM_SILENT_RULES([yes])
 
 # Check for Win32
 AC_CANONICAL_HOST
-AC_MSG_CHECKING([for Win32])
 case "$host" in
 *-*-mingw*)
 	os_win32=yes
@@ -33,8 +32,7 @@ case "$host" in
 	os_win32=no
 	;;
 esac
-AC_MSG_RESULT([$os_win32])
-AM_CONDITIONAL(OS_WIN32, [test "$os_win32" = "yes"])
+AM_CONDITIONAL(OS_WIN32, [test x"$os_win32" = "xyes"])
 
 # Checks for programs.
 AC_PROG_CC



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]