changeset 7993:80a715c4824d

aclocal.m4 (OCTAVE_OPENGL): Handle MinGW the same as MSVC
author Tatsuro MATSUOKA
date Tue, 29 Jul 2008 15:20:24 -0400
parents 80e3fe8938f2
children 8ccd9b0bf6bc
files ChangeLog aclocal.m4
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jul 29 18:21:47 2008 +0200
+++ b/ChangeLog	Tue Jul 29 15:20:24 2008 -0400
@@ -1,3 +1,7 @@
+2008-07-29  Tatsuro MATSUOKA  <tmacchant@yahoo.co.jp>
+
+	* aclocal.m4 (OCTAVE_OPENGL): Handle MinGW the same as MSVC.
+
 2008-07-29  David Bateman  <dbateman@free.fr>
 
 	* NEWS.3: Copy from NEWS.
--- a/aclocal.m4	Tue Jul 29 18:21:47 2008 +0200
+++ b/aclocal.m4	Tue Jul 29 15:20:24 2008 -0400
@@ -1061,7 +1061,7 @@
 AC_DEFUN([OCTAVE_OPENGL], [
 OPENGL_LIBS=
 case $canonical_host_type in
-  *-*-msdosmsvc)
+   *-*-mingw32* | *-*-msdosmsvc)
     AC_CHECK_HEADERS(windows.h)
     ;;
 esac
@@ -1081,7 +1081,7 @@
 ])
 if test "$have_opengl_incs" = "yes"; then
   case $canonical_host_type in
-    *-*-msdosmsvc)
+    *-*-mingw32* | *-*-msdosmsvc)
       save_LIBS="$LIBS"
       LIBS="$LIBS -lopengl32"
       AC_MSG_CHECKING([for glEnable in -lopengl32])