]> code.ossystems Code Review - openembedded-core.git/blob
d4785eaddff415b40f7ae8235c2194ec71b5925c
[openembedded-core.git] /
1 Index: git/configure.ac
2 ===================================================================
3 --- git.orig/configure.ac       2010-01-13 14:57:52.000000000 +0000
4 +++ git/configure.ac    2010-01-13 15:01:35.000000000 +0000
5 @@ -57,6 +57,13 @@
6  NBTKDATADIR=`${PKG_CONFIG} --variable=prefix nbtk-1.2`"/share/nbtk"
7  AC_SUBST(NBTKDATADIR)
8  
9 +IDLPREFIX=
10 +AC_ARG_WITH(idl-prefix, AC_HELP_STRING([--with-idl-prefix=DIR],[prefix to add to access to the idl files]), with_idl_prefix=${withval})
11 +if test x"${with_idl_prefix}" != x ; then
12 +   IDLPREFIX=${with_idl_prefix}
13 +fi
14 +AC_SUBST([IDLPREFIX])
15 +
16  if test "x$build_browser" = "xyes"; then
17     PKG_CHECK_MODULES(MWB,
18           clutter-1.0
19 Index: git/libmwbpages/Makefile.am
20 ===================================================================
21 --- git.orig/libmwbpages/Makefile.am    2010-01-13 14:57:52.000000000 +0000
22 +++ git/libmwbpages/Makefile.am 2010-01-13 15:02:20.000000000 +0000
23 @@ -26,10 +26,10 @@
24  mwb-pages-service.lo : MwbIPagesService.h
25  
26  .idl.h :
27 -       $(MOZHOME)/xpidl -I $(MOZIDLDIR) -m header $<
28 +       xpidl -I $(IDLPREFIX)$(MOZIDLDIR) -m header $<
29  
30  .idl.xpt :
31 -       $(MOZHOME)/xpidl -I $(MOZIDLDIR) -m typelib $<
32 +       xpidl -I $(IDLPREFIX)$(MOZIDLDIR) -m typelib $<
33  
34  xpt_DATA = MwbIPagesService.xpt
35  xptdir = $(pkgdatadir)/components