/[adonthell]/wastesedge/configure.in
ViewVC logotype

Diff of /wastesedge/configure.in

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

revision 1.17 by ksterker, Fri Feb 6 18:29:15 2004 UTC revision 1.18 by ksterker, Mon Oct 25 07:06:27 2004 UTC
# Line 3  dnl Process this file with autoconf to p Line 3  dnl Process this file with autoconf to p
3  dnl **************************************************************  dnl **************************************************************
4    
5  AC_PREREQ(2.50)  AC_PREREQ(2.50)
6  AC_INIT(watesedge, 0.3.3, adonthell@linuxgames.com, wastesedge)  AC_INIT(watesedge, 0.3.4, adonthell-project@linuxgames.com, wastesedge)
7  AM_INIT_AUTOMAKE(wastesedge, 0.3.3)  AM_INIT_AUTOMAKE(wastesedge, 0.3.4)
8    
9  dnl ***************  dnl ***************
10  dnl gettext support  dnl gettext support
11  dnl ***************  dnl ***************
12    
 AC_MSG_CHECKING([whether NLS is requested])  
 dnl Default is enabled NLS  
 AC_ARG_ENABLE(nls,  
   [  --disable-nls           do not use Native Language Support],  
   USE_NLS=$enableval, USE_NLS=yes)  
 AC_MSG_RESULT($USE_NLS)  
 AC_SUBST(USE_NLS)  
   
13  AM_GNU_GETTEXT([external])  AM_GNU_GETTEXT([external])
 ALL_LINGUAS=""  
14    
15  dnl ********************  dnl ********************
16  dnl Additional arguments  dnl Additional arguments
# Line 46  fi Line 37  fi
37    
38  dnl Checking for the proper version  dnl Checking for the proper version
39  AC_MSG_CHECKING(for Adonthell's version)  AC_MSG_CHECKING(for Adonthell's version)
40  adonthellver=`$adonthell_binary -v`  $adonthell_binary -v &> adonthell.ver
41    
42    changequote(<<, >>)
43    adonthell_major_ver=`more adonthell.ver | sed 's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/p; d'`
44    adonthell_minor_ver=`more adonthell.ver | sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/p; d'`
45    adonthell_micro_ver=`more adonthell.ver | sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/p; d'`
46    changequote([, ])
47    
48    rm -f adonthell.ver
49    
50    adonthellver="$adonthell_major_ver.$adonthell_minor_ver.$adonthell_micro_ver"
51    
52  AC_MSG_RESULT($adonthellver)  AC_MSG_RESULT($adonthellver)
53  if test x$adonthellver != x0.3.3 ; then  
54     echo "*** This version of Waste's Edge requires Adonthell v0.3.3!"  if test $adonthell_major_ver -eq 0 -a $adonthell_minor_ver -eq 3 -a $adonthell_micro_ver -gt 2 ;
55    then
56        haveadonthell=yes
57    fi
58    
59    if test x$haveadonthell != xyes ; then
60       echo "*** This version of Waste's Edge requires Adonthell v0.3.3 or greater!"
61     exit 1     exit 1
62  fi  fi
63    
# Line 68  gamedatadir="${adonthelldatadir}/games/w Line 76  gamedatadir="${adonthelldatadir}/games/w
76  AC_SUBST(gamedatadir)  AC_SUBST(gamedatadir)
77  AC_SUBST(adonthell_binary)  AC_SUBST(adonthell_binary)
78    
79  AC_OUTPUT([ m4/Makefile  AC_OUTPUT([
80  wastesedge.spec  wastesedge.spec
81  Makefile  Makefile
82  audio/Makefile  audio/Makefile
# Line 116  gfx/window/scrollbar/silverleaf/Makefile Line 124  gfx/window/scrollbar/silverleaf/Makefile
124  gfx/window/scrollbar/Makefile  gfx/window/scrollbar/Makefile
125  gfx/window/Makefile  gfx/window/Makefile
126  gfx/Makefile  gfx/Makefile
127    m4/Makefile
128  maps/Makefile  maps/Makefile
129  pixmaps/Makefile  pixmaps/Makefile
130  po/Makefile.in  po/Makefile.in

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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