diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/openjade | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/openjade')
-rw-r--r-- | packages/openjade/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/openjade/openjade-1.3.2/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/openjade/openjade-1.3.2/configure.patch | 70 |
3 files changed, 70 insertions, 0 deletions
diff --git a/packages/openjade/.mtn2git_empty b/packages/openjade/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/openjade/.mtn2git_empty diff --git a/packages/openjade/openjade-1.3.2/.mtn2git_empty b/packages/openjade/openjade-1.3.2/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/openjade/openjade-1.3.2/.mtn2git_empty diff --git a/packages/openjade/openjade-1.3.2/configure.patch b/packages/openjade/openjade-1.3.2/configure.patch index e69de29bb2..c6cd78745a 100644 --- a/packages/openjade/openjade-1.3.2/configure.patch +++ b/packages/openjade/openjade-1.3.2/configure.patch @@ -0,0 +1,70 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ openjade-1.3.2/config/acinclude.m4 2004-01-20 14:39:20.000000000 -0500 +@@ -0,0 +1,62 @@ ++dnl ++dnl Examine size_t and define SIZE_T_IS_UINT, if size_t is an unsigned int ++dnl ++AC_DEFUN(OJ_SIZE_T_IS_UINT,[ ++ AC_REQUIRE([AC_TYPE_SIZE_T]) ++ AC_MSG_CHECKING(whether size_t is unsigned int) ++ ac_cv_size_t_is_uint=no ++ AC_LANG_SAVE ++ AC_LANG_CPLUSPLUS ++ AC_TRY_COMPILE([#include <unistd.h> ++ ++ template<class T> class foo { }; ++ ++ ], [ ++ foo<size_t> x; ++ foo<unsigned int> y; ++ x = y; ++ ],ac_cv_size_t_is_uint=yes) ++ AC_LANG_RESTORE ++ AC_MSG_RESULT($ac_cv_size_t_is_uint) ++ test "$ac_cv_size_t_is_uint" = "yes" && AC_DEFINE(SIZE_T_IS_UINT) ++]) ++ ++dnl Configure-time switch with default ++dnl ++dnl Each switch defines an --enable-FOO and --disable-FOO option in ++dnl the resulting configure script. ++dnl ++dnl Usage: ++dnl smr_SWITCH(name, description, default, pos-def, neg-def) ++dnl ++dnl where: ++dnl ++dnl name name of switch; generates --enable-name & --disable-name ++dnl options ++dnl description help string is set to this prefixed by "enable" or ++dnl "disable", whichever is the non-default value ++dnl default either "on" or "off"; specifies default if neither ++dnl --enable-name nor --disable-name is specified ++dnl pos-def a symbol to AC_DEFINE if switch is on (optional) ++dnl neg-def a symbol to AC_DEFINE if switch is off (optional) ++dnl ++AC_DEFUN(smr_SWITCH, [ ++ AC_MSG_CHECKING(whether to enable $2) ++ AC_ARG_ENABLE( ++ $1, ++ ifelse($3, on, ++ [ --disable-[$1] disable [$2]], ++ [ --enable-[$1] enable [$2]]), ++ [ if test "$enableval" = yes; then ++ AC_MSG_RESULT(yes) ++ ifelse($4, , , AC_DEFINE($4)) ++ else ++ AC_MSG_RESULT(no) ++ ifelse($5, , , AC_DEFINE($5)) ++ fi ], ++ ifelse($3, on, ++ [ AC_MSG_RESULT(yes) ++ ifelse($4, , , AC_DEFINE($4)) ], ++ [ AC_MSG_RESULT(no) ++ ifelse($5, , , AC_DEFINE($5))]))]) ++ |