forked from old/legacy-imlib2
parent
63aade9e18
commit
d0356b162f
|
@ -93,7 +93,8 @@ AC_MSG_ERROR([Fatal Error: no FreeType detected.])], -lm)
|
|||
AC_CHECK_HEADER(freetype.h, [ ftype=yes ], [ ftype=no ])
|
||||
AC_CHECK_HEADER(freetype/freetype.h, [ ftype_ftype=yes ], [ ftype_ftype=no ])
|
||||
|
||||
if test x$ftype = xno && test x$ftype_ftype = xno; then
|
||||
if test x$ftype = xno; then
|
||||
if test x$ftype_ftype = xno; then
|
||||
echo ""
|
||||
echo "ERROR: freetype.h not found in freetype.h or freetype/freetype.h include"
|
||||
echo "paths. (ie /usr/include, /usr/local/include etc.). You need the freetype"
|
||||
|
@ -112,6 +113,7 @@ echo "http://voyager.cns.ohiou.edu/~sadkins/web_library/fonts/font_archive/"
|
|||
echo ""
|
||||
AC_MSG_ERROR([Fatal Error: no FreeType header files detected.])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_OUTPUT(Makefile loaders/Makefile src/Makefile test/Makefile demo/Makefile,
|
||||
[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])
|
||||
|
|
Loading…
Reference in New Issue