fixed freetype-config check (again)
authorkramm <kramm>
Tue, 23 Nov 2004 17:58:23 +0000 (17:58 +0000)
committerkramm <kramm>
Tue, 23 Nov 2004 17:58:23 +0000 (17:58 +0000)
configure

index ccecc0d..3179d66 100755 (executable)
--- a/configure
+++ b/configure
@@ -10135,7 +10135,7 @@ fi
 OLDCPPFLAGS="${CPPFLAGS}"
 OLDLIBS="${LIBS}"
 if test "x${FREETYPE_CONFIG}" '!=' "x"; then
-    CPPFLAGS="$CPPFLAGS "`freetype-config --cflags`
+    CPPFLAGS="$CPPFLAGS "`$FREETYPE_CONFIG --cflags`
 else if test -d /usr/include/freetype2; then
     CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
 else if test -d /usr/local/include/freetype2; then
@@ -10533,7 +10533,7 @@ fi
 
 if test "x${HAVE_FREETYPE}" = "x1"; then
     if test "x${FREETYPE_CONFIG}" '!=' "x"; then
-       LIBS="$LIBS "`freetype-config --libs`
+       LIBS="$LIBS "`$FREETYPE_CONFIG --libs`
     else
        LIBS="$LIBS -lfreetype"
     fi