summaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* Prefix pkg-config paths with PKG_CONFIG_SYSROOT_DIR environment variableAlexander Kanavin2019-12-131-4/+4
| | | | | | | This environment variable sets the location of sysroot directory in cross-compilation environments; if the variable is not set, the prefix will be empty. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* autotools: Make INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR respect ↵Christoph Reiter2019-11-111-2/+48
| | | | | | | | | | | | | | | | | | prefix/datadir/libdir The provided m4 macro uses pkg-config for setting INTROSPECTION_GIRDIR and INTROSPECTION_TYPELIBDIR which can be used to install the generated gir/typelib files into. Up until now this always used the prefix encoded in the g-i .pc file and ignored the prefix provided by the autotools project using it. This can be fixed by passing "--define-variable=datadir=/mydatadir" to pkg-config. To get the real value of datadir include a copy of AS_AC_EXPAND in our m4 and use it to expand the variables we need so we can pass the real paths to pkg-config which will use them to generate the new girdir/typelibdir paths. The reason this hasn't been much of a problem is that the example autotools code suggested using "girdir = $(datadir)/gir-1.0" and "typelibsdir = $(libdir)/girepository-1.0" and not using the variables defined by our macro, so not many projects used it. Now both ways should work. See !133
* Drop autotools build systemChristoph Reiter2019-03-111-77/+0
|
* python.m4: don't pass redundant --libs to python-configChristoph Reiter2018-07-271-1/+1
| | | | | | --libs is a subset of --ldflags which is already passed. This works around a msys2 bug in python-config: https://github.com/Alexpux/MINGW-packages/pull/4118
* Revert "Install typelib and girfiles following the package's --prefix"Colin Walters2015-02-221-2/+2
| | | | This reverts commit a16797f96b7af171a3cba70d6ffc107f5e4ba2a0.
* Install typelib and girfiles following the package's --prefixOlivier Crête2015-02-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=639782
* build: remove m4/as-compiler-flag.m4Dieter Verfaillie2013-10-092-34/+0
| | | | no longer used since b2fd4f54883cd701a0c280655c93e20b04897ed2
* test(1) uses '=' to test if strings are identicalPatrick Welche2013-04-201-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=698438
* Use python-config instead of assuming include and library pathsMartin Pitt2012-12-171-13/+2
| | | | | | | | | Call $PYTHON-config to determine include and library paths and linker flags instead of making assumptions about them. Also drop the unused PYTHON_LIB_LOC macro. https://bugzilla.gnome.org/show_bug.cgi?id=690347
* Python3-friendly python.m4Joanmarie Diggs2012-10-261-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678728
* introspection.m4: Set enable_introspection to yes/no consistentlyColin Walters2012-03-051-0/+2
| | | | | | Some people want the ability to use it inside their configure scripts. http://git.gnome.org/browse/totem/commit/?id=e57d75f555eaad98ec3eee31cf94336ba885174c
* g-ir-doc-tool: Add AM_CHECK_PYMOD macro and use it to check for MakoTomeu Vizoso2012-02-201-0/+37
|
* Windows port: Use an improved python.m4Dieter Verfaillie2011-09-071-3/+29
| | | | | | | | | | | | | | | | | | | | - AM_CHECK_PYTHON_HEADERS macro now allows PYTHON_INCLUDES to be overridden from an environment variable and - the new AM_CHECK_PYTHON_LIBS macro to check for ability to link against libpython. This also allows PYTHON_LIBS and PYTHON_LIB_LOC to be overridden from their respective environment variables. This allows gobject-introspection to be built with MinGW/MSYS by doing: PYTHON_DIR="/c/Python27" SRC_DIR="/d/dev/gnome.org/checkout/gobject-introspection/src" ... PYTHON_INCLUDES="-I${PYTHON_DIR}/include/" \ PYTHON_LIBS="-L${PYTHON_DIR}/libs/ -lpython${PYTHON_VERSION}" \ PYTHON_LIB_LOC="${PYTHON_DIR}/libs/" \ "${SRC_DIR}/configure" \ https://bugzilla.gnome.org/show_bug.cgi?id=620566
* [build] Remove gcov supportJohan Dahlin2010-05-282-48/+1
| | | | | It's been broken for some time, remove it instead of letting it bitrot.
* Add a Makefile.introspectionJohan Dahlin2009-12-141-0/+2
| | | | | This will make it easier for third-party projects to use introspection by having easy make rules.
* Add CLFAGS and LIBS variablesSimon van der Linden2009-09-041-0/+4
|
* Excise shave in favor of automake 1.11 silent rulesColin Walters2009-08-161-40/+0
| | | | Shave is just way too invasive in the build system.
* Use shave to reduce compiling outputJohan Dahlin2009-02-201-0/+40
| | | | Which let's us focus on the important warnings.
* Remove gtk-doc.m4, should be installed by autogenColin Walters2009-02-191-43/+0
|
* Bug 571182 – introspection.m4 issuesJohan Dahlin2009-02-121-0/+88
| | | | | Adds the introspection.m4 file to gobject-introspection. This is meant to be used by third-party libraries.
* Add gtk-doc supportJohan Dahlin2009-02-121-0/+43
|
* Add initial python bindings for the scanner and depend on python 2.5.Johan Dahlin2008-03-251-0/+25
| | | | | | | | | | | | | | | | 2008-03-25 Johan Dahlin <johan@gnome.org> * configure.ac: * giscanner: * giscanner/__init__.py: * giscanner/giscannermodule.c: * giscanner/Makefile.am: Add initial python bindings for the scanner and depend on python 2.5. svn path=/trunk/; revision=165
* its called as-compiler-flag.m4, not as-compiler.m4.Johan Dahlin2008-02-101-1/+1
| | | | | | | | | | 2008-02-10 Johan Dahlin <johan@gnome.org> * m4/Makefile.am (EXTRA_DIST): its called as-compiler-flag.m4, not as-compiler.m4. svn path=/trunk/; revision=109
* Added:Rob Taylor2008-02-083-0/+81
2008-02-08 Rob Taylor <rob.taylor@codethink.co.uk> * Makefile.am: * configure.ac: * gcov.mak: Added: * girepository/Makefile.am: * m4/Makefile.am: Added: * m4/as-compiler-flag.m4: Added: * m4/gcov.m4: Added: * tools/Makefile.am: Add ability to generate a coverage report. Adds configure option --enable-gcov and make rule 'check-coverage'. svn path=/trunk/; revision=105