1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
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