/[adonthell]/adonthell-0.3/configure.in
ViewVC logotype

Diff of /adonthell-0.3/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.93 by ksterker, Mon Oct 25 06:55:01 2004 UTC revision 1.94 by ksterker, Sat Apr 16 17:56:32 2005 UTC
# Line 15  AM_CONFIG_HEADER(config.h) Line 15  AM_CONFIG_HEADER(config.h)
15    
16  CFLAGS="-g -Wall -fno-exceptions"  CFLAGS="-g -Wall -fno-exceptions"
17  CPPFLAGS=""  CPPFLAGS=""
18  DEFS="-DSWIG_GLOBAL"  DEFS=""
19    
20  dnl ********************  dnl ********************
21  dnl Checks for programs.  dnl Checks for programs.
# Line 41  dnl ******************** Line 41  dnl ********************
41  AC_ARG_ENABLE(unix-install,  AC_ARG_ENABLE(unix-install,
42  [  --disable-unix-install Disable a Unix-like install (enabled by default)],  [  --disable-unix-install Disable a Unix-like install (enabled by default)],
43          unixinst=$enableval, unixinst=yes)          unixinst=$enableval, unixinst=yes)
 AC_ARG_ENABLE(tools,  
 [  --enable-tools         Build the Adonthell dev tools (disabled by default)],  
         tools=$enableval, tools=no)  
44  AC_ARG_ENABLE(memleaks,  AC_ARG_ENABLE(memleaks,
45  [  --enable-memleaks      Enable check for memory leaks (disabled by default)],  [  --enable-memleaks      Enable check for memory leaks (disabled by default)],
46          memleaks=$enableval, memleaks=no)          memleaks=$enableval, memleaks=no)
# Line 332  dnl ******************************** Line 329  dnl ********************************
329  dnl Check whether to build our tools  dnl Check whether to build our tools
330  dnl ********************************  dnl ********************************
331    
332  AC_MSG_CHECKING(whether to build the various editors)  AM_CONDITIONAL(BUILD_TOOLS, false)
 if test x$tools = xno; then  
         AC_MSG_RESULT(no)  
 else  
         AC_MSG_RESULT(yes)  
 fi  
   
 AM_CONDITIONAL(BUILD_TOOLS, test x$tools = xyes)  
333    
334  dnl ***************************  dnl ***************************
335  dnl For some tools we need GTK+  dnl For some tools we need GTK+
336  dnl ***************************  dnl ***************************
337    
338  if test x$tools = xyes; then  AM_CONDITIONAL(HAVE_GTK, false)
         AM_PATH_GTK(1.2.5, havegtk=yes, havegtk=no)  
   
         if test "$havegtk" = no; then  
                 AC_MSG_RESULT(disabling tools that need GTK+)  
         fi  
 fi  
   
 AM_CONDITIONAL(HAVE_GTK, test x$havegtk = xyes)  
339    
340  dnl ****************************************  dnl ****************************************
341  dnl Check whether to build the documentation  dnl Check whether to build the documentation
# Line 417  AC_SUBST(SDL_DEFS) Line 399  AC_SUBST(SDL_DEFS)
399  AC_SUBST(OGG_CFLAGS)  AC_SUBST(OGG_CFLAGS)
400  AC_SUBST(OGG_LIBS)  AC_SUBST(OGG_LIBS)
401  AC_SUBST(OGG_DEFS)  AC_SUBST(OGG_DEFS)
 AC_SUBST(GTK_CFLAGS)  
 AC_SUBST(GTK_LIBS)  
402  AC_SUBST(PY_CFLAGS)  AC_SUBST(PY_CFLAGS)
403  AC_SUBST(PY_LIBS)  AC_SUBST(PY_LIBS)
404  AC_SUBST(P_SWIG)  AC_SUBST(P_SWIG)
# Line 438  m4/Makefile Line 418  m4/Makefile
418  po/Makefile.in  po/Makefile.in
419  src/Makefile  src/Makefile
420  src/modules/Makefile  src/modules/Makefile
 src/tools/Makefile  
 src/tools/charedit/Makefile  
 src/tools/dlgedit/Makefile  
 src/tools/dlgedit/examples/Makefile  
421  ])  ])
422    
   
423  dnl ****************  dnl ****************
424  dnl Configure Status  dnl Configure Status
425  dnl ****************  dnl ****************
# Line 455  echo Line 430  echo
430  echo "SDL ....................... : `$SDL_CONFIG --version`"  echo "SDL ....................... : `$SDL_CONFIG --version`"
431  echo "Python .................... : $PY_VERSION"  echo "Python .................... : $PY_VERSION"
432  echo "Python debugging .......... : $pydebug"  echo "Python debugging .......... : $pydebug"
433  dnl echo "Freetype .................. : `freetype-config --version`"  echo "Freetype .................. : `freetype-config --version`"
434  if test x$haveswig = xyes; then  if test x$haveswig = xyes; then
435  echo "SWIG ...................... : $SWIG_VERSION"  echo "SWIG ...................... : $SWIG_VERSION"
436  fi  fi
 if test x$havegtk = xyes; then  
 echo "GTK+ ...................... : `gtk-config --version`"  
 fi  
437  echo "Ogg music ................. : $ogg_music"  echo "Ogg music ................. : $ogg_music"
 echo "Building editors .......... : $tools"  
438  echo "Building API doc .......... : $builddoc"  echo "Building API doc .......... : $builddoc"
439  if test x$memleaks = xyes; then  if test x$memleaks = xyes; then
440  echo "Test for Memory Leaks ..... : enabled"  echo "Test for Memory Leaks ..... : enabled"

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26