blob: 9b0cd6c4a61a0fc34e020e1c4fd7e7e0711b8cbb [file] [log] [blame]
AC_INIT(ftgl, 2.0.5, henryj@paradise.net.nz)
AC_CONFIG_SRCDIR([Make.conf.in])
dnl AC_CONFIG_HEADER([src/config.h])
FTGL_PROG_CXX
AC_DISABLE_SHARED
AC_PROG_LIBTOOL
# Checks for typedefs, structures, and compiler characteristics.
dnl These don't mix with C++
dnl AC_C_CONST
dnl AC_C_INLINE
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADER([stdlib.h])
# Checks for libraries.
AC_PATH_X
AC_CHECK_FT2([9.0.3],[],
[AC_MSG_ERROR([FreeType2 is required to compile this library])])
AC_PATH_XTRA
FTGL_CHECK_GL
FTGL_CHECK_GLUT
# Checks for library functions
dnl This isn't really used at the moment
AC_CHECK_FUNCS([memset])
# Utility programs
AC_PROG_INSTALL
AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen])
if test -z "$DOXYGEN" ; then
DOXYGEN=:
fi
AC_CONFIG_FILES([Make.conf ftgl.pc])
AC_OUTPUT