1dnl 2dnl 3dnl AC_LINK_X : find X11 (minimal file to OPTIONALLY link Oleo 4dnl with X11 libraries. 5dnl 6dnl Adapted from a macro by Andreas Zeller. 7dnl 8dnl The variable provided is : 9dnl link_x (e.g. -L/usr/X11R6/lib -lX11 -lXt) 10dnl 11dnl The link_x variable should be fit to put on the application's 12dnl link line in the Makefile. 13dnl 14dnl Oleo CVS $Id: x11.m4,v 1.2 1999/02/23 21:24:40 danny Exp $ 15dnl 16AC_DEFUN(AC_LINK_X, 17[if test "$with_x" = "yes"; then 18 X_LIBS="${X_LIBS} -lXt -lX11" 19fi]) 20 21