History log of /openwrt/include/autotools.mk
Revision Date Author Comments
# 620307b6 20-Jan-2016 Felix Fietkau <nbd@openwrt.org>

include/autotools.mk: fix gettext installation path

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48421 3c298f89-4303-0410-b956-a3cf2f4a3e73


# fba87490 20-Jan-2016 Felix Fietkau <nbd@openwrt.org>

Revert "include/autoconf.mk: decouple host fixups from target fixups"

This reverts commit r48403

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48412 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6d7af0d0 20-Jan-2016 Felix Fietkau <nbd@openwrt.org>

include/autoconf.mk: decouple host fixups from target fixups

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48403 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f380abfb 31-Jan-2015 Nicolas Thill <nico@openwrt.org>

include: improve 'gettext-version' fixup

* enclose the fixup in brackets
* match anything in the call to AM_GNU_GETTEXT_VERSION
* call it early (before autoreconf if both are specified)
* chain a call to autoreconf since it messes with configure.ac

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44225 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 88194208 10-Oct-2012 Jo-Philipp Wich <jow@openwrt.org>

autotools.mk: add a gettext-version PKG_FIXUP (#11236)

This fixup aligns the required gettext version in shipped macros to the one
available in $(STAGING_DIR_HOST).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33708 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 17abd546 11-Jun-2012 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: cope with Debian version strings in libtool

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32207 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 604cafe1 20-Jan-2012 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29835 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4e201ee7 16-Oct-2011 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28464 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c51ba3b2 11-Oct-2011 Jo-Philipp Wich <jow@openwrt.org>

include: autotools.mk: do not fail in patch-libtool fixup if patch is already applied


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28419 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2b36cc83 31-Jul-2011 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: implement PKG_FIXUP:=patch-libtool
This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf.
The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct
version to use.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27855 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 88d8a57b 11-Apr-2011 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26589 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7fcc8371 27-Feb-2011 Jo-Philipp Wich <jow@openwrt.org>

[buildroot] add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25753 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d51f7e6f 02-Feb-2011 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes PKG_MACRO_PATHS


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25312 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 624366d9 25-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: introduce PKG_MACRO_PATHS and HOST_MACRO_PATHS which default to ./m4, add LIBTOOL to AM_TOOL_PATHS


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24830 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ca27ca77 18-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: like libintl, make all libtool fixup packages depend on the libiconv stub


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24708 3c298f89-4303-0410-b956-a3cf2f4a3e73


# db48122f 18-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: add a (dummy) libintl build dependency to any package using the libtool fixup


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24700 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 50b5fa59 18-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: remove HOST_BUILD_DEPENDS on libtool


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24676 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 589062b2 18-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: set AUTOPOINT to "true", not all hosts have it install and it makes autoreconf fail if not present, it also needs cvs which isn't installed on all hosts either


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24664 3c298f89-4303-0410-b956-a3cf2f4a3e73


# dc2cceb6 14-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants them


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24588 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 19b9cbe9 14-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: always pass -I m4, some package don't seem to set correct AMFLAGS (or any at all..)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24574 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ec90a456 14-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: don't rely on shipped autogen.sh files


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24573 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1268147a 14-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: explicately pass toolchain versions of automake, autoconf, libtoolize, ... to autoreconf


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24570 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 853ff77a 13-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include]
- implement hooks for hostbuilds
- use host build hooks to implement fixups for host build
- move separator declaration to rules.mk


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24551 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3e09ff9a 13-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: add yet another aclocal path


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24547 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 44d99a53 12-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: support autoreconf at different paths, introduce PKG_AUTOMAKE_PATHS which defaults to '.'


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24534 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1e0decbb 10-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[buildroot] rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24474 3c298f89-4303-0410-b956-a3cf2f4a3e73


# efeae2d2 10-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24458 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 26cebaa3 10-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: remove autom4ate.cache directory when autoreconf-ing


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24434 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 955afe2b 10-Dec-2010 Felix Fietkau <nbd@openwrt.org>

