To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=98370
------- Additional comments from [email protected] Wed Jan 28 10:36:50 +0000 2009 ------- --- configure.in (revision 266964) +++ configure.in (working copy) @@ -4029,7 +4029,13 @@ PKG_CHECK_MODULES( MOZ_NSPR, $MOZ_FLAVOUR-nspr ) fi - if $PKG_CONFIG --exists libxul ; then + if test "$MOZ_FLAVOUR" != "libxul"; then + PKG_CHECK_MODULES( MOZILLAXPCOM, $MOZ_FLAVOUR-xpcom, HASXPCOM="TRUE", HASXPCOM="" ) + MOZ_INC=`$PKG_CONFIG --variable=includedir $MOZ_FLAVOUR-xpcom` + MOZ_LIB=`$PKG_CONFIG --variable=libdir $MOZ_FLAVOUR-xpcom` + fi + + if test -z "$HASXPCOM"; then PKG_CHECK_MODULES( MOZILLAXPCOM, libxul ) MOZ_INC=`$PKG_CONFIG --variable=includedir libxul` MOZ_LIB=`$PKG_CONFIG --variable=libdir libxul` why not just if .. else .. fi instead of test -z "$HASXPCOM"? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
