Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libvisual-plugins/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Process this file with automake to generate a Makefile.in

ACLOCAL_AMFLAGS = -I m4 --install
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = plugins po

Expand Down
16 changes: 16 additions & 0 deletions libvisual-plugins/autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,27 @@

set -e -u

# For alsa.m4 (with "L" in ALSA meaning "Linux") we want three things:
# - That a build on macOS is fully okay without it.
# - That "make dist" results from Linux contain a healthy m4/alsa.m4 file.
# - That running ./autogen.sh (or autoreconf) on a host
# without ALSA development files installed still succeeds.
alsa_m4="$(aclocal --print-ac-dir)"/alsa.m4
if [[ -f "${alsa_m4}" ]]; then
mkdir -p m4/
cp -v "${alsa_m4}" m4/
fi
if [[ "$(uname -s)" == Darwin ]]; then
# This provides a dummy substitute to alsa.m4 on macOS
# and that is a reason why "make dist" should be run on Linux, not macOS.
echo 'AC_DEFUN([AM_PATH_ALSA], [HAVE_ALSA=no])' > acinclude.m4
elif [[ ! -f m4/alsa.m4 ]]; then
echo "ERROR: Please install ALSA development files before running" >&2
echo " '$0' on Linux." >&2
exit 1
fi

# NOTE: We're running things twice to workaround bug "too many loops" in aclocal
autoreconf --install --verbose --force || \
autoreconf --install --verbose --force

Expand Down
10 changes: 0 additions & 10 deletions libvisual-plugins/po/boldquot.sed

This file was deleted.

6 changes: 0 additions & 6 deletions libvisual-plugins/po/quot.sed

This file was deleted.

1 change: 0 additions & 1 deletion libvisual-plugins/po/stamp-po

This file was deleted.

1 change: 1 addition & 0 deletions libvisual/autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

set -e -u

# NOTE: We're running things twice to workaround bug "too many loops" in aclocal
autoreconf --install --verbose --force || \
autoreconf --install --verbose --force

Expand Down
Loading