ObjFW  Check-in [5a21508a04]

Overview
Comment:Only run tests if we're not cross-compiling.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5a21508a04ff49a0069ce6dce2ce32981a4c4ded32cb1b14e0a847c2d355b7e7
User & Date: js on 2008-11-01 18:38:34
Other Links: manifest | tags
Context
2008-11-01
18:56
Update buildsys. check-in: a3c93e6469 user: js tags: trunk
18:38
Only run tests if we're not cross-compiling. check-in: 5a21508a04 user: js tags: trunk
18:21
Reduce object calls in OFHashes. check-in: 9c0e2dbc57 user: js tags: trunk
Changes

Modified Makefile from [46a291b6bc] to [533c720f43].



1
2
3
4


SUBDIRS = src tests
DISTCLEAN = aclocal.m4 autom4te.cache buildsys.mk config.log config.status

include buildsys.mk
>
>
|



1
2
3
4
5
6
include extra.mk

SUBDIRS = src ${TESTS}
DISTCLEAN = aclocal.m4 autom4te.cache buildsys.mk config.log config.status

include buildsys.mk

Modified configure.ac from [75fb3f3332] to [901da6aadb].

28
29
30
31
32
33
34


35
36
37
38
	AC_DEFINE(HAVE_SEL_GET_NAME, 1, [Whether we have sel_get_name])])
AC_CHECK_LIB(objc, sel_getName, [
	have_sel_getName="yes"
	AC_DEFINE(HAVE_SEL_GETNAME, 1, [Whether we have sel_getName])])
test x"$have_sel_get_name" != x"yes" -a x"$have_sel_getName" != x"yes" && \
	AC_ERROR(You need either sel_get_name or sel_getName in libobjc!)



AC_SUBST(PACKAGE, objfw)
AC_CONFIG_FILES(buildsys.mk)
AC_CONFIG_HEADERS(config.h)
AC_OUTPUT







>
>

|


28
29
30
31
32
33
34
35
36
37
38
39
40
	AC_DEFINE(HAVE_SEL_GET_NAME, 1, [Whether we have sel_get_name])])
AC_CHECK_LIB(objc, sel_getName, [
	have_sel_getName="yes"
	AC_DEFINE(HAVE_SEL_GETNAME, 1, [Whether we have sel_getName])])
test x"$have_sel_get_name" != x"yes" -a x"$have_sel_getName" != x"yes" && \
	AC_ERROR(You need either sel_get_name or sel_getName in libobjc!)

test $cross_compiling != x"yes" && AC_SUBST(TESTS, "tests")

AC_SUBST(PACKAGE, objfw)
AC_CONFIG_FILES([buildsys.mk extra.mk])
AC_CONFIG_HEADERS(config.h)
AC_OUTPUT

Modified src/OFArray.h from [e463fcbc2b] to [c4b4209f57].

22
23
24
25
26
27
28
29
30
31

- initWithItemSize: (size_t)is;
- (size_t)size;
- (void*)item: (size_t)item;
- (void*)last;
- add: (void*)item;
- addNItems: (size_t)nitems
    fromCArray: (void*)carray;
- removeLastNItems: (size_t)nitems;
@end







|


22
23
24
25
26
27
28
29
30
31

- initWithItemSize: (size_t)is;
- (size_t)size;
- (void*)item: (size_t)item;
- (void*)last;
- add: (void*)item;
- addNItems: (size_t)nitems
 fromCArray: (void*)carray;
- removeLastNItems: (size_t)nitems;
@end