File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 11# # Process this file with automake to generate a Makefile.in
22
3- ACLOCAL_AMFLAGS = -I m4 --install
3+ ACLOCAL_AMFLAGS = -I m4
44
55SUBDIRS = plugins po
66
Original file line number Diff line number Diff line change @@ -6,7 +6,18 @@ set -e -u
66
77if [[ " $( uname -s) " == Darwin ]]; then
88 # This provides a dummy substitute to alsa.m4 on macOS
9+ # and that is a reason why "make dist" should be run on Linux, not macOS.
910 echo ' AC_DEFUN([AM_PATH_ALSA], [HAVE_ALSA=no])' > acinclude.m4
11+ else
12+ # This will make aclocal add line "m4_include([m4/alsa.m4])"
13+ # to acinclude.m4 rather than inlining the content of alsa.m4 .
14+ # As a result, package mantainers are able to run ./autogen.sh
15+ # (or autoreconf) without any ALSA development files installed.
16+ alsa_m4=" $( aclocal --print-ac-dir) " /alsa.m4
17+ if [[ -f " ${alsa_m4} " ]]; then
18+ mkdir -p m4/
19+ cp -v " ${alsa_m4} " m4/alsa.m4
20+ fi
1021fi
1122
1223autoreconf --install --verbose --force || \
You can’t perform that action at this time.
0 commit comments