Overview
| Comment: | configure: Use AC_CONFIG_FILES conditionally
This avoids creating files in directories that are never used by make |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
7ac3c91102a80cc02a4148ee259702e6 |
| User & Date: | js on 2020-08-11 00:30:37 |
| Other Links: | manifest | tags |
Context
|
2020-08-11
| ||
| 00:44 | Add Info.plist for runtime (check-in: 8ab2b75d24 user: js tags: trunk) | |
| 00:30 | configure: Use AC_CONFIG_FILES conditionally (check-in: 7ac3c91102 user: js tags: trunk) | |
|
2020-08-10
| ||
| 20:55 | ofhttp: Average the speed over the last 10 seconds (check-in: 30e8df31a0 user: js tags: trunk) | |
Changes
Modified configure.ac from [69c688a7b0] to [f8e26f1d63].
| ︙ | |||
410 411 412 413 414 415 416 417 418 419 420 421 422 423 | 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 | + |
])
AC_DEFINE_UNQUOTED(PLUGIN_SUFFIX, "$PLUGIN_SUFFIX", [Suffix for plugins])
AS_IF([test x"$enable_files" != x"no" -a x"$PLUGIN_SUFFIX" != x""], [
AC_SUBST(USE_SRCS_PLUGINS, '${SRCS_PLUGINS}')
AC_SUBST(TESTPLUGIN, "plugin")
AC_DEFINE(OF_HAVE_PLUGINS, 1, [Whether we have plugin support])
AC_CONFIG_FILES(tests/plugin/Info.plist)
AS_IF([test x"$build_framework" = x"yes"], [
TESTPLUGIN_LIBS="-F../../src -F../../src/runtime"
TESTPLUGIN_LIBS="$TESTPLUGIN_LIBS -framework ObjFW"
TESTPLUGIN_LIBS="$TESTPLUGIN_LIBS \${RUNTIME_FRAMEWORK_LIBS}"
], [
TESTPLUGIN_LIBS="-L../../src -L../../src/runtime"
|
| ︙ | |||
1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 | 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 | + |
AC_CHECK_FUNC(pledge, [
AC_DEFINE(OF_HAVE_PLEDGE, 1, [Whether we have pledge()])
])
AS_IF([test x"$objc_runtime" = x"Apple runtime"], [
AC_CHECK_HEADER(Foundation/NSObject.h, [
AC_SUBST(BRIDGE, "bridge")
AC_CONFIG_FILES(src/bridge/Info.plist)
AS_IF([test x"$enable_shared" != x"no"], [
AC_SUBST(OBJFWBRIDGE_SHARED_LIB,
"${LIB_PREFIX}objfwbridge${LIB_SUFFIX}")
])
AS_IF([test x"$enable_static" = x"yes" \
-o x"$enable_shared" = x"no"], [
|
| ︙ | |||
1905 1906 1907 1908 1909 1910 1911 | 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 | - - | AC_SUBST(TESTS_LIBS) AC_CONFIG_FILES([ buildsys.mk extra.mk src/Info.plist |
| ︙ |