use glibtoolize instead of libtoolize where appropriate (by Tony Theodore)

This commit is contained in:
Volker Grabsch 2010-02-07 14:55:35 +01:00
parent 2e76a02298
commit 63d8aab43d
2 changed files with 15 additions and 13 deletions

View File

@ -17,6 +17,7 @@ PATH := $(PREFIX)/bin:$(PATH)
SHELL := bash SHELL := bash
SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed
INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
LIBTOOLIZE := $(shell glibtoolize --help >/dev/null 2>&1 && echo g)libtoolize
VERSION := $(shell $(SED) -n 's,^.*<span id="latest-version">\([^<]*\)</span>.*$$,\1,p' '$(TOP_DIR)/doc/index.html') VERSION := $(shell $(SED) -n 's,^.*<span id="latest-version">\([^<]*\)</span>.*$$,\1,p' '$(TOP_DIR)/doc/index.html')
# unset any environment variables which might cause trouble # unset any environment variables which might cause trouble

View File

@ -19,6 +19,7 @@ define $(PKG)_UPDATE
endef endef
define $(PKG)_BUILD define $(PKG)_BUILD
$(SED) 's,libtoolize ,$(LIBTOOLIZE) ,' -i '$(1)'/bootstrap
cd '$(1)' && ./bootstrap cd '$(1)' && ./bootstrap
cd '$(1)' && ./configure \ cd '$(1)' && ./configure \
--prefix='$(PREFIX)/$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \