summaryrefslogtreecommitdiff
path: root/bin/aclocal.in
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2017-07-08 20:18:45 +0200
committerMathieu Lirzin <mthl@gnu.org>2017-08-31 11:55:02 +0200
commit574b20e518079db0f91720c0641e4222d9fda84f (patch)
tree68ea05618bf068d336d80aa85a0eed084347e35f /bin/aclocal.in
parent99cf7ca5ed35afa9552a3a2429963130700a0fde (diff)
downloadautomake-574b20e518079db0f91720c0641e4222d9fda84f.tar.gz
build: Inline perl prototypes in sources
Prototypes allows us to avoid using the '&foo' invocation form when invoking a subroutine before its definition. Previously those prototypes were generated to prevent them from falling out-of-sync with actual definitions. Now we provide a 'check-perl-protos' lint script to ensure that this is not the case. This has the same benefits as generating prototypes while simplifying the bootstrap/build process. * bin/gen-perl-protos: Remove. * bin/Makefile.inc: Adapt. * bootstrap: Likewise. * bin/aclocal.in: Inline prototypes. * bin/automake.in: Likewise. * maintainer/check-perl-protos: New lint script. * maintainer/syntax-checks.mk (sc_perl_protos): New target. (syntax_check_rules): Add it.
Diffstat (limited to 'bin/aclocal.in')
-rw-r--r--bin/aclocal.in21
1 files changed, 20 insertions, 1 deletions
diff --git a/bin/aclocal.in b/bin/aclocal.in
index 738996f39..64fd66233 100644
--- a/bin/aclocal.in
+++ b/bin/aclocal.in
@@ -173,7 +173,26 @@ use constant SCAN_M4_DIRS_ERROR => 2;
# Prototypes for all subroutines.
-#! Prototypes here will automatically be generated by the build system.
+sub add_file ($);
+sub add_macro ($);
+sub check_acinclude ();
+sub install_file ($$);
+sub list_compare (\@\@);
+sub parse_ACLOCAL_PATH ();
+sub parse_arguments ();
+sub reset_maps ();
+sub scan_configure ();
+sub scan_configure_dep ($);
+sub scan_file ($$$);
+sub scan_m4_dirs ($$@);
+sub scan_m4_files ();
+sub strip_redundant_includes (%);
+sub trace_used_macros ();
+sub unlink_tmp (;$);
+sub usage ($);
+sub version ();
+sub write_aclocal ($@);
+sub xmkdir_p ($);
################################################################