-
-if test "x${USE_FREETYPE}" == "xtrue"; then
- if test "x{$FREETYPE_CONFIG}" != "x"; then
- ftinclude=`freetype-config --cflags`
- ftlibs=`freetype-config --libs`
- CXXFLAGS="$CXXFLAGS $ftinclude"
- CFLAGS="$CFLAGS $ftinclude"
- LIBS="$LIBS $ftlibs"
- else if test -d /usr/include/freetype2; then
- CXXFLAGS="$CXXFLAGS -I/usr/include/freetype2"
- CFLAGS="$CFLAGS -I/usr/include/freetype2"
- LIBS="$LIBS -lfreetype"
- else if test -d /usr/local/include/freetype2; then
- CXXFLAGS="$CXXFLAGS -I/usr/local/include/freetype2"
- CFLAGS="$CFLAGS -I/usr/local/include/freetype2"
- LIBS="$LIBS -L /usr/local/lib -lfreetype"
- fi
- fi
- fi
-fi