bin_PROGRAMS = xboard
xboard_SOURCES = backend.c lists.c pgntags.c xedittags.c xhistory.c $(ZPY) childio.c moves.c uci.c xengineoutput.c xoptions.c gamelist.c parser.l xboard.c xgamelist.c book.c
-AM_CPPFLAGS=-DINFODIR='"$(infodir)"'
-AM_LDFLAGS= -lm @XAW_LIBS@
+AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@
+AM_LDFLAGS= -lm @X_PRE_LIBS@ @XAW_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
info_TEXINFOS = copyright.texi xboard.texi
man6_MANS = xboard.man
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],