Bug 1192233 - delete check for sys/cdefs.h from configure; r=mshal
authorNathan Froyd <froydnj@mozilla.com>
Fri, 07 Aug 2015 17:38:14 -0400
changeset 257236 1955a6afd3538649bf42662e244480d68100d705
parent 257235 1a728b32c041cf5d7cf0dcaa39499b4348a394dd
child 257237 683f439ef93cf06b79a7e6442143d561b7a696cc
push id29210
push userkwierso@gmail.com
push dateTue, 11 Aug 2015 22:35:38 +0000
treeherdermozilla-central@7dcecc8a395d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1192233
milestone43.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 1192233 - delete check for sys/cdefs.h from configure; r=mshal We never consult HAVE_SYS_CDEFS_H anywhere. All the places we do include <sys/cdefs.h> do it unconditionally. So let's get rid of this useless check.
configure.in
--- a/configure.in
+++ b/configure.in
@@ -2725,24 +2725,16 @@ if test "x$enable_dtrace" = "xyes"; then
   if test -n "$HAVE_DTRACE"; then
       AC_DEFINE(INCLUDE_MOZILLA_DTRACE)
   else
       AC_MSG_ERROR([dtrace enabled but sys/sdt.h not found]);
   fi
 fi
 AC_SUBST(HAVE_DTRACE)
 
-case $target in
-*-aix4.3*|*-aix5*)
-    ;;
-*)
-    MOZ_CHECK_HEADERS(sys/cdefs.h)
-    ;;
-esac
-
 MOZ_LINUX_PERF_EVENT
 
 dnl Checks for libraries.
 dnl ========================================================
 case $target in
 *-hpux11.*)
     ;;
 *)