Skip to content

Commit

Permalink
Move auto-added m4 files to auto-m4/ subdir
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ndim committed Feb 19, 2024
1 parent 2c9fe11 commit dcc40cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,4 @@ backup-avrdude-conf:
${DESTDIR}${sysconfdir}/avrdude.conf.bak; \
fi

ACLOCAL_AMFLAGS = -I m4 -I build-helpers
ACLOCAL_AMFLAGS = -I auto-m4 -I build-helpers
2 changes: 2 additions & 0 deletions src/auto-m4/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ensure creation of empty directory for autotools to place files into
*
2 changes: 1 addition & 1 deletion src/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ AC_INIT([avrdude],
AC_CONFIG_SRCDIR([main.c])
AC_CONFIG_AUX_DIR([auto-aux])
AC_CONFIG_HEADERS([ac_cfg.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_MACRO_DIR([auto-m4])

AC_CANONICAL_BUILD
AC_CANONICAL_HOST
Expand Down

0 comments on commit dcc40cf

Please sign in to comment.