summaryrefslogtreecommitdiffstats
path: root/include/autotools.mk
Commit message (Collapse)AuthorAgeFilesLines
* [include] autotools.mk: fix autoreconf in subdirectories, thanks field_it ↵jow2012-01-201-1/+1
| | | | | | for spotting this git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: link config.rpath before running autoreconf, also ↵jow2011-10-161-3/+3
| | | | | | touch ABOUT-NLS - needed by minidlna CVS version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: autotools.mk: do not fail in patch-libtool fixup if patch is ↵jow2011-10-111-1/+1
| | | | | | already applied git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: implement PKG_FIXUP:=patch-libtooljow2011-08-011-1/+37
| | | | | | | | | 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
* [include] autotools.mk: disable autoreconf recursion if more than one dir is ↵jow2011-04-111-0/+1
| | | | | | given in PKG_AUTOMAKE_PATHS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add config.rpath and link it in autotools.mk if missing, some ↵jow2011-02-271-0/+2
| | | | | | 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
* [include] autotools.mk: -B is not passed on by autoreconf, use -I instead - ↵jow2011-02-021-1/+1
| | | | | | fixes PKG_MACRO_PATHS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: introduce PKG_MACRO_PATHS and HOST_MACRO_PATHS which ↵jow2010-12-261-4/+7
| | | | | | default to ./m4, add LIBTOOL to AM_TOOL_PATHS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: like libintl, make all libtool fixup packages depend ↵jow2010-12-191-2/+2
| | | | | | on the libiconv stub git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: add a (dummy) libintl build dependency to any ↵jow2010-12-191-2/+2
| | | | | | package using the libtool fixup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: remove HOST_BUILD_DEPENDS on libtooljow2010-12-181-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: set AUTOPOINT to "true", not all hosts have it ↵jow2010-12-181-1/+2
| | | | | | 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
* [include] autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake ↵jow2010-12-151-0/+1
| | | | | | wants them git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: always pass -I m4, some package don't seem to set ↵jow2010-12-151-1/+1
| | | | | | correct AMFLAGS (or any at all..) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: don't rely on shipped autogen.sh filesjow2010-12-151-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: explicately pass toolchain versions of automake, ↵jow2010-12-151-2/+12
| | | | | | autoconf, libtoolize, ... to autoreconf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] jow2010-12-131-14/+58
| | | | | | | | | - 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
* [include] autotools.mk: add yet another aclocal pathjow2010-12-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: support autoreconf at different paths, introduce ↵jow2010-12-131-10/+13
| | | | | | PKG_AUTOMAKE_PATHS which defaults to '.' git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] rework aclocal handling, packages have issues writing through ↵jow2010-12-111-0/+1
| | | | | | 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
* [include] autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4jow2010-12-101-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: remove autom4ate.cache directory when autoreconf-ingjow2010-12-101-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* support the autoreconf fixup without libtoolnbd2010-12-101-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: introduce PKG_REMOVE_FILES to delete certain files ↵jow2010-12-081-1/+3
| | | | | | after applying patches and before doing any fixups git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: remove GNUmakefile before running autoreconf ↵jow2010-12-081-0/+1
| | | | | | (spotted libgcrypt++) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: allow disabling autoreconf, remove libdir fixupjow2010-12-081-9/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: allow autogen.sh / autoreconf to fail (for now)jow2010-12-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig ↵jow2010-12-081-1/+8
| | | | | | only if configure.in or configure.ac exists git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] deploy the steamroller tactics and autoreconfigure any package ↵jow2010-12-081-37/+10
| | | | | | | | | | 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
* [include] re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a ↵jow2010-12-041-14/+9
| | | | | | deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [trunk/include/autotools.mk] ensure accidentally installed *.la-files (into ↵mirko2010-12-041-0/+8
| | | | | | $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
* [trunk/include/autotools.mk] disable libtool fixups in trunk globallymirko2010-12-041-13/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix libtool fixup for libstdc++nbd2010-08-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a new helper macro to deal with conditional ./configure flagsnbd2010-03-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* autotools.mk: Don't try to fixup .la files in the DevInstall host path, becauselars2010-02-201-3/+0
| | | | | | | those .la files shouldn't go there anyway. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19785 3c298f89-4303-0410-b956-a3cf2f4a3e73
* autotools.mk: Add PKG_LIBTOOL_PATHS variable.lars2010-02-181-5/+19
| | | | | | | | | | | | | 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
* autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir.lars2010-01-301-2/+4
| | | | | | | 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
* More libtool madness: Every package which was using c++ and libtool fixuplars2009-06-041-4/+15
| | | | | | | | | | | | | | | 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
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Change libtool fixup behaviour. Still ugly but it works until we have a reallars2008-09-131-5/+8
| | | | | | | | | | 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
* fix libtool version checks in some configure scriptsnbd2007-12-271-4/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add improved autotools fixupsnbd2007-12-271-0/+30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9942 3c298f89-4303-0410-b956-a3cf2f4a3e73