Anonymous
public text v1 · immutable if test "x$x11_works" = "xyes" ; then
AC_MSG_CHECKING(for X11 link functionality)
AC_TRY_RUN([
#ifdef HAVE_X11_XLIB_H
# include <X11/Xlib.h>
#endif
main() {
XModifierKeymap *xmkm;
xmkm=XNewModifiermap(1);
return(xmkm);
}
],[x11_works=yes])
AC_MSG_RESULT($x11_works)
fi
LDFLAGS="$PRELDFLAGS"
dnl figure out whether we need to build against X11