From 6efb80b30baf35815a2c5eb06493a9b4b381cff3 Mon Sep 17 00:00:00 2001 From: Marcian Lytwyn Date: Wed, 3 Jun 2015 22:16:46 +0000 Subject: [PATCH] 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 --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a38f2e1..99acfc2 100755 --- a/configure +++ b/configure @@ -5689,7 +5689,7 @@ $as_echo_n "checking for wgl... " >&6; } int main () { -int main() { wglCreateContext(0); } + wglCreateContext(0); ; return 0; } diff --git a/configure.ac b/configure.ac index 1041fd8..5a343ba 100644 --- a/configure.ac +++ b/configure.ac @@ -379,7 +379,7 @@ if test "x$enable_wgl" = "xyes"; then save_libs="$LIBS" LIBS="$WGL_LIBS" - AC_TRY_LINK([#include ], [int main() { wglCreateContext(0); }], + AC_TRY_LINK([#include ], [ wglCreateContext(0); ], [use_wgl=yes], [use_wgl=no]) LIBS="$save_libs" AC_MSG_RESULT([$use_wgl])