CONF_CFLAGS="-fwritable-strings"
fi
;;
+dnl| OS X
+ *-apple-* )
+ if test -d /usr/X11/lib ; then
+ X_CFLAGS="$X_CFLAGS "
+ X_LIBS="$X_LIBS -L/usr/X11/lib -R/usr/X11/lib"
+ X_PRE_LIBS = "$X_PRE_LIBS -lXpm -lSM -lICE"
+ fi
+ ;;
esac
AC_ARG_ENABLE( [xpm],
if test x"$enable_zippy" != xno; then
AC_DEFINE(ZIPPY, 1,[should zippy be enabled])
- ZIPPY_O=zippy.o
- ZIPPY_H=zippy.h
fi
-AC_SUBST(ZIPPY_O)
-AC_SUBST(ZIPPY_H)
+AM_CONDITIONAL([ZIPPY], [test x$enable_zippy != xno])
+
AC_ARG_ENABLE(sigint,
[AS_HELP_STRING([--enable-sigint],[sending SIGINT (^C) wakes up GNU Chess (default)])],