Differences From Artifact [fe1120cd41]:
- File
configure.ac
— part of check-in
[d918acb99d]
at
2018-03-10 20:26:50
on branch trunk
— configure: Use egrep_cpp_yes instead of yes
yes is too generic and might be used in an included header. (user: js, size: 43029) [annotate] [blame] [check-ins using]
To Artifact [026ea97419]:
- File
configure.ac
— part of check-in
[7a488c3062]
at
2018-03-11 00:37:56
on branch trunk
— OFString: Move path handling into a category
This is the first step to have different versions of those for different
operating systems, rather than #ifdefs everywhere.This also has the nice side-effect of not having one implementation in
OFString and another one in OFString_UTF8 anymore. The one in OFString
was a generic version, while the one in OFString_UTF8 was one optimized
for UTF-8 strings. Now only the version optimized for UTF-8 strings
exists, as this is by far the most common string implementation used,
and the overhead of converting from something else to UTF-8 is not more
than converting to UTF-32. (user: js, size: 43058) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
281 282 283 284 285 286 287 | TESTS_LIBS="-F../src -F../src/runtime $TESTS_LIBS" ], [ TESTS_LIBS="-lobjfw \${RUNTIME_LIBS} $TESTS_LIBS" TESTS_LIBS="-L../src -L../src/runtime $TESTS_LIBS" ]) AC_DEFINE_UNQUOTED(PLUGIN_SUFFIX, "$PLUGIN_SUFFIX", [Suffix for plugins]) | | | 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | TESTS_LIBS="-F../src -F../src/runtime $TESTS_LIBS" ], [ TESTS_LIBS="-lobjfw \${RUNTIME_LIBS} $TESTS_LIBS" TESTS_LIBS="-L../src -L../src/runtime $TESTS_LIBS" ]) 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]) AS_IF([test x"$build_framework" = x"yes"], [ TESTPLUGIN_LIBS="-F../../src -F../../src/runtime" TESTPLUGIN_LIBS="$TESTPLUGIN_LIBS -framework ObjFW" |
︙ | ︙ |