INTEGRATION: CWS cmcfixes21 (1.139.10); FILE MERGED

2005/11/10 15:51:09 cmc 1.139.10.1: #ii49720# some distros have a seperate nspr package instead of mozilla-nspr
This commit is contained in:
Oliver Bolte 2005-12-21 10:09:36 +00:00
parent f89c8862b8
commit a10b219f11

View file

@ -3,7 +3,7 @@ dnl * vi:set sw=3 ts=3 et:
dnl * dnl *
dnl * Name: configure.in dnl * Name: configure.in
dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
dnl * Date: $Date: 2005-12-19 17:09:30 $ dnl * Date: $Date: 2005-12-21 11:09:36 $
dnl * dnl *
dnl * Desc: This file serves as input for the GNU autoconf package dnl * Desc: This file serves as input for the GNU autoconf package
dnl * in order to create a configure script. dnl * in order to create a configure script.
@ -12,7 +12,7 @@ dnl * necessary to build OpenOffice.org
dnl * dnl *
dnl * dnl *
dnl ******************************************************************/ dnl ******************************************************************/
AC_REVISION( $Revision: 1.141 $ ) AC_REVISION( $Revision: 1.142 $ )
AC_PREREQ(2.50) AC_PREREQ(2.50)
AC_INIT() AC_INIT()
echo "$@" >config.parms echo "$@" >config.parms
@ -2814,6 +2814,12 @@ if test -n "$with_system_mozilla"; then
PKG_CHECK_MODULES( MOZILLAXPCOM, $moz_flavour-xpcom ) PKG_CHECK_MODULES( MOZILLAXPCOM, $moz_flavour-xpcom )
if $PKG_CONFIG --exists nspr ; then
PKG_CHECK_MODULES( MOZ_NSPR, nspr )
else
PKG_CHECK_MODULES( MOZ_NSPR, mozilla-nspr )
fi
PKG_CHECK_MODULES( MOZ_NSS, $moz_flavour-nss ) PKG_CHECK_MODULES( MOZ_NSS, $moz_flavour-nss )
save_CPPFLAGS="$CPPFLAGS" save_CPPFLAGS="$CPPFLAGS"
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
@ -2940,6 +2946,7 @@ AC_SUBST(SYSTEM_MOZILLA)
AC_SUBST(MOZ_INC) AC_SUBST(MOZ_INC)
AC_SUBST(MOZ_LIB) AC_SUBST(MOZ_LIB)
AC_SUBST(MOZ_LIB_XPCOM) AC_SUBST(MOZ_LIB_XPCOM)
AC_SUBST(MOZ_NSPR_CFLAGS)
AC_SUBST(MOZ_NSS_CFLAGS) AC_SUBST(MOZ_NSS_CFLAGS)
AC_SUBST(MOZ_LDAP_CFLAGS) AC_SUBST(MOZ_LDAP_CFLAGS)