Hello! I believe your patch does exactly the same thing as mine. Anyway, AC_PATH_X never returns non-empty $x_libraries if it can't find X11 - just examine acspecific.m4 from autoconf sources. Pavel Roskin