diff -r 1c596d0f411c -r 7d8ad47b2dbf common/autoconf/libraries.m4 --- a/common/autoconf/libraries.m4 Sat Nov 03 16:15:26 2012 -0700 +++ b/common/autoconf/libraries.m4 Sat Nov 03 16:28:14 2012 -0700 @@ -393,7 +393,9 @@ # AC_CHECK_LIB does not support use of cl.exe PREV_LDFLAGS="$LDFLAGS" LDFLAGS="$FREETYPE2_LIBS" - AC_CHECK_LIB(freetype, FT_Init_FreeType, [], AC_MSG_ERROR([Could not find freetype2! $HELP_MSG ])) + AC_CHECK_LIB(freetype, FT_Init_FreeType, + FREETYPE2_FOUND=true, + AC_MSG_ERROR([Could not find freetype2! $HELP_MSG ])) LDFLAGS="$PREV_LDFLAGS" fi fi