-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
+if test "x${DISABLE_LAME}" = "xtrue"; then
+ echo "*" Disabling lame support...
+ lame_objects=
+else
+ AC_DEFINE_UNQUOTED(HAVE_LAME, 1)
+ lame_objects='$(lame_objects_2)'
+fi
+AC_SUBST(lame_objects)