]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Move the local m4 macros
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sat, 5 Sep 2020 15:50:02 +0000 (17:50 +0200)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 11 Sep 2020 03:18:42 +0000 (13:18 +1000)
The `aclocal' step is skipped during `autoreconf' because aclocal.m4 is
present.
Move the current aclocal.m4 which contains local macros into the m4/
folder. With this change the aclocal.m4 will be re-created during
changes to the m4/ macro.
This is needed so the `aclocal' can fetch m4 macros from the system if
they are references in the configure script. This is a prerequisite to
use PKG_CHECK_MODULES.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Makefile.in
configure.ac
m4/openssh.m4 [moved from aclocal.m4 with 100% similarity]

index 6e72136c55220d63f9597b3c4fb60de53b89b878..acfb919da83c5c1c81b22a7491244d3f3d82a6ad 100644 (file)
@@ -187,7 +187,7 @@ $(SSHOBJS): Makefile.in config.h
 $(SSHDOBJS): Makefile.in config.h
 configure-check: $(srcdir)/configure
 
-$(srcdir)/configure: configure.ac aclocal.m4
+$(srcdir)/configure: configure.ac $(srcdir)/m4/*.m4
        @echo "ERROR: configure is out of date; please run ${AUTORECONF} (and configure)" 1>&2
        @exit 1
 
index 9ae199bc7f43c2856e445d4d89ba866b1796cc1a..28947a66084550b7a284e7ba86538c843a4a5d4e 100644 (file)
@@ -14,6 +14,7 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
+AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR([ssh.c])
 AC_LANG([C])
 
similarity index 100%
rename from aclocal.m4
rename to m4/openssh.m4