To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68299
                 Issue #|68299
                 Summary|Check for KDE version broken in ./configure
               Component|tools
                 Version|680m181
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|kendy





------- Additional comments from [EMAIL PROTECTED] Wed Aug  9 10:02:54 -0700 
2006 -------
The fix:

--- config_office/configure.in  2006-08-09 18:54:35.000000000 +0200
+++ config_office/configure.in  2006-08-09 18:54:39.000000000 +0200
@@ -2768,8 +2768,7 @@ if test "z$enable_odk" = "z" -o "$enable
       if test "$MINGWSTRIP" = "false"; then
          AC_MSG_ERROR(MinGW32 binutils needed. Install them.)
       fi
-      AC_LANG_SAVE
-      AC_LANG_CPLUSPLUS
+      AC_LANG(C++)
       save_CXX=$CXX
       save_CXXCPP=$CXXCPP
       CXX=$MINGWCXX
@@ -2790,7 +2789,7 @@ if test "z$enable_odk" = "z" -o "$enable
       CXX=$save_CXX
       CXXCPP=$save_CXXCPP
       LIBS=$save_LIBS
-      AC_LANG_RESTORE
+      AC_LANG(C)
    fi
    BUILD_TYPE="$BUILD_TYPE ODK"
 else
@@ -4897,8 +4896,6 @@ dnl ====================================
 AC_MSG_CHECKING([whether to enable KDE address book support])
 if test "$enable_kdeab" = "yes" && test "$enable_kde" = "yes"; then
    AC_MSG_RESULT([yes])
-   AC_LANG_SAVE
-   AC_LANG_CPLUSPLUS
    save_CXXFLAGS=$CXXFLAGS
    CXXFLAGS="$CXXFLAGS $KDE_CFLAGS"
    AC_MSG_CHECKING([whether KDE is between 3.2 and 3.6])
@@ -4911,7 +4908,6 @@ int main(int argc, char **argv) {
 }
        ], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR([KDE version too old or too 
recent, please use another version of KDE or disable KDE address book 
support])])
    CXXFLAGS=$save_CXXFLAGS
-   AC_LANG_RESTORE
    ENABLE_KAB=TRUE
 else
    AC_MSG_RESULT([no])

Reason:

gcc is used to compile the test; but then the KDE cflags are missing.  Happened 
after integration of something that sets the lang explicitely to C - fixed as 
well by this patch.

rene: Do you have a CWS for this, please? ;-)

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

Reply via email to