All pastes #451758 Raw Edit

Anonymous

public text v1 · immutable
#451758 ·published 2007-04-21 20:26 UTC
rendered paste body
    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