X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=configure.ac;h=8b3939636888225f84a2be95448acd16a33497df;hb=262a1501c25d57e39848d21647e607c8319c2088;hp=b9856327a6ab3280123ba7beb75444070db0be5b;hpb=84786e5f06126838b5a38acc7fe7f8758ec44422;p=xboard.git diff --git a/configure.ac b/configure.ac index b985632..8b39396 100644 --- a/configure.ac +++ b/configure.ac @@ -328,6 +328,14 @@ dnl| USE_PTYS=1 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], @@ -388,11 +396,9 @@ AC_ARG_ENABLE( [zippy], 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)])],