version 1.8, 2002/01/07 16:09:53 |
version 1.9, 2002/01/10 14:33:20 |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Configuration script for Snowballs 2 | dnl Configuration script for Snowballs 2 |
dnl ========================================================================== | dnl ==================================================================== |
dnl | dnl |
dnl $Id$ | dnl $Id$ |
dnl | dnl |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Process this file with autoconf to produce a configure script. | dnl Process this file with autoconf to produce a configure script. |
| dnl ==================================================================== |
| |
AC_INIT(client/src/client.cpp) | AC_INIT(client/src/client.cpp) |
| |
| |
CXXFLAGS="$CXXFLAGS " | CXXFLAGS="$CXXFLAGS " |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Checks Snowballs modules (Client / Server) to install / Disable | dnl Checks Snowballs modules (Client / Server) to install / Disable |
| dnl ==================================================================== |
| |
SNO_SUBDIRS="" | SNO_SUBDIRS="" |
| |
| |
AC_SUBST(SNO_SUBDIRS) | AC_SUBST(SNO_SUBDIRS) |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Checks for programs. | dnl Checks for programs. |
dnl ========================================================================== | dnl ==================================================================== |
| |
AC_PROG_MAKE_SET | AC_PROG_MAKE_SET |
| |
| |
AC_PROG_INSTALL | AC_PROG_INSTALL |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Configure Settings | dnl Configure Settings |
dnl ========================================================================== | dnl ==================================================================== |
| |
dnl Set the C++ compiler as the default compiler for the configure script | dnl Set the C++ compiler as the default compiler for the configure script |
dnl compilation tests | dnl compilation tests |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Debug/optimized compilation mode | dnl Debug/optimized compilation mode |
| dnl ==================================================================== |
| |
AM_NEL_DEBUG | AM_NEL_DEBUG |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Checks for typedefs, structures, and compiler characteristics. | dnl Checks for typedefs, structures, and compiler characteristics. |
dnl ========================================================================== | dnl ==================================================================== |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Checks for header files. | dnl Checks for header files. |
dnl ========================================================================== | dnl ==================================================================== |
| |
AC_STDC_HEADERS | AC_STDC_HEADERS |
AC_CHECK_HEADERS(fcntl.h unistd.h) | AC_CHECK_HEADERS(fcntl.h unistd.h) |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl X11 | dnl X11 |
| |
AC_PATH_X | AC_PATH_X |
| |
fi | fi |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Checks for libraries. | dnl Checks for libraries. |
dnl ========================================================================== | dnl ==================================================================== |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl STLPort | dnl STLPort |
| |
AM_PATH_STLPORT | AM_PATH_STLPORT |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl NeL | dnl NeL |
| |
AM_PATH_NEL("yes", "yes", $enable_client, $enable_client, $enable_client, "no") | AM_PATH_NEL("yes", "yes", $enable_client, $enable_client, $enable_client, "no") |
| |
LIBS="$LIBS ${NEL_LIBS}" | LIBS="$LIBS ${NEL_LIBS}" |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl FreeType 2 | dnl FreeType 2 |
| |
AM_PATH_FREETYPE($enable_client) | AM_PATH_FREETYPE($enable_client) |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Checks for library functions. | dnl Checks for library functions. |
dnl ========================================================================== | dnl ==================================================================== |
| |
| |
dnl ========================================================================== | dnl ==================================================================== |
dnl Output files to generate. | dnl Output files to generate. |
dnl ========================================================================== | dnl ==================================================================== |
| |
AC_OUTPUT( Makefile \ | AC_OUTPUT( Makefile \ |
client/Makefile \ | client/Makefile \ |