[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: [Bug 74004] bash shell syntax that is incompatible with bourne
From:       Sven Langkamp <longamp () reallygood ! de>
Date:       2004-02-04 14:42:44
Message-ID: 200402041542.44451.longamp () reallygood ! de
[Download RAW message or body]

Am Tuesday 03 February 2004 18:11 schrieb Nicolas Goutte:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=74004
> nicolasg@snafu.de changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |FIXED
>
>
>
> ------- Additional Comments From nicolasg@snafu.de  2004-02-03 18:10
> ------- Subject: KOFFICE_1_3_BRANCH: koffice
>
> CVS commit by goutte:
>
> Better check for KDE 3.1 (central and portable)
> (Backport but uses AC_TRY_COMPILE instead of AC_COMPILE_IFELSE)
> CCMAIL:74004-close@bugs.kde.org
>
>
>   M +32 -0     configure.in.in   1.40.2.3
>   M +1 -1      kugar/Makefile.am   1.13.2.1
>   M +1 -1      mimetypes/Makefile.am   1.3.2.1
>   R            kugar/configure.in.in   1.1
>   R            mimetypes/configure.in.in   1.2
>
>
> --- koffice/mimetypes/Makefile.am  #1.3:1.3.2.1
> @@ -1,3 +1,3 @@
> -if compile_mimetypes_kde31
> +if need_kde31_compatibility
>    KDE31MIMEDIR = kde31
>  endif
>
> --- koffice/kugar/Makefile.am  #1.13:1.13.2.1
> @@ -1,4 +1,4 @@
>  #SUBDIRS = lib part shell samples kudesigner
> -if compile_mimetypes_kde31
> +if need_kde31_compatibility
>      KDE31MIMEDIR = kde31
>  endif
>
> --- koffice/configure.in.in  #1.40.2.2:1.40.2.3
> @@ -113,2 +113,34 @@
>    fi
>  ])
> +
> +# --- Check for KDE 3.1 ---
> +
> +AC_MSG_CHECKING([for KDE newer than 3.1.x])
> +
> +AC_LANG_SAVE
> +AC_LANG_CPLUSPLUS
> +kdeversion_save_CXXFLAGS="$CXXFLAGS"
> +kdeversion_safe_LIBS="$LIBS"
> +LIBS="$LIBS $X_EXTRA_LIBS"
> +CXXFLAGS="$CXXFLAGS $all_includes"
> +
> +AC_TRY_COMPILE([
> +#include <kdeversion.h>
> +#if ! ( KDE_IS_VERSION( 3, 1, 90 ) )
> +#error KDE 3.1
> +#endif
> +],
> +[],
> +        old_kde_version="no"
> +        AC_MSG_RESULT(yes)
> +,
> +        old_kde_version="yes"
> +        AC_MSG_RESULT(no)
> +)
> +CXXFLAGS="$kdeversion_save_CXXFLAGS"
> +LIBS="$kdeversion_safe_LIBS"
> +AC_LANG_RESTORE
> +
> +AM_CONDITIONAL(need_kde31_compatibility, test "$old_kde_version" = "yes")
> +
> +# --- End KDE 3.1 check ---

This commit broke running on bash for me.

Sven
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic