Skip to content

Commit a67c6ef

Browse files
committed
Move auto-added m4 files to auto-m4/ subdir
Have the autotools place their m4 files into the auto-m4/ subdir to separate them from our own m4 files. Not using AC_CONFIG_MACRO_DIRS for backwards compatibility.
1 parent 8e5eb60 commit a67c6ef

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,4 @@ backup-avrdude-conf:
248248
${DESTDIR}${sysconfdir}/avrdude.conf.bak; \
249249
fi
250250

251-
ACLOCAL_AMFLAGS = -I m4 -I build-helpers
251+
ACLOCAL_AMFLAGS = -I auto-m4 -I build-helpers

src/auto-m4/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Ensure creation of empty directory for autotools to place files into
2+
*

src/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ AC_INIT([avrdude],
5353
AC_CONFIG_SRCDIR([main.c])
5454
AC_CONFIG_AUX_DIR([auto-aux])
5555
AC_CONFIG_HEADERS([ac_cfg.h])
56-
AC_CONFIG_MACRO_DIR([m4])
56+
AC_CONFIG_MACRO_DIR([auto-m4])
5757

5858
AC_CANONICAL_BUILD
5959
AC_CANONICAL_HOST

0 commit comments

Comments
 (0)