tMakefiles/configure scripts tidied up - 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 77a97be1b15b3b2fdb5a30974df4f52db6561b98
 (DIR) parent 1851f80b330dbc0e2c3c61e8c20eaf136236915e
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Mon, 30 Apr 2001 03:26:16 +0000
       
       Makefiles/configure scripts tidied up
       
       
       Diffstat:
         M configure                           |     406 ++++++++++++++++---------------
         M configure.in                        |      13 ++-----------
         M src/Makefile.am                     |       6 ------
         M src/Makefile.in                     |       7 +------
       
       4 files changed, 213 insertions(+), 219 deletions(-)
       ---
 (DIR) diff --git a/configure b/configure
       t@@ -1093,10 +1093,37 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
        
        test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
        
       +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
       +echo "configure:1098: checking whether ${MAKE-make} sets \${MAKE}" >&5
       +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
       +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
       +  echo $ac_n "(cached) $ac_c" 1>&6
       +else
       +  cat > conftestmake <<\EOF
       +all:
       +        @echo 'ac_maketemp="${MAKE}"'
       +EOF
       +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
       +eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
       +if test -n "$ac_maketemp"; then
       +  eval ac_cv_prog_make_${ac_make}_set=yes
       +else
       +  eval ac_cv_prog_make_${ac_make}_set=no
       +fi
       +rm -f conftestmake
       +fi
       +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
       +  echo "$ac_t""yes" 1>&6
       +  SET_MAKE=
       +else
       +  echo "$ac_t""no" 1>&6
       +  SET_MAKE="MAKE=${MAKE-make}"
       +fi
       +
        
        ALL_LINGUAS="de pl pt_BR"
        echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
       -echo "configure:1100: checking how to run the C preprocessor" >&5
       +echo "configure:1127: checking how to run the C preprocessor" >&5
        # On Suns, sometimes $CPP names a directory.
        if test -n "$CPP" && test -d "$CPP"; then
          CPP=
       t@@ -1111,13 +1138,13 @@ else
          # On the NeXT, cc -E runs the code through the compiler's parser,
          # not just through cpp.
          cat > conftest.$ac_ext <<EOF
       -#line 1115 "configure"
       +#line 1142 "configure"
        #include "confdefs.h"
        #include <assert.h>
        Syntax Error
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:1148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          :
       t@@ -1128,13 +1155,13 @@ else
          rm -rf conftest*
          CPP="${CC-cc} -E -traditional-cpp"
          cat > conftest.$ac_ext <<EOF
       -#line 1132 "configure"
       +#line 1159 "configure"
        #include "confdefs.h"
        #include <assert.h>
        Syntax Error
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:1165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          :
       t@@ -1145,13 +1172,13 @@ else
          rm -rf conftest*
          CPP="${CC-cc} -nologo -E"
          cat > conftest.$ac_ext <<EOF
       -#line 1149 "configure"
       +#line 1176 "configure"
        #include "confdefs.h"
        #include <assert.h>
        Syntax Error
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:1182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          :
       t@@ -1178,7 +1205,7 @@ echo "$ac_t""$CPP" 1>&6
        # Extract the first word of "ranlib", so it can be a program name with args.
        set dummy ranlib; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:1182: checking for $ac_word" >&5
       +echo "configure:1209: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -1206,7 +1233,7 @@ else
        fi
        
        echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
       -echo "configure:1210: checking for POSIXized ISC" >&5
       +echo "configure:1237: checking for POSIXized ISC" >&5
        if test -d /etc/conf/kconfig.d &&
          grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
        then
       t@@ -1227,12 +1254,12 @@ else
        fi
        
        echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
       -echo "configure:1231: checking for ANSI C header files" >&5
       +echo "configure:1258: checking for ANSI C header files" >&5
        if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1236 "configure"
       +#line 1263 "configure"
        #include "confdefs.h"
        #include <stdlib.h>
        #include <stdarg.h>
       t@@ -1240,7 +1267,7 @@ else
        #include <float.h>
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          rm -rf conftest*
       t@@ -1257,7 +1284,7 @@ rm -f conftest*
        if test $ac_cv_header_stdc = yes; then
          # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        cat > conftest.$ac_ext <<EOF
       -#line 1261 "configure"
       +#line 1288 "configure"
        #include "confdefs.h"
        #include <string.h>
        EOF
       t@@ -1275,7 +1302,7 @@ fi
        if test $ac_cv_header_stdc = yes; then
          # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        cat > conftest.$ac_ext <<EOF
       -#line 1279 "configure"
       +#line 1306 "configure"
        #include "confdefs.h"
        #include <stdlib.h>
        EOF
       t@@ -1296,7 +1323,7 @@ if test "$cross_compiling" = yes; then
          :
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1300 "configure"
       +#line 1327 "configure"
        #include "confdefs.h"
        #include <ctype.h>
        #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
       t@@ -1307,7 +1334,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
        exit (0); }
        
        EOF
       -if { (eval echo configure:1311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:1338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          :
        else
       t@@ -1331,12 +1358,12 @@ EOF
        fi
        
        echo $ac_n "checking for working const""... $ac_c" 1>&6
       -echo "configure:1335: checking for working const" >&5
       +echo "configure:1362: checking for working const" >&5
        if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1340 "configure"
       +#line 1367 "configure"
        #include "confdefs.h"
        
        int main() {
       t@@ -1385,7 +1412,7 @@ ccp = (char const *const *) p;
        
        ; return 0; }
        EOF
       -if { (eval echo configure:1389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       +if { (eval echo configure:1416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
          rm -rf conftest*
          ac_cv_c_const=yes
        else
       t@@ -1406,21 +1433,21 @@ EOF
        fi
        
        echo $ac_n "checking for inline""... $ac_c" 1>&6
       -echo "configure:1410: checking for inline" >&5
       +echo "configure:1437: checking for inline" >&5
        if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          ac_cv_c_inline=no
        for ac_kw in inline __inline__ __inline; do
          cat > conftest.$ac_ext <<EOF
       -#line 1417 "configure"
       +#line 1444 "configure"
        #include "confdefs.h"
        
        int main() {
        } $ac_kw foo() {
        ; return 0; }
        EOF
       -if { (eval echo configure:1424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       +if { (eval echo configure:1451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
          rm -rf conftest*
          ac_cv_c_inline=$ac_kw; break
        else
       t@@ -1446,12 +1473,12 @@ EOF
        esac
        
        echo $ac_n "checking for off_t""... $ac_c" 1>&6
       -echo "configure:1450: checking for off_t" >&5
       +echo "configure:1477: checking for off_t" >&5
        if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1455 "configure"
       +#line 1482 "configure"
        #include "confdefs.h"
        #include <sys/types.h>
        #if STDC_HEADERS
       t@@ -1479,12 +1506,12 @@ EOF
        fi
        
        echo $ac_n "checking for size_t""... $ac_c" 1>&6
       -echo "configure:1483: checking for size_t" >&5
       +echo "configure:1510: checking for size_t" >&5
        if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1488 "configure"
       +#line 1515 "configure"
        #include "confdefs.h"
        #include <sys/types.h>
        #if STDC_HEADERS
       t@@ -1514,19 +1541,19 @@ fi
        # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
        # for constant arguments.  Useless!
        echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
       -echo "configure:1518: checking for working alloca.h" >&5
       +echo "configure:1545: checking for working alloca.h" >&5
        if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1523 "configure"
       +#line 1550 "configure"
        #include "confdefs.h"
        #include <alloca.h>
        int main() {
        char *p = alloca(2 * sizeof(int));
        ; return 0; }
        EOF
       -if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:1557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          ac_cv_header_alloca_h=yes
        else
       t@@ -1547,12 +1574,12 @@ EOF
        fi
        
        echo $ac_n "checking for alloca""... $ac_c" 1>&6
       -echo "configure:1551: checking for alloca" >&5
       +echo "configure:1578: checking for alloca" >&5
        if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1556 "configure"
       +#line 1583 "configure"
        #include "confdefs.h"
        
        #ifdef __GNUC__
       t@@ -1580,7 +1607,7 @@ int main() {
        char *p = (char *) alloca(1);
        ; return 0; }
        EOF
       -if { (eval echo configure:1584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          ac_cv_func_alloca_works=yes
        else
       t@@ -1612,12 +1639,12 @@ EOF
        
        
        echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
       -echo "configure:1616: checking whether alloca needs Cray hooks" >&5
       +echo "configure:1643: checking whether alloca needs Cray hooks" >&5
        if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1621 "configure"
       +#line 1648 "configure"
        #include "confdefs.h"
        #if defined(CRAY) && ! defined(CRAY2)
        webecray
       t@@ -1642,12 +1669,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
        if test $ac_cv_os_cray = yes; then
        for ac_func in _getb67 GETB67 getb67; do
          echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:1646: checking for $ac_func" >&5
       +echo "configure:1673: checking for $ac_func" >&5
        if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1651 "configure"
       +#line 1678 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char $ac_func(); below.  */
       t@@ -1670,7 +1697,7 @@ $ac_func();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:1674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:1701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_$ac_func=yes"
        else
       t@@ -1697,7 +1724,7 @@ done
        fi
        
        echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
       -echo "configure:1701: checking stack direction for C alloca" >&5
       +echo "configure:1728: checking stack direction for C alloca" >&5
        if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -1705,7 +1732,7 @@ else
          ac_cv_c_stack_direction=0
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1709 "configure"
       +#line 1736 "configure"
        #include "confdefs.h"
        find_stack_direction ()
        {
       t@@ -1724,7 +1751,7 @@ main ()
          exit (find_stack_direction() < 0);
        }
        EOF
       -if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:1755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          ac_cv_c_stack_direction=1
        else
       t@@ -1749,17 +1776,17 @@ for ac_hdr in unistd.h
        do
        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
       -echo "configure:1753: checking for $ac_hdr" >&5
       +echo "configure:1780: checking for $ac_hdr" >&5
        if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1758 "configure"
       +#line 1785 "configure"
        #include "confdefs.h"
        #include <$ac_hdr>
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:1763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          rm -rf conftest*
       t@@ -1788,12 +1815,12 @@ done
        for ac_func in getpagesize
        do
        echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:1792: checking for $ac_func" >&5
       +echo "configure:1819: checking for $ac_func" >&5
        if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1797 "configure"
       +#line 1824 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char $ac_func(); below.  */
       t@@ -1816,7 +1843,7 @@ $ac_func();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:1820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_$ac_func=yes"
        else
       t@@ -1841,7 +1868,7 @@ fi
        done
        
        echo $ac_n "checking for working mmap""... $ac_c" 1>&6
       -echo "configure:1845: checking for working mmap" >&5
       +echo "configure:1872: checking for working mmap" >&5
        if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -1849,7 +1876,7 @@ else
          ac_cv_func_mmap_fixed_mapped=no
        else
          cat > conftest.$ac_ext <<EOF
       -#line 1853 "configure"
       +#line 1880 "configure"
        #include "confdefs.h"
        
        /* Thanks to Mike Haertel and Jim Avera for this test.
       t@@ -1989,7 +2016,7 @@ main()
        }
        
        EOF
       -if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          ac_cv_func_mmap_fixed_mapped=yes
        else
       t@@ -2017,17 +2044,17 @@ unistd.h sys/param.h
        do
        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
       -echo "configure:2021: checking for $ac_hdr" >&5
       +echo "configure:2048: checking for $ac_hdr" >&5
        if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 2026 "configure"
       +#line 2053 "configure"
        #include "confdefs.h"
        #include <$ac_hdr>
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:2031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          rm -rf conftest*
       t@@ -2057,12 +2084,12 @@ done
        strdup __argz_count __argz_stringify __argz_next
        do
        echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:2061: checking for $ac_func" >&5
       +echo "configure:2088: checking for $ac_func" >&5
        if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 2066 "configure"
       +#line 2093 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char $ac_func(); below.  */
       t@@ -2085,7 +2112,7 @@ $ac_func();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:2089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_$ac_func=yes"
        else
       t@@ -2114,12 +2141,12 @@ done
             for ac_func in stpcpy
        do
        echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:2118: checking for $ac_func" >&5
       +echo "configure:2145: checking for $ac_func" >&5
        if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 2123 "configure"
       +#line 2150 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char $ac_func(); below.  */
       t@@ -2142,7 +2169,7 @@ $ac_func();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:2146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_$ac_func=yes"
        else
       t@@ -2176,19 +2203,19 @@ EOF
        
           if test $ac_cv_header_locale_h = yes; then
            echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
       -echo "configure:2180: checking for LC_MESSAGES" >&5
       +echo "configure:2207: checking for LC_MESSAGES" >&5
        if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 2185 "configure"
       +#line 2212 "configure"
        #include "confdefs.h"
        #include <locale.h>
        int main() {
        return LC_MESSAGES
        ; return 0; }
        EOF
       -if { (eval echo configure:2192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          am_cv_val_LC_MESSAGES=yes
        else
       t@@ -2209,7 +2236,7 @@ EOF
            fi
          fi
           echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
       -echo "configure:2213: checking whether NLS is requested" >&5
       +echo "configure:2240: checking whether NLS is requested" >&5
                # Check whether --enable-nls or --disable-nls was given.
        if test "${enable_nls+set}" = set; then
          enableval="$enable_nls"
       t@@ -2229,7 +2256,7 @@ fi
        EOF
        
              echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
       -echo "configure:2233: checking whether included gettext is requested" >&5
       +echo "configure:2260: checking whether included gettext is requested" >&5
              # Check whether --with-included-gettext or --without-included-gettext was given.
        if test "${with_included_gettext+set}" = set; then
          withval="$with_included_gettext"
       t@@ -2248,17 +2275,17 @@ fi
        
                ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
        echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
       -echo "configure:2252: checking for libintl.h" >&5
       +echo "configure:2279: checking for libintl.h" >&5
        if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 2257 "configure"
       +#line 2284 "configure"
        #include "confdefs.h"
        #include <libintl.h>
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:2262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:2289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          rm -rf conftest*
       t@@ -2275,19 +2302,19 @@ fi
        if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
          echo "$ac_t""yes" 1>&6
          echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
       -echo "configure:2279: checking for gettext in libc" >&5
       +echo "configure:2306: checking for gettext in libc" >&5
        if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 2284 "configure"
       +#line 2311 "configure"
        #include "confdefs.h"
        #include <libintl.h>
        int main() {
        return (int) gettext ("")
        ; return 0; }
        EOF
       -if { (eval echo configure:2291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          gt_cv_func_gettext_libc=yes
        else
       t@@ -2303,7 +2330,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
        
                   if test "$gt_cv_func_gettext_libc" != "yes"; then
                     echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
       -echo "configure:2307: checking for bindtextdomain in -lintl" >&5
       +echo "configure:2334: checking for bindtextdomain in -lintl" >&5
        ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
        if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
       t@@ -2311,7 +2338,7 @@ else
          ac_save_LIBS="$LIBS"
        LIBS="-lintl  $LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 2315 "configure"
       +#line 2342 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -2322,7 +2349,7 @@ int main() {
        bindtextdomain()
        ; return 0; }
        EOF
       -if { (eval echo configure:2326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_lib_$ac_lib_var=yes"
        else
       t@@ -2338,12 +2365,12 @@ fi
        if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
          echo "$ac_t""yes" 1>&6
          echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
       -echo "configure:2342: checking for gettext in libintl" >&5
       +echo "configure:2369: checking for gettext in libintl" >&5
        if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
       -echo "configure:2347: checking for gettext in -lintl" >&5
       +echo "configure:2374: checking for gettext in -lintl" >&5
        ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
        if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
       t@@ -2351,7 +2378,7 @@ else
          ac_save_LIBS="$LIBS"
        LIBS="-lintl  $LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 2355 "configure"
       +#line 2382 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -2362,7 +2389,7 @@ int main() {
        gettext()
        ; return 0; }
        EOF
       -if { (eval echo configure:2366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_lib_$ac_lib_var=yes"
        else
       t@@ -2401,7 +2428,7 @@ EOF
                      # Extract the first word of "msgfmt", so it can be a program name with args.
        set dummy msgfmt; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2405: checking for $ac_word" >&5
       +echo "configure:2432: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2435,12 +2462,12 @@ fi
                        for ac_func in dcgettext
        do
        echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:2439: checking for $ac_func" >&5
       +echo "configure:2466: checking for $ac_func" >&5
        if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 2444 "configure"
       +#line 2471 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char $ac_func(); below.  */
       t@@ -2463,7 +2490,7 @@ $ac_func();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:2467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_$ac_func=yes"
        else
       t@@ -2490,7 +2517,7 @@ done
                        # Extract the first word of "gmsgfmt", so it can be a program name with args.
        set dummy gmsgfmt; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2494: checking for $ac_word" >&5
       +echo "configure:2521: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2526,7 +2553,7 @@ fi
                        # Extract the first word of "xgettext", so it can be a program name with args.
        set dummy xgettext; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2530: checking for $ac_word" >&5
       +echo "configure:2557: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2558,7 +2585,7 @@ else
        fi
        
                        cat > conftest.$ac_ext <<EOF
       -#line 2562 "configure"
       +#line 2589 "configure"
        #include "confdefs.h"
        
        int main() {
       t@@ -2566,7 +2593,7 @@ extern int _nl_msg_cat_cntr;
                                       return _nl_msg_cat_cntr
        ; return 0; }
        EOF
       -if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          CATOBJEXT=.gmo
                           DATADIRNAME=share
       t@@ -2589,7 +2616,7 @@ fi
        
                if test "$CATOBJEXT" = "NONE"; then
                  echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
       -echo "configure:2593: checking whether catgets can be used" >&5
       +echo "configure:2620: checking whether catgets can be used" >&5
                  # Check whether --with-catgets or --without-catgets was given.
        if test "${with_catgets+set}" = set; then
          withval="$with_catgets"
       t@@ -2602,7 +2629,7 @@ fi
        
                  if test "$nls_cv_use_catgets" = "yes"; then
                                echo $ac_n "checking for main in -li""... $ac_c" 1>&6
       -echo "configure:2606: checking for main in -li" >&5
       +echo "configure:2633: checking for main in -li" >&5
        ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`
        if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
       t@@ -2610,14 +2637,14 @@ else
          ac_save_LIBS="$LIBS"
        LIBS="-li  $LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 2614 "configure"
       +#line 2641 "configure"
        #include "confdefs.h"
        
        int main() {
        main()
        ; return 0; }
        EOF
       -if { (eval echo configure:2621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_lib_$ac_lib_var=yes"
        else
       t@@ -2645,12 +2672,12 @@ else
        fi
        
                    echo $ac_n "checking for catgets""... $ac_c" 1>&6
       -echo "configure:2649: checking for catgets" >&5
       +echo "configure:2676: checking for catgets" >&5
        if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 2654 "configure"
       +#line 2681 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char catgets(); below.  */
       t@@ -2673,7 +2700,7 @@ catgets();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:2677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:2704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_catgets=yes"
        else
       t@@ -2695,7 +2722,7 @@ EOF
                       # Extract the first word of "gencat", so it can be a program name with args.
        set dummy gencat; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2699: checking for $ac_word" >&5
       +echo "configure:2726: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2731,7 +2758,7 @@ fi
                         # Extract the first word of "gmsgfmt", so it can be a program name with args.
        set dummy gmsgfmt; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2735: checking for $ac_word" >&5
       +echo "configure:2762: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2768,7 +2795,7 @@ fi
                           # Extract the first word of "msgfmt", so it can be a program name with args.
        set dummy msgfmt; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2772: checking for $ac_word" >&5
       +echo "configure:2799: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2803,7 +2830,7 @@ fi
                         # Extract the first word of "xgettext", so it can be a program name with args.
        set dummy xgettext; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2807: checking for $ac_word" >&5
       +echo "configure:2834: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2861,7 +2888,7 @@ fi
                # Extract the first word of "msgfmt", so it can be a program name with args.
        set dummy msgfmt; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2865: checking for $ac_word" >&5
       +echo "configure:2892: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2895,7 +2922,7 @@ fi
                # Extract the first word of "gmsgfmt", so it can be a program name with args.
        set dummy gmsgfmt; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2899: checking for $ac_word" >&5
       +echo "configure:2926: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -2931,7 +2958,7 @@ fi
                # Extract the first word of "xgettext", so it can be a program name with args.
        set dummy xgettext; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:2935: checking for $ac_word" >&5
       +echo "configure:2962: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -3024,7 +3051,7 @@ fi
               LINGUAS=
             else
               echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
       -echo "configure:3028: checking for catalogs to be installed" >&5
       +echo "configure:3055: checking for catalogs to be installed" >&5
               NEW_LINGUAS=
               for lang in ${LINGUAS=$ALL_LINGUAS}; do
                 case "$ALL_LINGUAS" in
       t@@ -3052,17 +3079,17 @@ echo "configure:3028: checking for catalogs to be installed" >&5
           if test "$CATOBJEXT" = ".cat"; then
             ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
        echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
       -echo "configure:3056: checking for linux/version.h" >&5
       +echo "configure:3083: checking for linux/version.h" >&5
        if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 3061 "configure"
       +#line 3088 "configure"
        #include "confdefs.h"
        #include <linux/version.h>
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:3066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:3093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          rm -rf conftest*
       t@@ -3151,17 +3178,13 @@ else
        fi
        
        
       -WIN_RC=""
       -WIN_RES=""
       -WIN_MAKE_RES="/dev/null"
       -
        echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
       -echo "configure:3160: checking for Cygwin environment" >&5
       +echo "configure:3183: checking for Cygwin environment" >&5
        if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 3165 "configure"
       +#line 3188 "configure"
        #include "confdefs.h"
        
        int main() {
       t@@ -3172,7 +3195,7 @@ int main() {
        return __CYGWIN__;
        ; return 0; }
        EOF
       -if { (eval echo configure:3176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       +if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
          rm -rf conftest*
          ac_cv_cygwin=yes
        else
       t@@ -3205,12 +3228,6 @@ EOF
                 
           CFLAGS="$CFLAGS -mwindows -fnative-struct -mno-cygwin"
           LIBS="$LIBS -lwsock32 -lcomctl32"
       -   if test "$GUI_CLIENT" = "yes" ; then
       -      cat >> confdefs.h <<\EOF
       -#define GUI_CLIENT 1
       -EOF
       -
       -   fi
        
              LDFLAGS="$LDFLAGS -lglib-1.3"
        
       t@@ -3271,7 +3288,7 @@ fi
          # Extract the first word of "glib-config", so it can be a program name with args.
        set dummy glib-config; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:3275: checking for $ac_word" >&5
       +echo "configure:3292: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_GLIB_CONFIG'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -3306,7 +3323,7 @@ fi
        
          min_glib_version=1.2.0
          echo $ac_n "checking for GLIB - version >= $min_glib_version""... $ac_c" 1>&6
       -echo "configure:3310: checking for GLIB - version >= $min_glib_version" >&5
       +echo "configure:3327: checking for GLIB - version >= $min_glib_version" >&5
          no_glib=""
          if test "$GLIB_CONFIG" = "no" ; then
            no_glib=yes
       t@@ -3329,7 +3346,7 @@ echo "configure:3310: checking for GLIB - version >= $min_glib_version" >&5
          echo $ac_n "cross compiling; assumed OK... $ac_c"
        else
          cat > conftest.$ac_ext <<EOF
       -#line 3333 "configure"
       +#line 3350 "configure"
        #include "confdefs.h"
        
        #include <glib.h>
       t@@ -3405,7 +3422,7 @@ main ()
        }
        
        EOF
       -if { (eval echo configure:3409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:3426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          :
        else
       t@@ -3439,7 +3456,7 @@ fi
                  CFLAGS="$CFLAGS $GLIB_CFLAGS"
                  LIBS="$LIBS $GLIB_LIBS"
                  cat > conftest.$ac_ext <<EOF
       -#line 3443 "configure"
       +#line 3460 "configure"
        #include "confdefs.h"
        
        #include <glib.h>
       t@@ -3449,7 +3466,7 @@ int main() {
         return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 
        ; return 0; }
        EOF
       -if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:3470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
           echo "*** The test program compiled, but did not run. This usually means"
                  echo "*** that the run-time linker is not finding GLIB or finding the wrong"
       t@@ -3490,7 +3507,7 @@ rm -f conftest*
        
              if test "$CURSES_CLIENT" = "yes" ; then
              echo $ac_n "checking for newterm in -lncurses""... $ac_c" 1>&6
       -echo "configure:3494: checking for newterm in -lncurses" >&5
       +echo "configure:3511: checking for newterm in -lncurses" >&5
        ac_lib_var=`echo ncurses'_'newterm | sed 'y%./+-%__p_%'`
        if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
       t@@ -3498,7 +3515,7 @@ else
          ac_save_LIBS="$LIBS"
        LIBS="-lncurses  $LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 3502 "configure"
       +#line 3519 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -3509,7 +3526,7 @@ int main() {
        newterm()
        ; return 0; }
        EOF
       -if { (eval echo configure:3513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_lib_$ac_lib_var=yes"
        else
       t@@ -3538,7 +3555,7 @@ fi
        
              if test "$ac_cv_lib_ncurses_newterm" = "no" ; then
                 echo $ac_n "checking for newterm in -lcurses""... $ac_c" 1>&6
       -echo "configure:3542: checking for newterm in -lcurses" >&5
       +echo "configure:3559: checking for newterm in -lcurses" >&5
        ac_lib_var=`echo curses'_'newterm | sed 'y%./+-%__p_%'`
        if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
       t@@ -3546,7 +3563,7 @@ else
          ac_save_LIBS="$LIBS"
        LIBS="-lcurses  $LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 3550 "configure"
       +#line 3567 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -3557,7 +3574,7 @@ int main() {
        newterm()
        ; return 0; }
        EOF
       -if { (eval echo configure:3561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_lib_$ac_lib_var=yes"
        else
       t@@ -3586,7 +3603,7 @@ fi
        
                 if test "$ac_cv_lib_curses_newterm" = "no" ; then
                    echo $ac_n "checking for newterm in -lcur_colr""... $ac_c" 1>&6
       -echo "configure:3590: checking for newterm in -lcur_colr" >&5
       +echo "configure:3607: checking for newterm in -lcur_colr" >&5
        ac_lib_var=`echo cur_colr'_'newterm | sed 'y%./+-%__p_%'`
        if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
       t@@ -3594,7 +3611,7 @@ else
          ac_save_LIBS="$LIBS"
        LIBS="-lcur_colr  $LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 3598 "configure"
       +#line 3615 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -3605,7 +3622,7 @@ int main() {
        newterm()
        ; return 0; }
        EOF
       -if { (eval echo configure:3609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:3626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_lib_$ac_lib_var=yes"
        else
       t@@ -3691,7 +3708,7 @@ fi
          # Extract the first word of "gtk-config", so it can be a program name with args.
        set dummy gtk-config; ac_word=$2
        echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
       -echo "configure:3695: checking for $ac_word" >&5
       +echo "configure:3712: checking for $ac_word" >&5
        if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -3726,7 +3743,7 @@ fi
        
          min_gtk_version=1.2.0
          echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
       -echo "configure:3730: checking for GTK - version >= $min_gtk_version" >&5
       +echo "configure:3747: checking for GTK - version >= $min_gtk_version" >&5
          no_gtk=""
          if test "$GTK_CONFIG" = "no" ; then
            no_gtk=yes
       t@@ -3749,7 +3766,7 @@ echo "configure:3730: checking for GTK - version >= $min_gtk_version" >&5
          echo $ac_n "cross compiling; assumed OK... $ac_c"
        else
          cat > conftest.$ac_ext <<EOF
       -#line 3753 "configure"
       +#line 3770 "configure"
        #include "confdefs.h"
        
        #include <gtk/gtk.h>
       t@@ -3827,7 +3844,7 @@ main ()
        }
        
        EOF
       -if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          :
        else
       t@@ -3861,7 +3878,7 @@ fi
                  CFLAGS="$CFLAGS $GTK_CFLAGS"
                  LIBS="$LIBS $GTK_LIBS"
                  cat > conftest.$ac_ext <<EOF
       -#line 3865 "configure"
       +#line 3882 "configure"
        #include "confdefs.h"
        
        #include <gtk/gtk.h>
       t@@ -3871,7 +3888,7 @@ int main() {
         return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 
        ; return 0; }
        EOF
       -if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:3892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
           echo "*** The test program compiled, but did not run. This usually means"
                  echo "*** that the run-time linker is not finding GTK or finding the wrong"
       t@@ -3915,22 +3932,15 @@ rm -f conftest*
              fi
           fi
        
       -   if test "$GUI_CLIENT" = "yes" ; then
       -      cat >> confdefs.h <<\EOF
       -#define GUI_CLIENT 1
       -EOF
       -
       -   fi
       -
              CFLAGS="$CFLAGS `glib-config --cflags`"
           LDFLAGS="$LDFLAGS `glib-config --libs`"
        
              GUI_SERVER="no"
        
              echo $ac_n "checking for socklen_t data type""... $ac_c" 1>&6
       -echo "configure:3932: checking for socklen_t data type" >&5
       +echo "configure:3942: checking for socklen_t data type" >&5
           cat > conftest.$ac_ext <<EOF
       -#line 3934 "configure"
       +#line 3944 "configure"
        #include "confdefs.h"
        #include <sys/types.h>
                           #include <sys/socket.h>
       t@@ -3938,7 +3948,7 @@ int main() {
        socklen_t val
        ; return 0; }
        EOF
       -if { (eval echo configure:3942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       +if { (eval echo configure:3952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
          rm -rf conftest*
          echo "$ac_t""yes" 1>&6
                           cat >> confdefs.h <<\EOF
       t@@ -3956,6 +3966,10 @@ fi
        
        if test "$GUI_CLIENT" = "yes" ; then
           echo "$ac_t""Compiling in graphical client" 1>&6
       +   cat >> confdefs.h <<\EOF
       +#define GUI_CLIENT 1
       +EOF
       +
        fi
        
        if test "$CURSES_CLIENT" = "yes" ; then
       t@@ -3995,12 +4009,12 @@ if test "$GUI_CLIENT" = "yes" -o "$GUI_SERVER" = "yes" ; then
        fi
        
        echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
       -echo "configure:3999: checking for ANSI C header files" >&5
       +echo "configure:4013: checking for ANSI C header files" >&5
        if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4004 "configure"
       +#line 4018 "configure"
        #include "confdefs.h"
        #include <stdlib.h>
        #include <stdarg.h>
       t@@ -4008,7 +4022,7 @@ else
        #include <float.h>
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:4012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:4026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          rm -rf conftest*
       t@@ -4025,7 +4039,7 @@ rm -f conftest*
        if test $ac_cv_header_stdc = yes; then
          # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        cat > conftest.$ac_ext <<EOF
       -#line 4029 "configure"
       +#line 4043 "configure"
        #include "confdefs.h"
        #include <string.h>
        EOF
       t@@ -4043,7 +4057,7 @@ fi
        if test $ac_cv_header_stdc = yes; then
          # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        cat > conftest.$ac_ext <<EOF
       -#line 4047 "configure"
       +#line 4061 "configure"
        #include "confdefs.h"
        #include <stdlib.h>
        EOF
       t@@ -4064,7 +4078,7 @@ if test "$cross_compiling" = yes; then
          :
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4068 "configure"
       +#line 4082 "configure"
        #include "confdefs.h"
        #include <ctype.h>
        #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
       t@@ -4075,7 +4089,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
        exit (0); }
        
        EOF
       -if { (eval echo configure:4079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          :
        else
       t@@ -4099,12 +4113,12 @@ EOF
        fi
        
        echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
       -echo "configure:4103: checking for sys/wait.h that is POSIX.1 compatible" >&5
       +echo "configure:4117: checking for sys/wait.h that is POSIX.1 compatible" >&5
        if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4108 "configure"
       +#line 4122 "configure"
        #include "confdefs.h"
        #include <sys/types.h>
        #include <sys/wait.h>
       t@@ -4120,7 +4134,7 @@ wait (&s);
        s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
        ; return 0; }
        EOF
       -if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       +if { (eval echo configure:4138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
          rm -rf conftest*
          ac_cv_header_sys_wait_h=yes
        else
       t@@ -4144,17 +4158,17 @@ for ac_hdr in fcntl.h sys/time.h unistd.h stdlib.h
        do
        ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
       -echo "configure:4148: checking for $ac_hdr" >&5
       +echo "configure:4162: checking for $ac_hdr" >&5
        if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4153 "configure"
       +#line 4167 "configure"
        #include "confdefs.h"
        #include <$ac_hdr>
        EOF
        ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
       -{ (eval echo configure:4158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
       +{ (eval echo configure:4172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        if test -z "$ac_err"; then
          rm -rf conftest*
       t@@ -4182,12 +4196,12 @@ done
        
        
        echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
       -echo "configure:4186: checking whether time.h and sys/time.h may both be included" >&5
       +echo "configure:4200: checking whether time.h and sys/time.h may both be included" >&5
        if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4191 "configure"
       +#line 4205 "configure"
        #include "confdefs.h"
        #include <sys/types.h>
        #include <sys/time.h>
       t@@ -4196,7 +4210,7 @@ int main() {
        struct tm *tp;
        ; return 0; }
        EOF
       -if { (eval echo configure:4200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       +if { (eval echo configure:4214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
          rm -rf conftest*
          ac_cv_header_time=yes
        else
       t@@ -4217,12 +4231,12 @@ EOF
        fi
        
        echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
       -echo "configure:4221: checking whether struct tm is in sys/time.h or time.h" >&5
       +echo "configure:4235: checking whether struct tm is in sys/time.h or time.h" >&5
        if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4226 "configure"
       +#line 4240 "configure"
        #include "confdefs.h"
        #include <sys/types.h>
        #include <time.h>
       t@@ -4230,7 +4244,7 @@ int main() {
        struct tm *tp; tp->tm_sec;
        ; return 0; }
        EOF
       -if { (eval echo configure:4234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
       +if { (eval echo configure:4248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
          rm -rf conftest*
          ac_cv_struct_tm=time.h
        else
       t@@ -4252,7 +4266,7 @@ fi
        
        
        echo $ac_n "checking size of long long""... $ac_c" 1>&6
       -echo "configure:4256: checking size of long long" >&5
       +echo "configure:4270: checking size of long long" >&5
        if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -4260,7 +4274,7 @@ else
            { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4264 "configure"
       +#line 4278 "configure"
        #include "confdefs.h"
        #include <stdio.h>
        main()
       t@@ -4271,7 +4285,7 @@ main()
          exit(0);
        }
        EOF
       -if { (eval echo configure:4275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:4289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          ac_cv_sizeof_long_long=`cat conftestval`
        else
       t@@ -4292,7 +4306,7 @@ EOF
        
        
        echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
       -echo "configure:4296: checking for 8-bit clean memcmp" >&5
       +echo "configure:4310: checking for 8-bit clean memcmp" >&5
        if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -4300,7 +4314,7 @@ else
          ac_cv_func_memcmp_clean=no
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4304 "configure"
       +#line 4318 "configure"
        #include "confdefs.h"
        
        main()
       t@@ -4310,7 +4324,7 @@ main()
        }
        
        EOF
       -if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:4328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          ac_cv_func_memcmp_clean=yes
        else
       t@@ -4328,7 +4342,7 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
        test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
        
        echo $ac_n "checking whether setvbuf arguments are reversed""... $ac_c" 1>&6
       -echo "configure:4332: checking whether setvbuf arguments are reversed" >&5
       +echo "configure:4346: checking whether setvbuf arguments are reversed" >&5
        if eval "test \"`echo '$''{'ac_cv_func_setvbuf_reversed'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
       t@@ -4336,7 +4350,7 @@ else
            { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4340 "configure"
       +#line 4354 "configure"
        #include "confdefs.h"
        #include <stdio.h>
        /* If setvbuf has the reversed format, exit 0. */
       t@@ -4350,7 +4364,7 @@ main () {
          exit(0);                        /* Non-reversed systems segv here.  */
        }
        EOF
       -if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
       +if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        then
          ac_cv_func_setvbuf_reversed=yes
        else
       t@@ -4374,12 +4388,12 @@ EOF
        fi
        
        echo $ac_n "checking for strftime""... $ac_c" 1>&6
       -echo "configure:4378: checking for strftime" >&5
       +echo "configure:4392: checking for strftime" >&5
        if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4383 "configure"
       +#line 4397 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char strftime(); below.  */
       t@@ -4402,7 +4416,7 @@ strftime();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:4420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_strftime=yes"
        else
       t@@ -4424,7 +4438,7 @@ else
          echo "$ac_t""no" 1>&6
        # strftime is in -lintl on SCO UNIX.
        echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
       -echo "configure:4428: checking for strftime in -lintl" >&5
       +echo "configure:4442: checking for strftime in -lintl" >&5
        ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
        if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
       t@@ -4432,7 +4446,7 @@ else
          ac_save_LIBS="$LIBS"
        LIBS="-lintl  $LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 4436 "configure"
       +#line 4450 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -4443,7 +4457,7 @@ int main() {
        strftime()
        ; return 0; }
        EOF
       -if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:4461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_lib_$ac_lib_var=yes"
        else
       t@@ -4472,12 +4486,12 @@ fi
        for ac_func in strdup strstr
        do
        echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:4476: checking for $ac_func" >&5
       +echo "configure:4490: checking for $ac_func" >&5
        if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4481 "configure"
       +#line 4495 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char $ac_func(); below.  */
       t@@ -4500,7 +4514,7 @@ $ac_func();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:4504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:4518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_$ac_func=yes"
        else
       t@@ -4531,14 +4545,14 @@ if test "$CYGWIN" = "yes" ; then
        else
                    
        echo $ac_n "checking for library containing socket""... $ac_c" 1>&6
       -echo "configure:4535: checking for library containing socket" >&5
       +echo "configure:4549: checking for library containing socket" >&5
        if eval "test \"`echo '$''{'ac_cv_search_socket'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          ac_func_search_save_LIBS="$LIBS"
        ac_cv_search_socket="no"
        cat > conftest.$ac_ext <<EOF
       -#line 4542 "configure"
       +#line 4556 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -4549,7 +4563,7 @@ int main() {
        socket()
        ; return 0; }
        EOF
       -if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          ac_cv_search_socket="none required"
        else
       t@@ -4560,7 +4574,7 @@ rm -f conftest*
        test "$ac_cv_search_socket" = "no" && for i in socket; do
        LIBS="-l$i  $ac_func_search_save_LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 4564 "configure"
       +#line 4578 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -4571,7 +4585,7 @@ int main() {
        socket()
        ; return 0; }
        EOF
       -if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:4589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          ac_cv_search_socket="-l$i"
        break
       t@@ -4593,14 +4607,14 @@ else :
        fi
           
        echo $ac_n "checking for library containing gethostbyname""... $ac_c" 1>&6
       -echo "configure:4597: checking for library containing gethostbyname" >&5
       +echo "configure:4611: checking for library containing gethostbyname" >&5
        if eval "test \"`echo '$''{'ac_cv_search_gethostbyname'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          ac_func_search_save_LIBS="$LIBS"
        ac_cv_search_gethostbyname="no"
        cat > conftest.$ac_ext <<EOF
       -#line 4604 "configure"
       +#line 4618 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -4611,7 +4625,7 @@ int main() {
        gethostbyname()
        ; return 0; }
        EOF
       -if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:4629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          ac_cv_search_gethostbyname="none required"
        else
       t@@ -4622,7 +4636,7 @@ rm -f conftest*
        test "$ac_cv_search_gethostbyname" = "no" && for i in nsl socket; do
        LIBS="-l$i  $ac_func_search_save_LIBS"
        cat > conftest.$ac_ext <<EOF
       -#line 4626 "configure"
       +#line 4640 "configure"
        #include "confdefs.h"
        /* Override any gcc2 internal prototype to avoid an error.  */
        /* We use char because int might match the return type of a gcc2
       t@@ -4633,7 +4647,7 @@ int main() {
        gethostbyname()
        ; return 0; }
        EOF
       -if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          ac_cv_search_gethostbyname="-l$i"
        break
       t@@ -4656,12 +4670,12 @@ fi
           for ac_func in socket gethostbyname select
        do
        echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
       -echo "configure:4660: checking for $ac_func" >&5
       +echo "configure:4674: checking for $ac_func" >&5
        if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
          echo $ac_n "(cached) $ac_c" 1>&6
        else
          cat > conftest.$ac_ext <<EOF
       -#line 4665 "configure"
       +#line 4679 "configure"
        #include "confdefs.h"
        /* System header to define __stub macros and hopefully few prototypes,
            which can conflict with char $ac_func(); below.  */
       t@@ -4684,7 +4698,7 @@ $ac_func();
        
        ; return 0; }
        EOF
       -if { (eval echo configure:4688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
       +if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
          rm -rf conftest*
          eval "ac_cv_func_$ac_func=yes"
        else
 (DIR) diff --git a/configure.in b/configure.in
       t@@ -10,6 +10,7 @@ AM_CONFIG_HEADER(config.h)
        dnl Checks for programs.
        AC_PROG_CC
        AC_PROG_INSTALL
       +AC_PROG_MAKE_SET
        
        dnl Do i18n stuff
        ALL_LINGUAS="de pl pt_BR"
       t@@ -31,10 +32,6 @@ AC_ARG_ENABLE(curses-client,
        [  --enable-curses-client  include curses client],
        [ CURSES_CLIENT="$enableval" ],[ CURSES_CLIENT="yes" ])
        
       -WIN_RC=""
       -WIN_RES=""
       -WIN_MAKE_RES="/dev/null"
       -
        dnl Test for Cygwin environment
        AC_CYGWIN
        dnl Let the user override this with the --enable-nativewin32 option
       t@@ -52,9 +49,6 @@ if test "$CYGWIN" = "yes" ; then
        
           CFLAGS="$CFLAGS -mwindows -fnative-struct -mno-cygwin"
           LIBS="$LIBS -lwsock32 -lcomctl32"
       -   if test "$GUI_CLIENT" = "yes" ; then
       -      AC_DEFINE(GUI_CLIENT)
       -   fi
        
           dnl Glib stuff
           LDFLAGS="$LDFLAGS -lglib-1.3"
       t@@ -91,10 +85,6 @@ else
              fi
           fi
        
       -   if test "$GUI_CLIENT" = "yes" ; then
       -      AC_DEFINE(GUI_CLIENT)
       -   fi
       -
           dnl Glib stuff
           CFLAGS="$CFLAGS `glib-config --cflags`"
           LDFLAGS="$LDFLAGS `glib-config --libs`"
       t@@ -113,6 +103,7 @@ fi
        
        if test "$GUI_CLIENT" = "yes" ; then
           AC_MSG_RESULT(Compiling in graphical client)
       +   AC_DEFINE(GUI_CLIENT)
        fi
        
        if test "$CURSES_CLIENT" = "yes" ; then
 (DIR) diff --git a/src/Makefile.am b/src/Makefile.am
       t@@ -3,16 +3,10 @@ dopewars_SOURCES = AIPlayer.c serverside.c dopewars.c message.c \
                           curses_client.c gtk_client.c winmain.c \
                           dopeos.c tstring.c @GTKPORT_C@
        dopewars_DEPENDENCIES = @INTLLIBS@ @GTKPORT_O@
       -SUFFIXES = .rc .res
        INCLUDES = @GTK_CFLAGS@ -I.. -I.
        LDADD = @GTKPORT_O@ @GTK_LIBS@ @INTLLIBS@
        DEFS = @DEFS@ -DLOCALEDIR=\"${localedir}\"
        
       -DOCPATH=/usr/doc/${PACKAGE}-${VERSION}/
       -DOCS= aiplayer.html configfile.html index.html server.html clientplay.html \
       -      credits.html installation.html servercommands.html commandline.html \
       -      developer.html metaserver.html windows.html README
       -
        install-exec-hook:
                chown root:games ${DESTDIR}${bindir}/dopewars || \
                    chown root:wheel ${DESTDIR}${bindir}/dopewars
 (DIR) diff --git a/src/Makefile.in b/src/Makefile.in
       t@@ -96,14 +96,9 @@ bin_PROGRAMS = dopewars
        dopewars_SOURCES = AIPlayer.c serverside.c dopewars.c message.c                    curses_client.c gtk_client.c winmain.c                    dopeos.c tstring.c @GTKPORT_C@
        
        dopewars_DEPENDENCIES = @INTLLIBS@ @GTKPORT_O@
       -SUFFIXES = .rc .res
        INCLUDES = @GTK_CFLAGS@ -I.. -I.
        LDADD = @GTKPORT_O@ @GTK_LIBS@ @INTLLIBS@
        DEFS = @DEFS@ -DLOCALEDIR=\"${localedir}\"
       -
       -DOCPATH = /usr/doc/${PACKAGE}-${VERSION}/
       -DOCS = aiplayer.html configfile.html index.html server.html clientplay.html       credits.html installation.html servercommands.html commandline.html       developer.html metaserver.html windows.html README
       -
        mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
        CONFIG_HEADER = ../config.h
        CONFIG_CLEAN_FILES = 
       t@@ -135,7 +130,7 @@ OBJECTS = $(dopewars_OBJECTS)
        
        all: all-redirect
        .SUFFIXES:
       -.SUFFIXES: .S .c .o .rc .res .s
       +.SUFFIXES: .S .c .o .s
        $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
                cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile