Overview
Comment: | Fix check for sel_get_name / sel_getName. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
371bb890d9ecf98aa226299fc2de274d |
User & Date: | js on 2008-11-01 14:25:40 |
Other Links: | manifest | tags |
Context
2008-11-01
| ||
16:44 | Fix missing include. check-in: 9a3c338399 user: js tags: trunk | |
14:25 | Fix check for sel_get_name / sel_getName. check-in: 371bb890d9 user: js tags: trunk | |
2008-10-30
| ||
00:51 | Forgot to change 2 inits. check-in: 6b0fefe13c user: js tags: trunk | |
Changes
Modified configure.ac from [64e6ab3b03] to [75fb3f3332].
︙ | ︙ | |||
18 19 20 21 22 23 24 | OBJCFLAGS="$OBJCFLAGS -fobjc-exceptions" BUILDSYS_SHARED_LIB AC_C_BIGENDIAN([AC_DEFINE(OF_BIG_ENDIAN, 1, [Whether we are big endian])]) AC_CHECK_HEADER(objc/runtime.h, [AC_DEFINE(HAVE_OBJC_RUNTIME_H, 1, [Whether we have objc/runtime.h])]) | > | > | | > | | < | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | OBJCFLAGS="$OBJCFLAGS -fobjc-exceptions" BUILDSYS_SHARED_LIB AC_C_BIGENDIAN([AC_DEFINE(OF_BIG_ENDIAN, 1, [Whether we are big endian])]) AC_CHECK_HEADER(objc/runtime.h, [AC_DEFINE(HAVE_OBJC_RUNTIME_H, 1, [Whether we have objc/runtime.h])]) AC_CHECK_LIB(objc, sel_get_name, [ have_sel_get_name="yes" 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 |