Overview
Comment: | configure: Always use Apple runtime on macOS
clang is currently broken when trying to use a GNU-style runtime with |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 1.0 |
Files: | files | file ages | folders |
SHA3-256: |
eb608dc5f1cf5b587a133c131523fbfd |
User & Date: | js on 2020-10-04 14:54:35 |
Other Links: | branch diff | manifest | tags |
Context
2020-10-04
| ||
15:17 | Remove lookup-asm-x86_64-macho.S check-in: 5672243f7f user: js tags: 1.0 | |
14:54 | configure: Always use Apple runtime on macOS check-in: eb608dc5f1 user: js tags: 1.0 | |
14:39 | Merge trunk into 1.0 branch check-in: a9f08709d2 user: js tags: 1.0 | |
Changes
Modified configure.ac from [9edc1218ae] to [77b8789dbd].
︙ | ︙ | |||
443 444 445 446 447 448 449 | CPPFLAGS="-D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS $CPPFLAGS" ;; esac objc_runtime="ObjFW runtime" AC_CHECK_HEADER(objc/objc.h) AC_MSG_CHECKING(which Objective C runtime to use) | < < < < | 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 | CPPFLAGS="-D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS $CPPFLAGS" ;; esac objc_runtime="ObjFW runtime" AC_CHECK_HEADER(objc/objc.h) AC_MSG_CHECKING(which Objective C runtime to use) AC_ARG_ENABLE(seluid24, AS_HELP_STRING([--enable-seluid24], [use 24 bit instead of 16 bit for selector UIDs])) AS_IF([test x"$ac_cv_header_objc_objc_h" = x"yes"], [ AC_EGREP_CPP(egrep_cpp_yes, [ #import <objc/objc.h> #ifdef OBJC_BOOL_DEFINED egrep_cpp_yes #endif ], [ objc_runtime="Apple runtime" ], [ dnl We don't want the GNU runtime : ]) ]) AC_MSG_RESULT($objc_runtime) case "$objc_runtime" in "ObjFW runtime") AC_DEFINE(OF_OBJFW_RUNTIME, 1, [Whether we use the ObjFW runtime]) |
︙ | ︙ |