Fix for mozilla built with system nspr
This commit is contained in:
parent
26d3be7b6c
commit
7034e1d36f
12
configure.ac
12
configure.ac
@ -52,6 +52,18 @@ AC_SUBST(GECKO_CFLAGS)
|
||||
|
||||
AC_DEFINE([HAVE_GECKO_1_9],[1],[Define if we have gecko 1.9])
|
||||
|
||||
PKG_CHECK_MODULES(NSPR, [nspr],
|
||||
[have_nspr=true],
|
||||
[
|
||||
PKG_CHECK_MODULES(NSPR, [mozilla-nspr],
|
||||
[have_nspr=true],
|
||||
have_nspr=false)
|
||||
])
|
||||
|
||||
if test "x$have_nspr" = xfalse; then
|
||||
AC_MSG_ERROR([Could not find nspr])
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
# xulrunner 1.8
|
||||
|
@ -4,6 +4,7 @@ INCLUDES = \
|
||||
$(PYCAIRO_CFLAGS) \
|
||||
$(LIB_CFLAGS) \
|
||||
$(GECKO_CFLAGS) \
|
||||
$(NSPR_CFLAGS) \
|
||||
-I$(MOZILLA_INCLUDE_DIR)/gtkembedmoz \
|
||||
-I$(top_srcdir)/lib/src
|
||||
|
||||
|
@ -2,6 +2,7 @@ libsugarprivate_la_CPPFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
$(LIB_CFLAGS) \
|
||||
$(GECKO_CFLAGS) \
|
||||
$(NSPR_CFLAGS) \
|
||||
-I$(MOZILLA_INCLUDE_DIR)/dom \
|
||||
-I$(MOZILLA_INCLUDE_DIR)/exthandler \
|
||||
-I$(MOZILLA_INCLUDE_DIR)/gtkembedmoz \
|
||||
|
Loading…
Reference in New Issue
Block a user