Changeset 24416


Ignore:
Timestamp:
2010-12-10T16:06:31+01:00 (7 years ago)
Author:
nbd
Message:

backport the autoreconf fixup (not enabled by default unless the package makefile requests it)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/include/autotools.mk

    r20570 r24416  
    5050endef 
    5151 
     52define autoreconf 
     53        (cd $(PKG_BUILD_DIR); \ 
     54                $(patsubst %,rm -f %;,$(PKG_REMOVE_FILES)) \ 
     55                if [ -x ./autogen.sh ]; then \ 
     56                        ./autogen.sh || true; \ 
     57                elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \ 
     58                        [ -f ./aclocal.m4 ] && [ ! -f ./acinclude.m4 ] && mv aclocal.m4 acinclude.m4; \ 
     59                        $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ 
     60                                -B $(STAGING_DIR)/host/share/aclocal \ 
     61                                $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \ 
     62                fi \ 
     63        ); 
     64endef 
     65 
     66ifneq ($(filter autoreconf,$(PKG_FIXUP)),) 
     67  Hooks/Configure/Pre += autoreconf 
     68endif 
     69 
    5270ifneq ($(filter libtool,$(PKG_FIXUP)),) 
    5371  PKG_BUILD_DEPENDS += libtool 
Note: See TracChangeset for help on using the changeset viewer.