diff --git a/configure b/configure index e3ede76..dd6f029 100755 --- a/configure +++ b/configure @@ -77,14 +77,14 @@ if $feat_stb_image; then FLAGS="$FLAGS -Duse_stb_image" fi -if $feat_stb_image; then - FLAGS="$FLAGS -Duse_stb_image" -fi - if $feat_stb_truetype; then FLAGS="$FLAGS -Duse_stb_truetype" fi +if $feat_freetype2; then + FLAGS="$FLAGS -Duse_freetype2" +fi + if $feat_opengl; then FLAGS="$FLAGS -Dbuild_opengl" fi diff --git a/m4/toplevel/options.m4 b/m4/toplevel/options.m4 index 999f304..d411392 100644 --- a/m4/toplevel/options.m4 +++ b/m4/toplevel/options.m4 @@ -13,7 +13,6 @@ add_cflag([-Iexternal/libpng/include])dnl ])dnl dnl ifdef([use_stb_truetype],[add_cflag([-DUSE_STB_TRUETYPE])])dnl -dnl ifdef([use_freetype2],[add_cflag([-DUSE_FREETYPE2])dnl ifdef([cross_build],[],[add_cflag(esyscmd([pkg-config --cflags freetype2 | xargs printf '%s ']))dnl add_lib(esyscmd([pkg-config --libs freetype2 | xargs printf '%s ']))dnl