autotools.mk: allow autogen.sh / autoreconf to fail (for now)

SVN-Revision: 24320
This commit is contained in:
Jo-Philipp Wich 2010-12-08 01:19:52 +00:00
parent 69aeb3a06c
commit f3f3be3dfe

View file

@ -25,10 +25,10 @@ endef
define autoreconf define autoreconf
(cd $(PKG_BUILD_DIR); \ (cd $(PKG_BUILD_DIR); \
if [ -x ./autogen.sh ]; then \ if [ -x ./autogen.sh ]; then \
./autogen.sh; \ ./autogen.sh || true; \
elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \ elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \
$(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
$(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS); \ $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \
fi \ fi \
); );
endef endef