Fix configure for mingw update

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@38596 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2015-06-03 22:16:46 +00:00
parent 3e1df4d6ef
commit 6efb80b30b
2 changed files with 2 additions and 2 deletions

2
configure vendored
View file

@ -5689,7 +5689,7 @@ $as_echo_n "checking for wgl... " >&6; }
int
main ()
{
int main() { wglCreateContext(0); }
wglCreateContext(0);
;
return 0;
}

View file

@ -379,7 +379,7 @@ if test "x$enable_wgl" = "xyes"; then
save_libs="$LIBS"
LIBS="$WGL_LIBS"
AC_TRY_LINK([#include <windows.h>], [int main() { wglCreateContext(0); }],
AC_TRY_LINK([#include <windows.h>], [ wglCreateContext(0); ],
[use_wgl=yes], [use_wgl=no])
LIBS="$save_libs"
AC_MSG_RESULT([$use_wgl])