1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 16:27:31 +02:00
openwrt-xburst/tools/automake/files/aclocal
lars 3286421e36 Check for existence of target aclocal folder before including them.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-09 12:55:08 +00:00

11 lines
341 B
Bash
Executable File

#!/usr/bin/env sh
if [ -d ${STAGING_DIR}/host/share/aclocal ]; then
aclocal_include_dirs="-I ${STAGING_DIR}/host/share/aclocal"
else
aclocal_include_dirs=
fi
if [ -d ${STAGING_DIR}/usr/share/aclocal ]; then
aclocal_include_dirs="$aclocal_include_dirs -I ${STAGING_DIR}/usr/share/aclocal"
fi
aclocal.real $aclocal_include_dirs $@