author | Mike Hommey <mh+mozilla@glandium.org> |
Wed, 11 Jan 2012 10:43:08 +0100 | |
changeset 84255 | 2a6cac678c94d9fe78c11b837b270e3304fc2df7 |
parent 84254 | 345863ffe8c8c9f04e1b1ace6ea628073f29cd23 |
child 84256 | 12f6fad6692480cf9273698fb4029672834d250c |
push id | 21832 |
push user | bmo@edmorley.co.uk |
push date | Wed, 11 Jan 2012 17:04:15 +0000 |
treeherder | mozilla-central@40c9f9ff9fd5 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | ted |
bugs | 713229 |
milestone | 12.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
|
configure.in | file | annotate | diff | comparison | revisions |
--- a/configure.in +++ b/configure.in @@ -4220,28 +4220,34 @@ dnl ==================================== dnl = If NSPR was not detected in the system, dnl = use the one in the source tree (mozilla/nsprpub) dnl ======================================================== MOZ_ARG_WITH_BOOL(system-nspr, [ --with-system-nspr Use system installed NSPR], _USE_SYSTEM_NSPR=1 ) if test -n "$_USE_SYSTEM_NSPR"; then - AM_PATH_NSPR(4.8.8, [MOZ_NATIVE_NSPR=1], [AC_MSG_ERROR([your don't have NSPR installed or your version is too old])]) + AM_PATH_NSPR(4.9.0, [MOZ_NATIVE_NSPR=1], [AC_MSG_ERROR([your don't have NSPR installed or your version is too old])]) fi if test -n "$MOZ_NATIVE_NSPR"; then _SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $NSPR_CFLAGS" AC_TRY_COMPILE([#include "prtypes.h"], [#ifndef PR_STATIC_ASSERT - #error PR_STATIC_ASSERT not defined or requires including prlog.h + #error PR_STATIC_ASSERT not defined or requires including prtypes.h #endif], [MOZ_NATIVE_NSPR=1], AC_MSG_ERROR([system NSPR does not support PR_STATIC_ASSERT or including prtypes.h does not provide it])) + AC_TRY_COMPILE([#include "prtypes.h"], + [#ifndef PR_UINT64 + #error PR_UINT64 not defined or requires including prtypes.h + #endif], + [MOZ_NATIVE_NSPR=1], + AC_MSG_ERROR([system NSPR does not support PR_UINT64 or including prtypes.h does not provide it])) CFLAGS=$_SAVE_CFLAGS else if test "$OS_ARCH" = "WINNT"; then NSPR_CFLAGS="-I${LIBXUL_DIST}/include/nspr" if test -n "$GNU_CC"; then NSPR_LIBS="-L${LIBXUL_DIST}/lib -lnspr${NSPR_VERSION} -lplc${NSPR_VERSION} -lplds${NSPR_VERSION}" else NSPR_LIBS="${LIBXUL_DIST}/lib/nspr${NSPR_VERSION}.lib ${LIBXUL_DIST}/lib/plc${NSPR_VERSION}.lib ${LIBXUL_DIST}/lib/plds${NSPR_VERSION}.lib "