lwjgl/src/native/configure.in

52 lines
980 B
Plaintext
Raw Normal View History

# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
2002-11-28 17:40:06 -05:00
AC_PREREQ(2.57)
AC_INIT
AM_INIT_AUTOMAKE(LWJGL, 0.7)
AC_CONFIG_SRCDIR([autogen.sh])
2003-09-01 08:45:47 -04:00
AM_CONFIG_HEADER([config.h])
2002-11-28 17:40:06 -05:00
AC_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
2002-11-28 17:40:06 -05:00
# Checks for programs.
2002-11-28 17:40:06 -05:00
AC_PROG_CXX
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
2002-11-28 17:40:06 -05:00
# Checks for libraries.
2002-11-28 17:40:06 -05:00
# Checks for header files.
AC_PATH_X
AC_HEADER_STDC
2003-09-01 08:45:47 -04:00
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