8010277: Configure doesn't fail when Xrender.h is missing

Reviewed-by: andrew
This commit is contained in:
Omair Majid 2013-03-19 11:25:05 -04:00
parent 7b22402218
commit 2e4abcea23
2 changed files with 3 additions and 3 deletions

View File

@ -3753,7 +3753,7 @@ fi
#CUSTOM_AUTOCONF_INCLUDE
# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1363617192
DATE_WHEN_GENERATED=1363706268
###############################################################################
#
@ -29830,7 +29830,7 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
_ACEOF
X11_A_OK=yes
else
X11_A_OK=no
X11_A_OK=no; break
fi
done

View File

@ -182,7 +182,7 @@ CFLAGS="$CFLAGS $X_CFLAGS"
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h],
[X11_A_OK=yes],
[X11_A_OK=no],
[X11_A_OK=no; break],
[ # include <X11/Xlib.h>
# include <X11/Xutil.h>
])