< prev index next >

make/autoconf/lib-freetype.m4

Print this page
rev 59189 : imported patch build
rev 59190 : [mq]: build-01

@@ -83,15 +83,15 @@
   AC_ARG_WITH(freetype-lib, [AS_HELP_STRING([--with-freetype-lib],
       [specify directory for the freetype library])])
 
   # This setup is to verify access to system installed freetype header and
   # libraries. On Windows and MacOS this does not apply and using these options
-  # will report an error. On other platforms (Linux), they will
-  # default to using the system libraries. If they are found automatically,
-  # nothing need be done. If they are not found, the configure
-  # "--with-freetype-*" options may be used to fix that. If the preference is
-  # to bundle on these platforms then use --with-freetype=bundled.
+  # will report an error. On other platforms they will default to using the
+  # system libraries. If they are found automatically, nothing need be done.
+  # If they are not found, the configure "--with-freetype-*" options may be
+  # used to fix that. If the preference is to bundle on these platforms then
+  # use --with-freetype=bundled.
 
   FREETYPE_BASE_NAME=freetype
   FREETYPE_CFLAGS=
   FREETYPE_LIBS=
 

@@ -158,13 +158,10 @@
           # Check modules using pkg-config, but only if we have it (ugly output
           # results otherwise)
           if test "x$PKG_CONFIG" != "x" ; then
             PKG_CHECK_MODULES(FREETYPE, freetype2, [FOUND_FREETYPE=yes], [FOUND_FREETYPE=no])
             if test "x$FOUND_FREETYPE" = "xyes" ; then
-              # On solaris, pkg_check adds -lz to freetype libs, which isn't
-              # necessary for us.
-              FREETYPE_LIBS=`$ECHO $FREETYPE_LIBS | $SED 's/-lz//g'`
               AC_MSG_CHECKING([for freetype])
               AC_MSG_RESULT([yes (using pkg-config)])
             fi
           fi
         fi
< prev index next >