### Eclipse Workspace Patch 1.0 #P org.eclipse.swt Index: Eclipse_SWT_PI/gtk/library/build.sh =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_PI/gtk/library/build.sh,v retrieving revision 1.46 diff -u -r1.46 build.sh --- 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 @@ -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