summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2008-04-10 13:45:44 +0000
committerGrant Gayed <ggayed>2008-04-10 13:45:44 +0000
commitc51fb393ab99325d9af1d3ac8aee99c3635a0d78 (patch)
treefe74bd45f60637bc3c0919eabbfdbce9780b7d05 /bundles/org.eclipse.swt/Eclipse SWT PI/motif/library
parentbbfabdf2b0727f87b75b910596b0ce95c85cc1f5 (diff)
downloadeclipse.platform.swt-c51fb393ab99325d9af1d3ac8aee99c3635a0d78.tar.gz
eclipse.platform.swt-c51fb393ab99325d9af1d3ac8aee99c3635a0d78.tar.xz
eclipse.platform.swt-c51fb393ab99325d9af1d3ac8aee99c3635a0d78.zip
226356 - Build against xulrunner
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/motif/library')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/build.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/build.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/build.sh
index 5b1c39300d..9e2d2b4fd5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/build.sh
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/build.sh
@@ -63,8 +63,14 @@ case $OS in
export MOZILLA_INCLUDES
export MOZILLA_LIBS
MAKE_MOZILLA=make_mozilla
+ elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then
+ MOZILLA_INCLUDES=`pkg-config --cflags libxul`
+ MOZILLA_LIBS=`pkg-config --libs libxul`
+ export MOZILLA_INCLUDES
+ export MOZILLA_LIBS
+ MAKE_MOZILLA=make_mozilla
else
- echo "Mozilla/XPCOM or Firefox/XPCOM libraries not found:"
+ echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM"
echo " *** Mozilla embedding support will not be compiled."
fi
fi