7554d9 | 1998-10-31 | Mirar (Pontus Hagland) | | #
|
871449 | 1998-11-08 | Mirar (Pontus Hagland) | | # $Id: configure.in,v 1.3 1998/11/08 18:52:27 mirar Exp $
|
7554d9 | 1998-10-31 | Mirar (Pontus Hagland) | | #
AC_INIT(image_ttf.c)
AC_CONFIG_HEADER(config.h)
|
7b8c79 | 1998-11-01 | Per Hedbor | | AC_ARG_WITH(ttflib, [ --with(out)-ttflib Support TTF via ttf.lib (freetype) (Image.TTF)],[],[with_ttflib=yes])
|
7554d9 | 1998-10-31 | Mirar (Pontus Hagland) | |
|
7b8c79 | 1998-11-01 | Per Hedbor | | AC_MODULE_INIT()
|
7554d9 | 1998-10-31 | Mirar (Pontus Hagland) | |
if test x$with_ttflib = xyes ; then
AC_CHECK_HEADERS(freetype.h)
|
871449 | 1998-11-08 | Mirar (Pontus Hagland) | | AC_CHECK_HEADERS(ftxkern.h)
if test $ac_cv_header_freetype_h = yes -a \
$ac_cv_header_ftxkern_h = yes ; then
|
7554d9 | 1998-10-31 | Mirar (Pontus Hagland) | | AC_CHECK_LIB(ttf, Load_TrueType_Names, [
AC_DEFINE(HAVE_LIBTTF)
LIBS="${LIBS-} -lttf"
|
7b8c79 | 1998-11-01 | Per Hedbor | | ])
|
871449 | 1998-11-08 | Mirar (Pontus Hagland) | | elif test $ac_cv_header_freetype_h = yes -a \
$ac_cv_header_ftxkern_h = no ; then
AC_MSG_WARN(Detected freetype library (libttf), but too old version)
|
7554d9 | 1998-10-31 | Mirar (Pontus Hagland) | | fi
fi
AC_OUTPUT(Makefile,echo FOO >stamp-h )
|