From 6746b751c4db8caed29e26862798d11b7905693a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 27 Jan 2014 09:13:11 +0100 Subject: autogen.sh: don't run aclocal with -I /usr/local/share/aclocal I expect that aclocal is clever enough to find its own include directories. If it does not, letting MPD guess it is not the most reliable idea either. --- autogen.sh | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/autogen.sh b/autogen.sh index d3ca3d2d3..9cacd7671 100755 --- a/autogen.sh +++ b/autogen.sh @@ -102,23 +102,6 @@ echo "Generating configuration files for $package, please wait...." ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" -# /usr/share/aclocal is most likely included by default, already... -ac_local_paths=' -/usr/local/share/aclocal -/sw/share/aclocal -/usr/pkg/share/aclocal -/opt/share/aclocal -/usr/gnu/share/aclocal -' - -for i in $ac_local_paths; do - if test -d "$i"; then - ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $i" - # we probably only want one of these... - break - fi -done - rm -rf config.cache build mkdir build -- cgit v1.2.3