# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT AM_INIT_AUTOMAKE(LWJGL, 0.7) AC_CONFIG_SRCDIR([autogen.sh]) AM_CONFIG_HEADER([config.h]) AC_DISABLE_STATIC AC_LIBTOOL_DLOPEN # Checks for programs. AC_PROG_CXX AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_LIBTOOL # Checks for libraries. # Checks for header files. AC_PATH_X AC_HEADER_STDC AC_JNI_INCLUDE_DIR for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS do CPPFLAGS="$CPPFLAGS -I$JNI_INCLUDE_DIR" done AC_CHECK_HEADER([stddef.h stdlib.h string.h sys/time.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST AC_C_INLINE AC_HEADER_TIME # Checks for library functions. AC_FUNC_MALLOC AC_CHECK_FUNCS([gettimeofday memset strchr strstr]) AC_CONFIG_FILES([Makefile common/Makefile linux/Makefile]) AC_OUTPUT