fixed bug #22853: changed all .Xdefaults to .Xresources in xboard.texi
[xboard.git] / configure.in
index 797c7b3..cd5aea2 100644 (file)
@@ -14,7 +14,7 @@ AC_CONFIG_HEADER(config.h)
 
 PRODUCT=xboard
 VERSION=4.2
-PATCHLEVEL=6
+PATCHLEVEL=pre8
 
 if test -z "$CFLAGS" ; then
 dnl| Prevent the next macro from setting CFLAGS to -g
@@ -51,10 +51,6 @@ AC_CHECK_HEADERS(fcntl.h sys/fcntl.h, break)
 AC_CHECK_HEADERS(sys/socket.h lan/socket.h, break)
 AC_CHECK_HEADER(stddef.h, [], AC_DEFINE(X_WCHAR, 1))
 
-AC_EGREP_HEADER(sys_errlist, errno.h, AC_DEFINE(DEFINED_SYS_ERRLIST))
-AC_EGREP_HEADER(sys_errlist, stdio.h, AC_DEFINE(DEFINED_SYS_ERRLIST))
-AC_EGREP_HEADER(sys_errlist, stdlib.h, AC_DEFINE(DEFINED_SYS_ERRLIST))
-
 AC_CHECK_FUNCS(_getpty grantpt setitimer usleep)
 AC_CHECK_FUNCS(gettimeofday ftime, break)
 AC_CHECK_FUNCS(random rand48, break)
@@ -74,6 +70,8 @@ fi
 
 AC_CANONICAL_HOST
 
+AM_GNU_GETTEXT([external])
+
 dnl| The following info is mostly gathered from GNU Emacs 19.24.  Basically,
 dnl| we are trying to find out whether this is a System-V derivative in
 dnl| which pipes don't work with select() and if so, whether there is anything
@@ -293,12 +291,14 @@ fi])
 AC_DEFINE_UNQUOTED(USE_PTYS, $USE_PTYS)
 
 AC_ARG_ENABLE(zippy, 
-[  --enable-zippy          features for interfacing a chess program to ICS],
-[if test "$enableval" = yes; then
+[  --enable-zippy          support interfacing a chess program to ICS (default)
+  --disable-zippy         do not support interfacing a chess program to ICS],
+[enable_zippy="$enableval"], [enable_zippy="yes"])
+if test "$enable_zippy" = yes; then
   AC_DEFINE(ZIPPY, 1)
   ZIPPY_O=zippy.o
   ZIPPY_H=zippy.h
-fi])
+fi
 AC_SUBST(ZIPPY_O)  
 AC_SUBST(ZIPPY_H)  
 
@@ -317,7 +317,7 @@ AC_SUBST(PRODUCT)
 AC_SUBST(VERSION)
 AC_SUBST(PATCHLEVEL)
 
-AC_OUTPUT(Makefile comment.awk:comment.in cmail xboard.texinfo,
+AC_OUTPUT(Makefile cmail xboard.texinfo po/Makefile.in ,
 [test -z "$CONFIG_HEADERS" || date > stamp-h
-chmod 755 comment.awk cmail
+chmod 755 cmail
 ])