Skip to content

Commit e1eddbe

Browse files
committed
btrfs-progs: build: reuse config/ directory for m4 macros
Move files from m4/ to config that is also used for build and we can reduce the number of toplevel directories. Signed-off-by: David Sterba <dsterba@suse.com>
1 parent 3c1b96b commit e1eddbe

File tree

7 files changed

+5
-7
lines changed

7 files changed

+5
-7
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
/aclocal.m4
5555
/autom4te.cache
5656
/config.cache
57-
/config/*
5857
/include/config.h
5958
/include/config.h.in
6059
/include/config.h.in~

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ clean-gen:
865865
Documentation/Makefile tags TAGS \
866866
cscope.files cscope.out cscope.in.out cscope.po.out \
867867
config.log include/config.h include/config.h.in~ aclocal.m4 \
868-
configure autom4te.cache/ config/
868+
configure autom4te.cache/
869869

870870
clean-dep:
871871
@echo "Cleaning dependency files"

autogen.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ echo " automake: $(automake --version | head -1)"
6363

6464
rm -rf autom4te.cache
6565

66-
aclocal -I m4 $AL_OPTS &&
67-
autoconf -I m4 $AC_OPTS &&
68-
autoheader -I m4 $AH_OPTS ||
66+
aclocal -I config $AL_OPTS &&
67+
autoconf -I config $AC_OPTS &&
68+
autoheader -I config $AH_OPTS ||
6969
exit 1
7070

7171
# it's better to use helper files from automake installation than
@@ -87,7 +87,6 @@ find_autofile() {
8787
exit 1
8888
}
8989

90-
mkdir -p config/
9190
find_autofile config.guess
9291
find_autofile config.sub
9392
find_autofile install-sh
File renamed without changes.
File renamed without changes.
File renamed without changes.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ AC_SUBST([CFLAGS])
3030
AC_PREREQ([2.60])
3131

3232
AC_CONFIG_AUX_DIR([config])
33-
AC_CONFIG_MACRO_DIR([m4])
33+
AC_CONFIG_MACRO_DIR([config])
3434
dnl AC_USE_SYSTEM_EXTENSIONS must be called before any macros that run
3535
dnl the compiler (like AC_PROG_LIBTOOL) to avoid autoconf errors.
3636
AC_USE_SYSTEM_EXTENSIONS

0 commit comments

Comments
 (0)