version 1.11, 2002/03/19 17:42:48 |
version 1.13, 2002/04/10 07:33:07 |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl NeL | dnl NeL |
| |
dnl misc net 3d pacs sound ai | dnl misc net 3d pacs sound ai georges |
AM_PATH_NEL("yes", "yes", "no", "no", "no", "no") | AM_PATH_NEL("yes", "yes", "no", "no", "no", "no", "no") |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Checks for library functions. | dnl Checks for library functions. |
| |
dnl nelns configuration and logs file location | dnl nelns configuration and logs file location |
dnl ==================================================================== | dnl ==================================================================== |
| |
pkgsysconfdir='${sysconfdir}/nelns' | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| |
| AC_ARG_WITH(sysconfdir, |
| [ --with-sysconfdir[=DIR] |
| use DIR instead of the default sysconfdir/nelns], |
| [pkgsysconfdir=$withval], |
| [pkgsysconfdir='${sysconfdir}/nelns']) |
AC_SUBST(pkgsysconfdir) | AC_SUBST(pkgsysconfdir) |
| |
eval NELNS_STATE=\"$localstatedir/games/nelns/\" | eval eval NELNS_CONFIG=\"$pkgsysconfdir/\" |
| AC_DEFINE_UNQUOTED(NELNS_CONFIG, "$NELNS_CONFIG") |
| |
| AC_ARG_WITH(localstatedir, |
| [ --with-localstatedir[=DIR] |
| use DIR instead of the default localstatedir/game/nelns], |
| [pkglocalstatedir=$withval], |
| [pkglocalstatedir=${localstatedir}/game/nelns]) |
| AC_SUBST(pkglocalstatedir) |
| |
| eval eval NELNS_STATE=\"$pkglocalstatedir/\" |
AC_DEFINE_UNQUOTED(NELNS_STATE, "$NELNS_STATE") | AC_DEFINE_UNQUOTED(NELNS_STATE, "$NELNS_STATE") |
| |
eval NELNS_CONFIG=\"$sysconfdir/nelns/\" | AC_ARG_WITH(logdir, |
AC_DEFINE_UNQUOTED(NELNS_CONFIG, "$NELNS_CONFIG") | [ --with-logdir[=DIR] |
| use DIR instead of the default localstatedir/log/nelns], |
| [logdir=$withval], |
| [logdir='${localstatedir}/log/nelns']) |
| AC_SUBST(logdir) |
| |
eval NELNS_LOGS=\"$localstatedir/log/nelns/\" | eval eval NELNS_LOGS=\"$logdir/\" |
AC_DEFINE_UNQUOTED(NELNS_LOGS, "$NELNS_LOGS") | AC_DEFINE_UNQUOTED(NELNS_LOGS, "$NELNS_LOGS") |
| |
dnl ==================================================================== | dnl ==================================================================== |