nixpkgs/pkgs/development/tools/misc/automake/setup-hook.sh
Eelco Dolstra 7a424b47f6 * Revert the setup hook changes on the trunk (but they remain on the
stdenv-updates branch).

svn path=/nixpkgs/trunk/; revision=9652
2007-11-12 13:51:46 +00:00

8 lines
181 B
Bash

addAclocals () {
if test -d $1/share/aclocal; then
export ACLOCAL_PATH="$ACLOCAL_PATH${ACLOCAL_PATH:+:}$1/share/aclocal"
fi
}
envHooks=(${envHooks[@]} addAclocals)