To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=114828
                 Issue #|114828
                 Summary|configure: fix aclocal
               Component|tools
                 Version|current
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|configure
             Assigned to|rene
             Reported by|rene





------- Additional comments from r...@openoffice.org Wed Sep 29 13:30:05 +0000 
2010 -------
aclocal'izing OOo currently "works" but the configure script later fails in
freetype, because it "cannot find pkg-config". Though it's there.

The autoconf docs say:

# Note that if there is a possibility the first call to
# PKG_CHECK_MODULES might not happen, you should be sure to include an
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac

so we should do that :):

diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -3438,6 +3438,16 @@
 fi

 dnl ===================================================================
+dnl Check for pkg-config
+dnl # Note that if there is a possibility the first call to
+dnl # PKG_CHECK_MODULES might not happen, you should be sure to include an
+dnl # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+dnl ===================================================================
+if test "$_os" != "WNT" -o "$_os" != "Darwin"; then
+       PKG_PROG_PKG_CONFIG
+fi
+
+dnl ===================================================================
 dnl Check for building stax
 dnl ===================================================================
 AC_MSG_CHECKING([whether to build the stax])

---------------------------------------------------------------------
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: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to