summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure AC_MSG_RESULT is always calledTollef Fog Heen2009-12-061-4/+4
| | | | | Based on a patch by Peter Breitenlohner, thanks. Bug #9704
* Add serial to pkg.m4Tollef Fog Heen2009-12-061-0/+1
| | | | Bug #22709
* Rephrase comment before PKG_CHECK_EXISTS in pkg.m4Tollef Fog Heen2009-12-061-4/+4
|
* MergeTollef Fog Heen2009-08-157-19/+57
|\
| * Fix include path for check/commonTollef Fog Heen2009-06-301-1/+1
| |
| * 2009-06-12 Tor Lillqvist <tml@iki.fi>Tollef Fog Heen2009-06-305-17/+49
|/ | | | | | | | | | | | | | * parse.c: On Win32, if the value of a a variable other than the "prefix" one starts with the non-overridden value of "prefix", then replace that prefix, too, with the run-time one. To avoid shadowing warnings, rename a 'p' variable to 'q'. * pkg-config.1: Corresponding update. * main.c * pkg.h: Move the Win32 redefinition of PKG_CONFIG_PC_PATH from main.c to pkg.h as it now is needed in pkg.c, too.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-6/+16
| | | | * autogen.sh: Allow not running configure, wanted by cygwin.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-304-4/+24
| | | | | | * check/check-missing, check/check-libs, check/check-requires-private: Handle the case of indirect being enabled correctly in checks.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-305-1/+16
| | | | | | * check/common, check/config.sh.in, check/Makefile.am, configure.in: Make it possible to check for configure variables in the check scripts. So far, only direct/indirect is exposed.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-0/+7
| | | | | * pkg.c (add_virtual_pkgconfig_package): Add pc_path as a variable which you can use to get at the compiled-in PKG_CONFIG_PC_PATH.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-1/+3
| | | | * pkg.h: Fix up path to glib.h
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-1/+3
| | | | * pkg.c (add_virtual_pkgconfig_package): Fix URL to pkg-config.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-304-8/+2
| | | | * partial-glib.[ch]: Get rid of those, they are no longer in use.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-308-1/+30
| | | | | | | * poptparse.c, popthelp.c, poptconfig.c, popt.c, pkg.c, findme.c, configure.in: Check for malloc.h and use that if it exists. Apparently this makes Win32 happier. Thanks to Carlo Bramini for the patch.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-1/+6
| | | | | * pkg-config.1: Verbosify the text about Libs.private a bit. Patch from Loïc Minier.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-0/+7
| | | | | * pkg-config.1: Add documentation for --cflags-only-I, patch from Loïc Minier.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-307-1/+63
| | | | | | * pkg.[ch], main.c, check/check-missing: Don't recurse Requires at all unless we need to. Add check. Again, thanks to Loïc Minier for most of the idea and the implementation.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-309-10/+114
| | | | | | | | * pkg.[ch], parse.[ch], main.c, check/Makefile.am, check/check-missing, check/missing-requires-private.pc: Skip Requires.private unless we need to look at them for cflags. Add test case. Thanks to Loïc Minier for most of the idea and the implementation. Debian #475031
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-0/+3
| | | | * check/common: Run all tests in the C locale
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-3/+7
| | | | | * check/common: Add support for non-zero return codes to test framework. Thanks to Loïc Minier for the idea.
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-1/+7
| | | | | * pkg.m4: Add PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR to the list of precious directories. (AC_ARG_VAR)
* 2009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2009-03-302-4/+9
| | | | | * popthelp.c (poptPrintUsage,poptPrintHelp): Add [LIBRARIES] to help output. Debian #389066
* 2008-04-28 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-04-282-0/+4
| | | | | * parse.c Add my name to the copyright header, mainly to prevent emacs from being stupid and updating RH's copyright year.
* 2008-04-28 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-04-282-1/+8
| | | | | | * parse.c (_do_parse_libs): Special-case "-lib:" in the Libs field; it's not an -l. Yes, this breaks if your library is called libib:$something, in which case you lose. Gnome #142952
* 2008-04-28 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-04-282-1/+6
| | | | | * main.c (main): Make sure log is initialized to prevent segfaults.
* 2008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-03-236-5/+35
| | | | | | | | | * check/check-conflicts, check/conflicts-test.pc: New test, testing that conflicts work as they should. * pkg.c (verify_package): Make the conflicts check not only check package versions, but also package names. This makes conflicts functional, something they were not before.
* 2008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-03-232-1/+2
| | | | * check/check-requires-private: Remove unnecessary set -x
* 2008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-03-237-19/+25
| | | | | | | | | * check/check-cflags, check/check-define-variable, check/check-includedir, check/check-libs, check/check-libs-private, check/check-requires-private: Replace the crazy -d ~root check with a more proper way to just make sure we are running under a POSIX shell. Thanks to Kjetil Torgrim Homme for the tip about using getconf PATH.
* 2008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-03-232-1/+33
| | | | | * main.c (main): Add logging support from NetBSD. Thanks to Julio M. Merino Vidal for forwarding the patch from ages ago.
* 2008-03-23 Stepan Kasal <skasal@redhat.com>Tollef Fog Heen2008-03-232-0/+16
| | | | | * pkg-config.1: Document "Requires.private" and recommend it for libraries. Freedesktop #13188
* 2008-03-23 Stepan Kasal <skasal@redhat.com>Tollef Fog Heen2008-03-232-39/+18
| | | | | | * pkg-config.1: Fix a few typos--add two omitted .TP tags and two omitted full stops; and empty lines do influence the formatting in nroff.
* 2008-02-19 Tor Lillqvist <tml@novell.com>Tollef Fog Heen2008-03-234-73/+43
| | | | | | | | | | | | | | | | | | | | * main.c: Remove the possibility to have a default PKG_CONFIG_PATH in the Registry. It is much more flexible to just use environment variables. In general the Registry is not used in the ports of GTK+ or GNOME libraries and software to Windows. * parse.c (parse_line): On Windows, handle also .pc files found in a share/pkgconfig folder when automatically redefining a prefix variable for the package. * pkg-config.1: Corresponding changes. 2008-02-18 Tor Lillqvist <tml@novell.com> * main.c: Fix some bitrot: On Windows, don't use the compile-time PKG_CONFIG_PC_PATH, but deduce a default one at run-time based on the location of the executable. This was originally what pkg-config did on Windows, but it had bit-rotted.
* Merge in static changeTollef Fog Heen2008-03-232-20/+29
|\
| * 2008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-03-232-20/+29
|/ | | | | | | | | * main.c (main): Fix small portability problem by defining all the variables in main that are used in the static initialiser as static variables. This makes the IRIX/mipseb compiler happier. Thanks to Roland Illig of NetBSD for the patch. This doesn't apply to some of the Win32 variables, but I don't believe that is a problem with the existing compilers there.
* configure.in: If prefix is unset, add /usr/lib/pkgconfig andTollef Fog Heen2008-01-312-5/+20
| | | | | | | /usr/share/pkgconfig to default search path. Based on patch by Damjan Jovanovic. Also, make configure always print the path it is defaulting to.
* pkg.c (string_list_to_string): Patch from Paul Bender so flags otherTollef Fog Heen2008-01-312-1/+11
| | | | | than -I and -L are passed through (with mangling) when PKG_CONFIG_SYSROOT_DIR is set.
* 2008-01-16 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-01-163-1/+10
| | | | * NEWS, configure.in: Release 0.23
* 2008-01-16 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-01-162-2/+6
| | | | | * check/check-requires-private: Fix up test case. We want to get the private -I option in all cases.
* 2008-01-16 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-01-165-1/+45
| | | | | | * pkg.h, pkg.c (string_list_to_string), pkg-config.1, main.c (main): Add sysroot support and document same. Triggered by setting PKG_CONFIG_SYSROOT_DIR in the environment.
* * pkg.c (internal_get_package): Don't add the internal-onlyTollef Fog Heen2007-12-292-12/+3
| | | | pkg-config package twice.
* * pkg.c (verify_package): Apply patch from Matthias Clasen ofTollef Fog Heen2007-12-292-3/+5
| | | | RedHat to prevent segfaults if a Conflicts line is encountered.
* * popthelp.c: Apply patch from Tom Tromey <tromey@redhat.com> toTollef Fog Heen2007-12-292-2/+6
| | | | | make pkg-config --help print to stdout, not stderr. Gnome #127314.
* 2007-12-29 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2007-12-292-2/+7
| | | | | | | * pkg.m4: Don't use --errors-to-stdout in pkg.m4, but rather redirect stderr to stdout. This makes pkg.m4 with old (pre 0.15) pkg-config look good, and it makes newer pkg-config with ancient pkg.m4 work well. Gnome #111054
* 2007-12-29 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2007-12-2917-41/+104
| | | | | * Update to glib 1.2.10, adjust lots of the glib patches. Gnome #81847.
* Add attribution to last fixTollef Fog Heen2007-06-191-1/+2
|
* * pkg.m4: Fix bug so it's possible to override variables in caseTollef Fog Heen2007-06-192-10/+13
| | | | pkg-config is not installed.
* * configure.in: Release 0.22Tollef Fog Heen2007-06-182-1/+3
|
* * NEWS: Update for 0.22Tollef Fog Heen2007-06-182-0/+11
|
* * configure.in: Fix expansion of default pc_path as per GNU codingTollef Fog Heen2007-06-182-2/+5
| | | | standards. Thanks to Andreas Hanke for the fix. Freedesktop #10326
* * pkg.c (recursive_fill_list): Make sure to act recursively withTollef Fog Heen2007-06-182-1/+5
| | | | | Requires.private, making them much more useful. Special thanks to Matthias Clasen for lots and lots of nagging. Freedesktop #8788