version 1.10, 2002/01/10 14:33:20 |
version 1.11, 2002/03/19 17:42:48 |
| |
dnl Checks for typedefs, structures, and compiler characteristics. | dnl Checks for typedefs, structures, and compiler characteristics. |
dnl ==================================================================== | dnl ==================================================================== |
| |
AC_C_CONST | |
| |
dnl Add the define _REENTRANT for a correct use of the threads | dnl Add the define _REENTRANT for a correct use of the threads |
if test "X$CC" = "Xgcc"; | if test "X$CC" = "Xgcc"; |
then | then |
| |
dnl Checks for libraries. | dnl Checks for libraries. |
dnl ==================================================================== | dnl ==================================================================== |
| |
| AC_CHECK_LIB(crypt, crypt) |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl STLPort | dnl STLPort |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl NeL | dnl NeL |
| |
| dnl misc net 3d pacs sound ai |
AM_PATH_NEL("yes", "yes", "no", "no", "no", "no") | AM_PATH_NEL("yes", "yes", "no", "no", "no", "no") |
| |
CXXFLAGS="$CXXFLAGS ${NEL_CFLAGS}" | |
LIBS="$LIBS ${NEL_LIBS}" | |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Checks for library functions. | dnl Checks for library functions. |
dnl ==================================================================== | dnl ==================================================================== |
| |
| dnl ==================================================================== |
| dnl nelns configuration and logs file location |
| dnl ==================================================================== |
| |
| pkgsysconfdir='${sysconfdir}/nelns' |
| AC_SUBST(pkgsysconfdir) |
| |
| eval NELNS_STATE=\"$localstatedir/games/nelns/\" |
| AC_DEFINE_UNQUOTED(NELNS_STATE, "$NELNS_STATE") |
| |
| eval NELNS_CONFIG=\"$sysconfdir/nelns/\" |
| AC_DEFINE_UNQUOTED(NELNS_CONFIG, "$NELNS_CONFIG") |
| |
| eval NELNS_LOGS=\"$localstatedir/log/nelns/\" |
| AC_DEFINE_UNQUOTED(NELNS_LOGS, "$NELNS_LOGS") |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Output files to generate. | dnl Output files to generate. |