tForce datadir to always be "." on Win32 systems (with autoconf 2.53, relative paths cannot be manually specified anyway). - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7c4dfbe9b9d57855b4ea64dc5c6cd41d60cf3cc2
 (DIR) parent 4c775604d14d077af53ac81e531dd1f49d33a826
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Sat, 19 Oct 2002 20:38:18 +0000
       
       Force datadir to always be "." on Win32 systems (with autoconf 2.53, relative
       paths cannot be manually specified anyway).
       
       
       Diffstat:
         M INSTALL                             |      18 ++++++++----------
         M configure.in                        |       3 +++
         M doc/windows.html                    |       7 ++-----
       
       3 files changed, 13 insertions(+), 15 deletions(-)
       ---
 (DIR) diff --git a/INSTALL b/INSTALL
       t@@ -80,27 +80,25 @@ test can be overridden (if, for example, you wanted to build the Unix version
        under Cygwin) with the --enable-nativewin32 option to configure e.g.
        
        to build the Win32 binary under Cygwin
       -        ./configure --datadir="."
       +        ./configure
                (Cygwin should be automatically detected)
        or
       -        ./configure --enable-nativewin32 --datadir="."
       +        ./configure --enable-nativewin32
        
        to build the Unix version under Cygwin
                ./configure --disable-nativewin32
        
       -(The --datadir="." forces the high score file to be placed in the current
       -directory, which is rather more useful on a Windows system than the default
       -location - see below.)
       -
        For a smaller binary, you may wish to build a "stripped" binary by specifying
        the -s option in LDFLAGS. In a Bourne-compatible shell, this can be achieved
        with a command similar to the following:-
                LDFLAGS="-s" ./configure
        
       -The dopewars high score file is written as /usr/local/share/dopewars.sco by
       -default. It can be placed into an alternative location by specifying the
       ---datadir flag to configure. The dopewars binary can also be moved from
       -/usr/local/bin/dopewars with the --bindir flag. For example:-
       +The dopewars high score file is written as /usr/local/share/dopewars.sco on
       +Unix systems or ./dopewars.sco on Win32 systems by default. On Unix systems,
       +it can be placed into an alternative location by specifying the --datadir
       +flag to configure. (On Win32 systems, the --datadir flag is ignored.)
       +The dopewars binary can also be moved from /usr/local/bin/dopewars with
       +the --bindir flag. For example:-
        
                ./configure --bindir=/usr/bin --datadir=/var/games/dopewars
        will configure the system to write the dopewars binary as /usr/bin/dopewars
 (DIR) diff --git a/configure.in b/configure.in
       t@@ -101,6 +101,9 @@ if test "$CYGWIN" = "yes" ; then
           if test "$GUI_SERVER" = "probe"; then
             GUI_SERVER="yes"
           fi
       +
       +   dnl Read high score files, docs and locale files from current directory
       +   datadir="."
        else
           AC_MSG_RESULT([Configuring for Unix binary])
        
 (DIR) diff --git a/doc/windows.html b/doc/windows.html
       t@@ -40,17 +40,14 @@ configuration files do not translate well to Windows, by default the program
        will look for both the high score file <b>dopewars.sco</b> in the current
        directory, and will read a global configuration file <b>dopewars-config.txt</b>
        from the directory in which the dopewars binary was installed, followed by
       -a per-user configuration file of the same name in the working directory.
       -(If you build the program from source code by hand, you'll need to use
       ---datadir="." as an option to configure in order to get this behaviour for
       -the high score file.)</p>
       +a per-user configuration file of the same name in the working directory.</p>
        
        <hr />
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
        <p>
       -  Last update: <b>15-07-2002</b><br />
       +  Last update: <b>19-10-2002</b><br />
          Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
        </p>
        </body>