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])