# HG changeset patch # User Tatsuro MATSUOKA # Date 1217359224 14400 # Node ID 80a715c4824d6ee1f76691e61c418a1e290b81f4 # Parent 80e3fe8938f2e9d0d26ba4e1c10cc2cc3f492cea aclocal.m4 (OCTAVE_OPENGL): Handle MinGW the same as MSVC diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-29 Tatsuro MATSUOKA + + * aclocal.m4 (OCTAVE_OPENGL): Handle MinGW the same as MSVC. + 2008-07-29 David Bateman * NEWS.3: Copy from NEWS. diff --git a/aclocal.m4 b/aclocal.m4 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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])