summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2011-05-15Run distcheck against installed poptTollef Fog Heen1-0/+1
2011-04-14Escape slashes in paths passed to mingw-gccРуслан Ижбулатов1-0/+9
Avoids Msys path mangling that turns *nix paths (such as /usr/include) into DOS-style absolute paths (such as c:/mingw/msys/1.0/include). Allows mingw-built pkg-config to pass check-cflags.
2011-04-13Add --with-system-include-path etc.Simon McVittie1-1/+5
Instead of hard-coding /usr/include, we now use the environment variable PKG_CONFIG_SYSTEM_INCLUDE_PATH, defaulting to the argument of ./configure --with-system-include-path, which in turn defaults to /usr/include. Similarly, PKG_CONFIG_SYSTEM_LIBRARY_PATH defaults to /usr/lib or /usr/lib:/usr/lib64 as appropriate. (As currently implemented, this causes a behaviour change on Win32 - the option -I/usr/include will now be filtered out.) The intended usage is for Debian to configure pkg-config with --with-system-include-path=/usr/include/$(DEB_HOST_GNU_TYPE):/usr/include and the corresponding library path, for multiarch support (<http://bugs.debian.org/482884>). Based on work by Colin Walters <walters@verbum.org>
2011-04-13Stop shipping an embedded glibTollef Fog Heen1-8/+1
Drop the embedded glib, the associated patches and adjust build scripts appropriately.
2010-06-15Build pkg-config before descending to check directoryDan Nicholson1-2/+2
To ensure that pkg-config has been built and updated before running the test suite, complete the top directory before descending to the check directory.
2010-05-23Distcheck fixespkg-config-0.24Tollef Fog Heen1-5/+3
Various small fixes to make distcheck pass
2010-05-09Optionally use an external popt libraryDan Nicholson1-1/+8
The one imported into pkg-config has seen very little maintenance, so let's give users the option to use the upstream version. The default is to use the included sources, but it can search for the system library using --with-installed-popt.
2010-05-09Move popt to subdirectory and make a convenience library of itDan Nicholson1-10/+6
This keeps a cleaner separation of the pkg-config sources and the imported popt sources.
2010-05-08Include an introductory guide to pkg-configDan Nicholson1-0/+2
The pkg-config(1) manual includes a lot of details behind pkg-config, but not the background and usage patterns. This guide tries to provide users and developers with a starting point for pkg-config.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen1-2/+0
* partial-glib.[ch]: Get rid of those, they are no longer in use.
2007-12-292007-12-29 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen1-3/+3
* Update to glib 1.2.10, adjust lots of the glib patches. Gnome #81847.
2007-02-252007-02-25 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen1-1/+2
* Makefile.am: Add support for using the system glib. Thanks to Peter Breitenlohner for the bug and the patch. Freedesktop #9708 * configure.in: Add support for using the system glib. * glib-patches/no-dist-distclean-files.diff, glib-patches/automake-warning.diff, glib-patches/autoconf-warning.diff: Get rid of some warnings when configuring glib.
2005-12-28Only use -Wall and gcc-only flags with gcc.Tollef Fog Heen1-1/+1
2005-12-28 Tollef Fog Heen <tfheen@err.no> * configure.in, Makefile.am: Only use -Wall and other gcc-only flags when we don't have a set of CFLAGS already set and we're using gcc. Freedesktop #4888.
2005-08-27Add default CFLAGSTollef Fog Heen1-0/+1
2005-08-27 Tollef Fog Heen <tfheen@err.no> * Makefile.am (AM_CFLAGS): Add default CFLAGS
2005-07-142005-03-29 Tollef Fog Heen <tfheen@err.no>Arch Librarian1-1/+1
Author: tfheen Date: 2005-03-29 07:09:37 GMT 2005-03-29 Tollef Fog Heen <tfheen@err.no> * check/check-cflags, check/check-define-variable, check/check-libs, check/common, check/Makefile.am, check/simple.pc: Add simple test framework and begin writing tests. * Makefile.am, configure.in: Make in check/ as well.
2005-07-142005-03-18 Tollef Fog Heen <tfheen@err.no>Arch Librarian1-1/+1
Author: tfheen Date: 2005-03-26 14:59:26 GMT 2005-03-18 Tollef Fog Heen <tfheen@err.no> * main.c (main): Use add_search_dirs for both the compile-time defined pc_path and the run-time defined PKG_CONFIG_PATH. * pkg.h: Add prototype for add_search_dirs. * pkg.c (add_search_dirs): Add new function which takes a delimiter-separated list as input and add_search_dir's it. (package_init): Remove knowledge about which dirs should be initially added. Moved this to main.c(main) * ChangeLog: Add emacs variables to set the date to this ChangeLog's standard format * Makefile.am (INCLUDES): Pass PKG_CONFIG_PCPATH on to main.c * configure.in: Add --with-pc-path to define the default search path for .pc files. (Freedesktop #119, #648)
2005-07-142002-09-13 Tor Lillqvist <tml@iki.fi>Arch Librarian1-2/+2
Author: tml Date: 2002-09-12 20:47:07 GMT 2002-09-13 Tor Lillqvist <tml@iki.fi> * Makefile.am (USE_INSTALLED_GLIB): Seems that the automake version used by Havoc doesn't recognize pkg_config_CFLAGS and pkg_config_LDFLAGS, thus failing builds on Win32 directly from the tarball. Set included_glib_includes and pkg_config_LDADD instead, then, like in the !USE_INSTALLED_GLIB branch. * findme.c (X_OK): If X_OK undefined, define as 1, always, not only if G_OS_WIN32, which is never defined here. Fixes a corner case on Win32 with MSYS and mingw where configure as included in the release tarball for some reason doesn't find unistd.h.
2005-07-142001-10-21 Tor Lillqvist <tml@iki.fi>Arch Librarian1-1/+1
Author: tml Date: 2001-10-21 18:40:38 GMT 2001-10-21 Tor Lillqvist <tml@iki.fi> * Makefile.am (EXTRA_DIST): Distribute README.win32. * README.win32: Describe the behaviour in more detail.
2005-07-142001-09-30 Tor Lillqvist <tml@iki.fi>Arch Librarian1-2/+8
Author: tml Date: 2001-09-29 21:05:25 GMT 2001-09-30 Tor Lillqvist <tml@iki.fi> Changes for "pure" Win32 (without Cygwin or similar) support. The most important differences compared to pkg-config on Unix are: We don't use hardcoded PKGLIBDIR paths but deduce the installation prefix at runtime. Use the normal GLib DLL, not a private copy. Yes, this does introduce a circular dependency, but that can be worked around. * README.win32: New file. * configure.in: Check for Win32. If so, define USE_INSTALLED_GLIB, and don't configure in the included glib-1.2.8. Set GLIB_CFLAGS and GLIB_LIBS assuming that GLib is installed in the same location pkgconfig will be. Check for dirent.h, unistd.h and sys/wait.h headers. * Makefile.am: If USE_INSTALLED_GLIB, use the GLIB_* values set above, and don't make in the glib-1.2.8 subdir. * autogen.sh: Use perl -p -i.bak, works better on Win32 (and Cygwin). * *.c: Conditionalize inclusions of unistd.h and sys/wait.h. * findme.c: Define X_OK on Win32 if necessary. * parse.c * popthelp.c: Minor Win32 portability ifdefs. * parse.c: No need to include <windows.h>. * pkg.c: Don't hardcode PKGLIBDIR, but use g_win32_get_package_installation_directory() to deduce it. (scan_dir): Make a temp copy of dirname with potential superfluous trailing slash removed. The Win32 opendir implementation doesn't always like those. * pkg.h: If USE_INSTALLED_GLIB, include <glib.h> instead of partial-glib.h. * popt.c (execCommand): Don't compile on Win32. * poptconfig.c (configLine): Don't bother with the "exec" stuff on Win32, too complex to port, at least for now. (poptReadDefaultConfig) Don't bother compiling on Win32, this function isn't even called.
2005-07-14importArch Librarian1-0/+30
Author: hp Date: 2001-06-05 16:39:09 GMT import