+2000-07-10 Akim Demaille <akim@epita.fr>
+
+ * doc/autoconf.texi (Coding Style): Some more constraints :).
+
2000-07-10 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_FUNC_STRERROR_R): Aaaaaaarg! Don't leave the
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
AC_DIVERT([HELP_CANON],
[[
-Hosts type:
+System types:
--build=BUILD configure for building on BUILD [guessed]]])dnl
# Make sure we can run config.sub.
$ac_config_sub sun4 >/dev/null 2>&1 ||
])# AC_PATH_X
@end example
+If the macro is long, try to split it into logical chunks. Typically,
+macros which check for a bug in a function and prepare its
+@code{AC_LIBOBJ} replacement should have an auxiliary macro to perform
+this setup.
+
+Do not hesitate to introduce auxiliary macros to factor your code.
In order to highlight this coding style, here is a macro written the old
way:
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
AC_DIVERT([HELP_CANON],
[[
-Hosts type:
+System types:
--build=BUILD configure for building on BUILD [guessed]]])dnl
# Make sure we can run config.sub.
$ac_config_sub sun4 >/dev/null 2>&1 ||