Freetype2-devel in nonstandard directory
Michael Franz
mvfranz at gmail.com
Thu Feb 7 05:11:28 PST 2008
Hi,
I am trying to get icedtea-1.5 to compile on OS X, however the configure
script fails since it can not find the freetype2 headers. Macports does not
differentiate between Freetype2 and freetype2-devel - it installs the devel.
In acinclude.m4 this line works for the library:
AC_CHECK_LIB(freetype, FT_Init_FreeType, [], [AC_MSG_ERROR("Freetype not
found - try installing freetype-devel")])
But the header check is hardcoded to a : /opt/local/include/freetype2
I tried to replace this with :
AC_CHECK_HEADERS([freetype/freetype.h],[],[AC_MSG_ERROR("Freetype headers
not found - try installing freetype-devel")])
This results in:
checking freetype/freetype.h usability... no
checking freetype/freetype.h presence... no
Being new to autoconf/automake and pkg-config, is it possible to use
pkg-config for this check instead? pkg-config knows where freetype 2 is
installed.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20080207/9e2b6739/attachment.html
More information about the distro-pkg-dev
mailing list