Bug 1191816 - don't check for sys/int_types.h in configure; r=mshal
authorNathan Froyd <froydnj@mozilla.com>
Thu, 06 Aug 2015 17:54:57 -0400
changeset 288360 d13429f4a69bdd3f57314d03314831d83176722e
parent 288359 e9cce42a5e67e0d541adee5ef36858f2381909b3
child 288361 efd7ad55b0dfec368217b5707732e3c04b43268b
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1191816
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1191816 - don't check for sys/int_types.h in configure; r=mshal <sys/int_types.h> appears to be a pre-standardization header that was common on SunOS systems (which apparently also provided <inttypes.h>?). Searching also turns up references in the NetBSD source tree for less-common architectures (e.g. sh3). There are a few includes for <sys/int_types.h> in the tree, but only as a fallback for <inttypes.h>. In short, we don't care about this header, and we shouldn't check for it.
configure.in
--- a/configure.in
+++ b/configure.in
@@ -8185,17 +8185,17 @@ else
     MOZ_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
     MOZ_PIXMAN_LIBS="$PIXMAN_LIBS"
 fi
 AC_SUBST(MOZ_PIXMAN_CFLAGS)
 AC_SUBST_LIST(MOZ_PIXMAN_LIBS)
 
 # Check for headers defining standard int types.
 if test -n "$COMPILE_ENVIRONMENT"; then
-    MOZ_CHECK_HEADERS(stdint.h inttypes.h sys/int_types.h)
+    MOZ_CHECK_HEADERS(stdint.h inttypes.h)
 
     if test "${ac_cv_header_inttypes_h}" = "yes"; then
         HAVE_INTTYPES_H=1
     fi
 fi
 
 AC_SUBST(HAVE_INTTYPES_H)