[BACK] Return to configure.in CVS log [TXT][DIR] Up to Nevrax / code / nel

Diff for /code/nel/configure.in between version 1.58 and 1.69

version 1.58, 2002/01/10 14:33:20 version 1.69, 2002/04/17 07:23:45
Line 30 
Line 30 
  
 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)
  
Line 107 
Line 115 
    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)
  
Line 134 
Line 154 
  
 AC_PROG_INSTALL AC_PROG_INSTALL
  
  AM_PATH_CCACHE
  
  
 dnl ==================================================================== dnl ====================================================================
 dnl Configure Settings dnl Configure Settings
Line 152 
Line 174 
  
 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.
Line 210 
Line 244 
  
  
 dnl ==================================================================== dnl ====================================================================
 dnl OpenAL 
  
 AM_PATH_OPENAL($enable_3d) 
  
  
 dnl ==================================================================== 
 dnl Python dnl Python
  
 AM_PATH_PYTHON(1.5,$enable_ai) AM_PATH_PYTHON(1.5,$enable_ai)
Line 229 
Line 257 
  
 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.))
  
  CFLAGS="$CFLAGS $XML_CFLAGS"
  CXXFLAGS="$CXXFLAGS $XML_CFLAGS"
  
  LIBS="$LIBS $XML_LIBS"
  
 dnl Use C++ compiler as a default for the compilation tests. dnl Use C++ compiler as a default for the compilation tests.
 AC_LANG_CPLUSPLUS AC_LANG_CPLUSPLUS
  
Line 256 
Line 289 
  
  
 dnl ==================================================================== dnl ====================================================================
  dnl OpenAL
  
  AM_PATH_OPENAL($enable_sound)
  
  
  dnl ====================================================================
  dnl Arrange for the include directory to be in the search path even when
  dnl build is done outside the source tree
  dnl Put the nelconfig.h define
  CFLAGS="$CFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H"
  CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H"
  
  
  dnl ====================================================================
 dnl Checks for library functions. dnl Checks for library functions.
 dnl ==================================================================== dnl ====================================================================
  
Line 264 
Line 311 
 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              \
Line 288 
Line 330 
            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     \
Line 309 
Line 352 
            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                        \
 ) )
  


Legend:
Removed from v.1.58 
changed lines
 Added in v.1.69