Commit 6746b751 authored by Max Kellermann's avatar Max Kellermann

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.
parent 544c69c6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment