To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=98688
                 Issue #|98688
                 Summary|config.in munges CFLAGS and LDFLAGS
               Component|tools
                 Version|OOo 3.0
                Platform|PC
                     URL|https://www.pooryorick.com/secure/wiki/Pub/BuildOpenOf
                        |fice3
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|configure
             Assigned to|mh
             Reported by|pooryorick





------- Additional comments from pooryor...@openoffice.org Sat Jan 31 20:58:48 
+0000 2009 -------
in configure.in, LDFLAGS and CFLAGS are not properly reset after test for X
libraries.  Here's a patch:


*************************************************
--- configure.in        2009-01-31 15:27:50 -05:00
+++ configure.in.new    2009-01-31 15:34:02 -05:00
@@ -4298,11 +4298,15 @@
    if test -z "$x_includes"; then
       AC_MSG_ERROR([No X includes found]) # Exit
    fi
+   x_cflags_save="$CFLAGS"
+   x_ldflags_save="$LDFLAGS"
    CFLAGS=$X_CFLAGS
    LDFLAGS="$X_LDFLAGS $X_LIBS"
    AC_CHECK_LIB(X11, XOpenDisplay, x_libs="-lX11 $X_EXTRA_LIBS",
[AC_MSG_ERROR([X Development libraries not found])])
    dnl Check if the XauDisposeAuth symbol is provided by libXau.
    AC_CHECK_LIB(Xau, XauDisposeAuth, XAU_LIBS="-lXau", [])
+   CFLAGS="$x_cflags_save"
+   LDFLAGS="$x_ldflags_save"
 else
    x_includes="no_x_includes"
    x_libraries="no_x_libraries"
*************************************************

---------------------------------------------------------------------
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