Check for existence of target aclocal folder before including them.
SVN-Revision: 12934
This commit is contained in:
		| @@ -1,5 +1,10 @@ | |||||||
| #!/usr/bin/env sh | #!/usr/bin/env sh | ||||||
| aclocal.real \ | if [ -d ${STAGING_DIR}/host/share/aclocal ]; then | ||||||
|     -I ${STAGING_DIR}/host/share/aclocal \ |     aclocal_include_dirs="-I ${STAGING_DIR}/host/share/aclocal" | ||||||
|     -I ${STAGING_DIR}/usr/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 $@ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Lars-Peter Clausen
					Lars-Peter Clausen