180 CFLAGS="$CFLAGS $X_CFLAGS" |
180 CFLAGS="$CFLAGS $X_CFLAGS" |
181 |
181 |
182 # Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10 |
182 # Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10 |
183 AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h], |
183 AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h], |
184 [X11_A_OK=yes], |
184 [X11_A_OK=yes], |
185 [X11_A_OK=no], |
185 [X11_A_OK=no; break], |
186 [ # include <X11/Xlib.h> |
186 [ # include <X11/Xlib.h> |
187 # include <X11/Xutil.h> |
187 # include <X11/Xutil.h> |
188 ]) |
188 ]) |
189 |
189 |
190 CFLAGS="$OLD_CFLAGS" |
190 CFLAGS="$OLD_CFLAGS" |