common/autoconf/libraries.m4

changeset 657
29153d0df68f
parent 600
0d4b0a13adb2
child 665
f3cdfb3d360d
equal deleted inserted replaced
656:e2057191f6da 657:29153d0df68f
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"

mercurial