mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 17:00:52 +00:00
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:
parent
3e1df4d6ef
commit
6efb80b30b
2 changed files with 2 additions and 2 deletions
2
configure
vendored
2
configure
vendored
|
@ -5689,7 +5689,7 @@ $as_echo_n "checking for wgl... " >&6; }
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
int main() { wglCreateContext(0); }
|
wglCreateContext(0);
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -379,7 +379,7 @@ if test "x$enable_wgl" = "xyes"; then
|
||||||
|
|
||||||
save_libs="$LIBS"
|
save_libs="$LIBS"
|
||||||
LIBS="$WGL_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])
|
[use_wgl=yes], [use_wgl=no])
|
||||||
LIBS="$save_libs"
|
LIBS="$save_libs"
|
||||||
AC_MSG_RESULT([$use_wgl])
|
AC_MSG_RESULT([$use_wgl])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue