From: Arun Persaud Date: Sat, 10 Nov 2012 08:12:34 +0000 (-0800) Subject: don't define X_LIBS when using gtk-frontend X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=4eb7e17e8bce357ec171370f1851eb3b29a1aa73;hp=e39bdac13d712bb2fb1aa22a2df9572d3b0e92f5;p=xboard.git don't define X_LIBS when using gtk-frontend --- diff --git a/configure.ac b/configure.ac index a7675ab..d226c53 100644 --- a/configure.ac +++ b/configure.ac @@ -471,11 +471,13 @@ enable_sigint=$enableval AC_DEFINE(ATTENTION, 1)]) +if test x"$with_Xaw3d" = x"yes" -o x"$with_Xaw" = x"yes" ; then dnl | save all information for X in X_LIBS, also add the libraries themself dnl | since AC_PATH_XTRA only adds the paths X_LIBS="$X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS -lXmu -lX11 -lXt " AC_SUBST(X_CFLAGS) AC_SUBST(X_LIBS) +fi dnl | should we install desktop icons and mime associations? AC_ARG_ENABLE( [update-mimedb],