version 1.61, 2002/03/21 10:54:37 |
version 1.68, 2002/04/16 16:00:31 |
| |
| |
LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION | LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION |
| |
| AC_CANONICAL_HOST |
| if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ |
| -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ |
| -o "$host_cpu" = "i786" ; then |
| AC_DEFINE(HAVE_X86) |
| fi |
| AC_C_BIGENDIAN |
| |
AC_SUBST(VERSION) | AC_SUBST(VERSION) |
AC_SUBST(LIBTOOL_VERSION) | AC_SUBST(LIBTOOL_VERSION) |
| |
| |
| |
AC_PROG_INSTALL | AC_PROG_INSTALL |
| |
| AM_PATH_CCACHE |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Configure Settings | dnl Configure Settings |
| |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl OpenAL | |
| |
AM_PATH_OPENAL($enable_sound) | |
| |
| |
dnl ==================================================================== | |
dnl Python | dnl Python |
| |
AM_PATH_PYTHON(1.5,$enable_ai) | AM_PATH_PYTHON(1.5,$enable_ai) |
| |
| |
AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) | AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) |
| |
| CFLAGS="$CFLAGS $XML_CFLAGS" |
| CXXFLAGS="$CXXFLAGS $XML_CFLAGS" |
| |
| LIBS="$LIBS $XML_LIBS" |
| |
dnl Use C++ compiler as a default for the compilation tests. | dnl Use C++ compiler as a default for the compilation tests. |
AC_LANG_CPLUSPLUS | AC_LANG_CPLUSPLUS |
| |
| |
| |
AM_PATH_XF86VIDMODE | AM_PATH_XF86VIDMODE |
| |
| |
| dnl ==================================================================== |
| dnl OpenAL |
| |
| AM_PATH_OPENAL($enable_sound) |
| |
| |
| dnl ==================================================================== |
dnl Arrange for the include directory to be in the search path even when | dnl Arrange for the include directory to be in the search path even when |
dnl build is done outside the source tree | dnl build is done outside the source tree |
CFLAGS="$CFLAGS -I\${top_srcdir}/include" | CFLAGS="$CFLAGS -I\${top_srcdir}/include" |
CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" | CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Checks for library functions. | dnl Checks for library functions. |