version 1.58, 2002/01/10 14:33:20 |
version 1.61, 2002/03/21 10:54:37 |
| |
NEL_SUBDIRS="$NEL_SUBDIRS ai" | NEL_SUBDIRS="$NEL_SUBDIRS ai" |
fi | fi |
| |
| dnl Georges library |
| AC_ARG_ENABLE( georges, |
| [ --enable-georges enable compilation and install of NeL Georges.], |
| , enable_georges=no ) |
| |
| if test $enable_georges = "yes"; |
| then |
| AC_MSG_RESULT(enable NEL Georges.) |
| NEL_SUBDIRS="$NEL_SUBDIRS georges" |
| fi |
| |
AC_SUBST(enable_net) | AC_SUBST(enable_net) |
AC_SUBST(enable_3d) | AC_SUBST(enable_3d) |
AC_SUBST(enable_pacs) | AC_SUBST(enable_pacs) |
AC_SUBST(enable_sound) | AC_SUBST(enable_sound) |
AC_SUBST(enable_ai) | AC_SUBST(enable_ai) |
| AC_SUBST(enable_georges) |
| |
AC_SUBST(NEL_SUBDIRS) | AC_SUBST(NEL_SUBDIRS) |
| |
| |
| |
AM_NEL_DEBUG | AM_NEL_DEBUG |
| |
| AC_ARG_WITH([logging], |
| [ --without-logging be silent on stdout and in no log.log], |
| [ |
| if test "$with_logging" = "no" |
| then |
| AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) |
| AC_DEFINE(NEL_LOG_IN_FILE, 0) |
| else |
| AC_MSG_ERROR([--with-logging is the default: do not use this option]) |
| fi |
| ]) |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Checks for typedefs, structures, and compiler characteristics. | dnl Checks for typedefs, structures, and compiler characteristics. |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl OpenAL | dnl OpenAL |
| |
AM_PATH_OPENAL($enable_3d) | AM_PATH_OPENAL($enable_sound) |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
| |
| |
AM_PATH_XF86VIDMODE | AM_PATH_XF86VIDMODE |
| |
| dnl Arrange for the include directory to be in the search path even when |
| dnl build is done outside the source tree |
| CFLAGS="$CFLAGS -I\${top_srcdir}/include" |
| CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Checks for library functions. | dnl Checks for library functions. |
| |
dnl Output files to generate. | dnl Output files to generate. |
dnl ==================================================================== | dnl ==================================================================== |
| |
dnl What an ugly hack to try to get something cleanner ... i hope ... | |
AC_OUTPUT_COMMANDS( | |
[cd include/nel && ln -sfv ../nelconfig.h .] | |
) | |
| |
AC_OUTPUT( Makefile \ | AC_OUTPUT( Makefile \ |
include/Makefile \ | include/Makefile \ |
include/nel/Makefile \ | include/nel/Makefile \ |
| |
include/nel/ai/pyserver/Makefile \ | include/nel/ai/pyserver/Makefile \ |
include/nel/ai/script/Makefile \ | include/nel/ai/script/Makefile \ |
include/nel/ai/tools/Makefile \ | include/nel/ai/tools/Makefile \ |
| include/nel/georges/Makefile \ |
src/Makefile \ | src/Makefile \ |
src/misc/Makefile \ | src/misc/Makefile \ |
src/misc/config_file/Makefile \ | src/misc/config_file/Makefile \ |
| |
src/ai/pyserver/Makefile \ | src/ai/pyserver/Makefile \ |
src/ai/script/Makefile \ | src/ai/script/Makefile \ |
src/ai/tools/Makefile \ | src/ai/tools/Makefile \ |
| src/georges/Makefile \ |
nel-config \ | nel-config \ |
) | ) |
| |