clean up automake/pkg-config handling, move separate host/package variable exports...
[openwrt-10.03/.git] / tools / automake / files / aclocal
index 60278e2ab089ffde394c908e2b49ec6cb784c470..a60df10c4269296d0d9e3da31e02852b403542da 100755 (executable)
@@ -1,10 +1,2 @@
 #!/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 $@
+aclocal.real $ACLOCAL_INCLUDE $@