[gtkglext] Remove redundant PLATFORM_WIN32 symbol; use USE_WIN32 instead.



commit 8c13cc48068b6e33b34164c0c76e8b0f4969fe2a
Author: Braden McDaniel <braden endoframe com>
Date:   Sun May 29 03:31:47 2011 -0400

    Remove redundant PLATFORM_WIN32 symbol; use USE_WIN32 instead.

 configure.ac         |   12 ------------
 examples/Makefile.am |    6 +++---
 2 files changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 908a033..6eeb509 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,18 +119,6 @@ AC_PATH_PROGS([PERL], [perl5 perl])
 
 GTK_DOC_CHECK
 
-platform_win32=no
-AC_MSG_CHECKING([for some Win32 platform])
-case "$host_os" in
-  *mingw*|*cygwin*)
-    platform_win32=yes
-    ;;
-  *)
-    ;;
-esac
-AC_MSG_RESULT([$platform_win32])
-AM_CONDITIONAL([PLATFORM_WIN32], [test "x$platform_win32" = "xyes"])
-
 os_win32=no
 MATH_LIB=-lm
 AC_MSG_CHECKING([for native Win32])
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 40378fd..477fbd7 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -156,7 +156,7 @@ font_pangoft2_tex_CPPFLAGS = $(AM_CPPFLAGS) $(PANGOFT2_CFLAGS)
 font_pangoft2_tex_LDFLAGS = $(AM_LDFLAGS) $(PANGOFT2_LIBS) $(GTKGLEXT_DEP_LIBS_WITH_PANGOFT2) $(GLU_LIBS) $(GL_LIBS)
 endif
 
-if !PLATFORM_WIN32
+if !USE_WIN32
 if !TARGET_QUARTZ
 if GLU
 noinst_PROGRAMS += simple-pbuffer-sgix
@@ -167,13 +167,13 @@ endif
 endif
 endif
 
-if PLATFORM_WIN32
+if USE_WIN32
 noinst_PROGRAMS += wglinfo
 wglinfo_SOURCES = wglinfo.c
 wglinfo_LDADD = $(GL_LIBS) $(WINDOWING_LIBS)
 endif
 
-if !PLATFORM_WIN32
+if !USE_WIN32
 if !TARGET_QUARTZ
 if GLU
 noinst_PROGRAMS += glxinfo



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