support the autoreconf fixup without libtool

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24423 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2dc5b966 08-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24348 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a5b5726b 08-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24344 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e9897467 07-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: allow disabling autoreconf, remove libdir fixup


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24321 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5b6a0bc9 07-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24320 3c298f89-4303-0410-b956-a3cf2f4a3e73


# dae3c43c 07-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24319 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 07d0739c 07-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] deploy the steamroller tactics and autoreconfigure any package carring the libtool fixup,
this should solve a number of issues ranging from linking into the host, syntax errors in libtool and
missing make targets


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24317 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a2ac1d5f 04-Dec-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24246 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 0d0efee1 04-Dec-2010 Mirko Vogt <mirko@openwrt.org>

[trunk/include/autotools.mk] ensure accidentally installed *.la-files (into $STAGING_DIR) are going to be removed afterwards - this actually should be done within respective package-Makefiles itself, however they need to stay compatible with libtool v1.5.x which is used in backfire, since it (may) require those files

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24241 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 06878dba 03-Dec-2010 Mirko Vogt <mirko@openwrt.org>

[trunk/include/autotools.mk] disable libtool fixups in trunk globally

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24234 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b480498d 19-Aug-2010 Felix Fietkau <nbd@openwrt.org>

fix libtool fixup for libstdc++

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22732 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a2ec87df 28-Mar-2010 Felix Fietkau <nbd@openwrt.org>

add a new helper macro to deal with conditional ./configure flags

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20570 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 05c56d8e 20-Feb-2010 Lars-Peter Clausen <lars@metafoo.de>

autotools.mk: Don't try to fixup .la files in the DevInstall host path, because
those .la files shouldn't go there anyway.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19785 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 141b270f 18-Feb-2010 Lars-Peter Clausen <lars@metafoo.de>

autotools.mk: Add PKG_LIBTOOL_PATHS variable.

PKG_LIBTOOL_PATHS can be used to specify to tell libtool_fixup where to look
for libtool scripts of a package. This is useful if a package has it's libtool
script in a non-standard location or has multiple libtool scripts.

The value should be a space seperated list of paths which are relative to
$(PKG_BUILD_DIR). It defautls to $(CONFIGURE_PATH).



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19713 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e201d199 30-Jan-2010 Lars-Peter Clausen <lars@metafoo.de>

autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir.
Fixes build of packages which use libtool and link against packages which link against libstdc++


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19399 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a5b1993a 03-Jun-2009 Lars-Peter Clausen <lars@metafoo.de>

More libtool madness: Every package which was using c++ and libtool fixup
was linked against libstd++ even though if it should have been linked
against uclibc++. This is fixed by providing a special version of libtool
fixup for packages which should use uclibc++. Not pretty but functional.
Packages linking against uclibc++ should use PKG_FIXUP:=libtool-ucxx instead of
PKG_FIXUP:=libtool

Somebody should probably check all packages using c++ with a dependency on stdlibc++
if uclibc++ can be used instead now.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16317 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5bdd8661 17-Apr-2009 Felix Fietkau <nbd@openwrt.org>

get rid of $Id$ - it has never helped us and it has broken too many patches ;)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b4e43d5d 12-Sep-2008 Lars-Peter Clausen <lars@metafoo.de>

Change libtool fixup behaviour. Still ugly but it works until we have a real
fix.
It uses a InstallDev/Post hook to find all .la files which are going to be
installed in the staging dir and prefixes every path in those files which starts
with /usr/lib with $(STAGING_DIR).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12586 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2e1c09da 26-Dec-2007 Felix Fietkau <nbd@openwrt.org>

fix libtool version checks in some configure scripts


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9943 3c298f89-4303-0410-b956-a3cf2f4a3e73


# fdd0070a 26-Dec-2007 Felix Fietkau <nbd@openwrt.org>

add improved autotools fixups


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9942 3c298f89-4303-0410-b956-a3cf2f4a3e73