diff --git a/ChangeLog b/ChangeLog index f977d21..139ff24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ -2015-05-26: Sebastian Reitenbach +2015-06-05 Fred Kiefer + + * configure.ac: Fix configure for mingw + * configure: Regenerated + Patch by Marcian Lytwyn + +2015-05-26 Sebastian Reitenbach * Source/cairo/CairoGState.m abs -> fabs diff --git a/configure b/configure index c3a9669..17d1d2b 100755 --- a/configure +++ b/configure @@ -5752,7 +5752,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 7803278..1478358 100644 --- a/configure.ac +++ b/configure.ac @@ -409,7 +409,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])