common/autoconf/libraries.m4
changeset 14280 7d8ad47b2dbf
parent 14111 2a82ecb35fc7
child 14459 6213b3f9e08d
--- 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