version 1.68, 2002/04/16 16:00:31 |
version 1.71, 2002/05/13 15:44:57 |
| |
| |
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) |
| |
AM_CONFIG_HEADER(include/nelconfig.h) | AM_CONFIG_HEADER(include/nelconfig.h) |
| |
| dnl Get host type info |
| 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 |
| |
dnl The following hack should ensure that configure doesnt add optimizing | dnl The following hack should ensure that configure doesnt add optimizing |
dnl or debugging flags to CFLAGS or CXXFLAGS | dnl or debugging flags to CFLAGS or CXXFLAGS |
| |
dnl Checks for typedefs, structures, and compiler characteristics. | dnl Checks for typedefs, structures, and compiler characteristics. |
dnl ==================================================================== | dnl ==================================================================== |
| |
| dnl Test endianness |
| AC_C_BIGENDIAN |
| |
dnl Supress GCC "multi-character character constant" warnings. | dnl Supress GCC "multi-character character constant" warnings. |
if test "X$CC" = "Xgcc"; | if test "X$CC" = "Xgcc"; |
then | then |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl LibXML | dnl LibXML |
| |
dnl Use C++ compiler as a default for the compilation tests. | dnl Use C compiler as a default for the libxml tests. |
AC_LANG_C | AC_LANG_C |
| |
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.)) |
| |
dnl ==================================================================== | 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" | dnl Put the nelconfig.h define |
CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" | CFLAGS="$CFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" |
| CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
| |
src/ai/script/Makefile \ | src/ai/script/Makefile \ |
src/ai/tools/Makefile \ | src/ai/tools/Makefile \ |
src/georges/Makefile \ | src/georges/Makefile \ |
| tools/Makefile \ |
| tools/3d/Makefile \ |
| tools/3d/build_coarse_mesh/Makefile \ |
| tools/3d/build_far_bank/Makefile \ |
| tools/3d/build_smallbank/Makefile \ |
| tools/3d/ig_lighter/Makefile \ |
| tools/3d/ig_lighter_lib/Makefile \ |
| tools/3d/panoply_maker/Makefile \ |
| tools/3d/zone_dependencies/Makefile \ |
| tools/3d/zone_ig_lighter/Makefile \ |
| tools/3d/zone_lib/Makefile \ |
| tools/3d/zone_lighter/Makefile \ |
| tools/3d/zone_welder/Makefile \ |
nel-config \ | nel-config \ |
) | ) |
| |