From: Arun Persaud Date: Sun, 23 Aug 2009 17:22:48 +0000 (-0700) Subject: added missing X_LIBS references to Makefile.am X-Git-Tag: v4.4.0.beta2~13 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=ead8c0edb8d0f43d198401ac90633b3b7213bdfd;p=xboard.git added missing X_LIBS references to Makefile.am --- diff --git a/Makefile.am b/Makefile.am index f84d4bc..d1e2c61 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,8 +8,8 @@ endif 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 diff --git a/configure.ac b/configure.ac index 6ccd5d3..dd1123f 100644 --- a/configure.ac +++ b/configure.ac @@ -328,14 +328,6 @@ 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],