common/autoconf/lib-freetype.m4
changeset 41040 7b919a4497ff
parent 35742 5f1361f764af
child 43046 717ce6d4eaa1
--- a/common/autoconf/lib-freetype.m4	Wed Sep 21 14:16:05 2016 +0200
+++ b/common/autoconf/lib-freetype.m4	Wed Sep 21 14:20:27 2016 +0200
@@ -358,11 +358,6 @@
           fi
 
           if test "x$FOUND_FREETYPE" != xyes; then
-            FREETYPE_BASE_DIR="$SYSROOT/usr/sfw"
-            LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib], [well-known location])
-          fi
-
-          if test "x$FOUND_FREETYPE" != xyes; then
             FREETYPE_BASE_DIR="$SYSROOT/usr"
             if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
               LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/x86_64-linux-gnu], [well-known location])