Differences From Artifact [e96d7e8c11]:
- File
configure.ac
— part of check-in
[0f42b0eafd]
at
2018-01-21 22:16:23
on branch trunk
— Allow building the runtime as a .framework
This also renames ObjFW-RT to ObjFW_RT, as hyphens should not be in
framework names. (user: js, size: 41365) [annotate] [blame] [check-ins using]
To Artifact [438a9335f1]:
- File configure.ac — part of check-in [a31ef8bcfc] at 2018-02-07 21:07:03 on branch trunk — Update buildsys (user: js, size: 41127) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
70 71 72 73 74 75 76 77 78 79 80 81 82 83 | AC_LANG([Objective C]) AC_PROG_OBJC([clang egcc gcc]) AC_PROG_OBJCPP AC_PROG_LN_S AC_PROG_INSTALL AC_PROG_EGREP case "$host" in dnl OpenBSD 6.2 switched to clang for i386 and AMD64, and clang does no dnl longer link in libgcc. Unwinding is unfortunately in libc++abi, so dnl we need that. We add -pthread as libc++abi requires threads. i386-*-openbsd6.[[23456789]] | i386-*-openbsd[[789]].* | \ x86_64-*-openbsd6.[[23456789]] | x86_64-*-openbsd[[789]].*) case "$OBJC" in | > > | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | AC_LANG([Objective C]) AC_PROG_OBJC([clang egcc gcc]) AC_PROG_OBJCPP AC_PROG_LN_S AC_PROG_INSTALL AC_PROG_EGREP BUILDSYS_CHECK_IOS case "$host" in dnl OpenBSD 6.2 switched to clang for i386 and AMD64, and clang does no dnl longer link in libgcc. Unwinding is unfortunately in libc++abi, so dnl we need that. We add -pthread as libc++abi requires threads. i386-*-openbsd6.[[23456789]] | i386-*-openbsd[[789]].* | \ x86_64-*-openbsd6.[[23456789]] | x86_64-*-openbsd[[789]].*) case "$OBJC" in |
︙ | ︙ | |||
484 485 486 487 488 489 490 | AC_SUBST(REEXPORT_RUNTIME_FRAMEWORK, ["-Wl,-reexport_framework,ObjFW_RT"]) ]) AC_CHECK_HEADERS(sysdir.h) AC_CHECK_FUNCS(sysdir_start_search_path_enumeration) | < < < | < < < < < < < < < | 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 | AC_SUBST(REEXPORT_RUNTIME_FRAMEWORK, ["-Wl,-reexport_framework,ObjFW_RT"]) ]) AC_CHECK_HEADERS(sysdir.h) AC_CHECK_FUNCS(sysdir_start_search_path_enumeration) AS_IF([test x"$host_is_ios" = x"yes"], [ AC_SUBST(TESTS_STATIC_LIB, tests.a) TESTS_LIBS="$TESTS_LIBS -framework CoreFoundation" ]) ;; esac AC_C_BIGENDIAN([ AC_DEFINE(OF_BIG_ENDIAN, 1, [Whether we are big endian]) ]) |
︙ | ︙ |