8010277: Configure doesn't fail when Xrender.h is missing
authoromajid
Tue, 19 Mar 2013 11:25:05 -0400
changeset 15915 caa9b4e63aab
parent 15914 1338d1e0e058
child 15964 1bb51d633931
8010277: Configure doesn't fail when Xrender.h is missing Reviewed-by: andrew
common/autoconf/generated-configure.sh
common/autoconf/libraries.m4
--- a/common/autoconf/generated-configure.sh	Mon Mar 18 10:47:37 2013 -0400
+++ b/common/autoconf/generated-configure.sh	Tue Mar 19 11:25:05 2013 -0400
@@ -3753,7 +3753,7 @@
 #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 @@
 _ACEOF
  X11_A_OK=yes
 else
-  X11_A_OK=no
+  X11_A_OK=no; break
 fi
 
 done
--- a/common/autoconf/libraries.m4	Mon Mar 18 10:47:37 2013 -0400
+++ b/common/autoconf/libraries.m4	Tue Mar 19 11:25:05 2013 -0400
@@ -182,7 +182,7 @@
 # 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>
                  ])