autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists
SVN-Revision: 24319
This commit is contained in:
parent
591190e215
commit
69aeb3a06c
1 changed files with 8 additions and 1 deletions
|
@ -23,7 +23,14 @@ define libtool_remove_files
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define autoreconf
|
define autoreconf
|
||||||
(cd $(PKG_BUILD_DIR); $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS));
|
(cd $(PKG_BUILD_DIR); \
|
||||||
|
if [ -x ./autogen.sh ]; then \
|
||||||
|
./autogen.sh; \
|
||||||
|
elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \
|
||||||
|
$(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
|
||||||
|
$(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS); \
|
||||||
|
fi \
|
||||||
|
);
|
||||||
endef
|
endef
|
||||||
|
|
||||||
Hooks/InstallDev/Post += libtool_remove_files
|
Hooks/InstallDev/Post += libtool_remove_files
|
||||||
|
|
Loading…
Reference in a new issue