2008-04-09 22:17:42 +00:00
|
|
|
### Eclipse Workspace Patch 1.0
|
|
|
|
#P org.eclipse.swt
|
2008-04-25 16:55:36 +00:00
|
|
|
Index: Eclipse_SWT_PI/gtk/library/build.sh
|
2008-04-09 22:17:42 +00:00
|
|
|
===================================================================
|
2008-04-25 16:55:36 +00:00
|
|
|
RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_PI/gtk/library/build.sh,v
|
2008-04-09 22:17:42 +00:00
|
|
|
retrieving revision 1.46
|
|
|
|
diff -u -r1.46 build.sh
|
2008-04-25 16:55:36 +00:00
|
|
|
--- Eclipse_SWT_PI/gtk/library/build.sh 22 Oct 2007 21:18:51 -0000 1.46
|
|
|
|
+++ Eclipse_SWT_PI/gtk/library/build.sh 9 Apr 2008 19:45:37 -0000
|
2008-04-09 22:17:42 +00:00
|
|
|
@@ -103,8 +103,14 @@
|
|
|
|
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
|