summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 69c8869e9dcc7414358b6120db93eae567dace4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
aclocaldir = $(prefix)/share/aclocal

# sorted, please
dist_aclocal_DATA = \
	autoconf-archive/m4/ax_append_compile_flags.m4			\
	autoconf-archive/m4/ax_append_flag.m4				\
	autoconf-archive/m4/ax_check_compile_flag.m4			\
	autoconf-archive/m4/ax_is_release.m4				\
	autoconf-archive/m4/ax_compiler_flags.m4			\
	autoconf-archive/m4/ax_compiler_flags_cflags.m4			\
	autoconf-archive/m4/ax_compiler_flags_cxxflags.m4		\
	autoconf-archive/m4/ax_compiler_flags_ldflags.m4		\
	autoconf-archive/m4/ax_compiler_flags_gir.m4			\
	autoconf-archive/m4/ax_require_defined.m4			\
	$(NULL)

all-local: $(dist_aclocal_DATA)
	cat $^ | grep -v '^#' | sed -e 's/\<dnl\>.*//' | grep -o '\<AX_[A-Z0-9_]*\>' | sort | uniq > used
	cat $^ | grep ^AC_DEFUN | grep -o '\<AX_[A-Z0-9_]*\>' | sort | uniq > defined
	diff -u used defined
	rm -f used defined