[gnome-games] Check for windres on native win32
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] Check for windres on native win32
- Date: Fri, 12 Jun 2009 15:05:38 -0400 (EDT)
commit c3c2ca9a12c8419b6b4acd513ee618808db19498
Author: Christian Persch <chpe gnome org>
Date: Fri Jun 12 17:06:23 2009 +0200
Check for windres on native win32
configure.in | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 1adf15a..2ab9126 100644
--- a/configure.in
+++ b/configure.in
@@ -915,7 +915,7 @@ case "$host" in
;;
esac
AC_MSG_RESULT([$platform_win32])
-AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
+AM_CONDITIONAL([PLATFORM_WIN32],[test "$platform_win32" = "yes"])
AC_MSG_CHECKING([for native Win32])
case "$host" in
@@ -927,7 +927,14 @@ case "$host" in
;;
esac
AC_MSG_RESULT([$os_win32])
-AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
+AM_CONDITIONAL([PLATFORM_WIN32_NATIVE],[test "$os_win32" = "yes"])
+
+if test "$platform_win32" = "yes" -a "$os_win32" = "yes"; then
+ AC_CHECK_TOOL([WINDRES],[windres],[no])
+ if test "$WINDRES" = "no"; then
+ AC_MSG_ERROR([windres is required for native win32])
+ fi
+fi
# **********
# Unit tests
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]