Tollef Fog Heen
2ec2007d8d
Rename configure.in to configure.ac
2011-04-13 20:35:16 +02:00
Hauke Fath
5764fbe873
Fix C99-ism
...
Old NetBSD versions don't have a C99 compiler, so get rid a C99ism for
their benefit.
2011-04-13 20:29:22 +02:00
Ville Skyttä
35495b1e74
Man page syntax and spelling fixes.
2011-04-13 20:17:12 +02:00
Tollef Fog Heen
99964eddb5
Stop shipping an embedded glib
...
Drop the embedded glib, the associated patches and adjust build
scripts appropriately.
2011-04-13 20:16:23 +02:00
Tollef Fog Heen
03bd4a5528
Drop support for legacy -config scripts
...
We used to call gnome-config, gtk-config, glib-config and so on, which
was useful in the beginning of pkg-config. This hasn't served any
practical purpose in recent years, so drop the support.
2010-09-01 20:48:57 +02:00
Tollef Fog Heen
2b86e9b466
Add some []s before dnl
...
Autoconf 2.66 has some problems with missing []s before dnls, causing
the expanded text to be garbled.
Fixes #29056
2010-08-19 08:54:09 +02:00
Dan Nicholson
f76fe52575
Force generation of libtool script so it can be used reliably
...
We want to use the libtool script to determine if indirect dependencies
should be listed. LT_OUTPUT forces the script to be created immediately
so that the test can be run reliably.
This is borrowed from glib's configure.in.
2010-06-17 09:17:46 -07:00
Dan Nicholson
a465eacaf6
Add test to exercise broken command option handling
...
The ancient bundled popt mishandles some cases of option parsing.
http://lists.freedesktop.org/archives/pkg-config/2010-March/000508.html
Add a test program to exercise it. This should encourage people to use
an external popt until we have a better fix.
2010-06-16 16:49:52 -07:00
Dan Nicholson
68763c08de
Build pkg-config before descending to check directory
...
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-06-15 06:06:16 -07:00
Dan Nicholson
84e4847c06
Greatly simplify autogen.sh and fix configure skipping
...
There is really no reason to manually vet and run all the autotools.
That's what autoreconf is for. It has the added bonus that it will
descend to the glib subdirectory and rebuild the autotools there. The
handling of configure is also fixed as the previous --no-configure code
was completely broken.
This is basically the xorg autogen.sh, so we can be pretty confident
it'll work as advertised.
2010-06-09 21:34:21 -07:00
Tollef Fog Heen
b8eb53fd33
Bump version number to 0.25
2010-05-28 18:09:48 +02:00
Tollef Fog Heen
665b459b22
Document 0.25 changes
2010-05-28 18:09:35 +02:00
Tollef Fog Heen
66aa02a60b
Make sure to distribute the blank fields .pc file too
2010-05-28 18:09:10 +02:00
Tollef Fog Heen
6702b97935
Document pc_path a bit
2010-05-27 22:43:04 +02:00
Tollef Fog Heen
4c6ff1c3d5
Add test case for empty fields
...
Make sure we don't run into the bug fixed by 6a27c57 again.
2010-05-27 22:23:40 +02:00
Dan Nicholson
6a27c57057
Handle empty valued fields with newer external popt
...
The bundled popt handled the case of Cflags or Libs with no value, but
newer popt linked through --with-installed-popt chokes parsing it into
a vector. This is arguably a popt bug in poptParseArgvString, but I
guess they expect you not to ask it to split an empty string.
2010-05-27 22:23:19 +02:00
Tollef Fog Heen
d9077956e2
Fix up test framework to better report errors when pkg-config exits non-zero
2010-05-27 22:17:54 +02:00
Tollef Fog Heen
2ce485c65d
Allow : and = unescaped in output too
2010-05-27 21:48:52 +02:00
Dan Nicholson
376d42b004
Add COPYING files to give general licensing terms
...
In order to avoid having the COPYING file from automake included in
the distribution, add a copy of the GPLv2 for pkg-config. This matches
the source files, which all specify GPLv2+.
The COPYING file from upstream popt has also been added for the
bundled popt sources.
2010-05-27 21:40:47 +02:00
Tollef Fog Heen
ec55562d9a
Fix typo in man page
2010-05-24 00:09:03 +02:00
Tollef Fog Heen
37d59a0c44
Distcheck fixes
...
Various small fixes to make distcheck pass
2010-05-23 23:31:14 +02:00
Tollef Fog Heen
a23bbe4584
Bump version number in configure.ac
2010-05-23 23:12:55 +02:00
Tollef Fog Heen
8d4d3ded3b
Write NEWS for 0.24
2010-05-23 23:12:44 +02:00
Tollef Fog Heen
69a7eaa676
Make it possible to escape paths containing special shell characters
...
Allow paths and other components to contain shell metacharacters, but
escape them on output. White space has to be escaped in the input
files using quotes or backslashes
Freedesktop.org #3571
2010-05-23 23:11:40 +02:00
Johannes Schmid
5ade770f76
Add --print-provides and --print-requires-private to the manual page
2010-05-10 20:03:28 +02:00
Johannes Schmid
d690466af4
Add --print-provides and --print-requires(-private) options
...
These are useful for applications that need to query the pkg-config
database, e.g. managers or IDEs.
2010-05-10 20:02:53 +02:00
Daniel Richard G
0cd0d050c2
Quote the deplibs_check method a bit harder
...
This makes compiling on HP-UX work.
2010-05-09 10:38:01 +02:00
Dan Nicholson
a048ace79e
Optionally use an external popt library
...
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-09 10:22:02 +02:00
Dan Nicholson
aa4634eb31
Move popt to subdirectory and make a convenience library of it
...
This keeps a cleaner separation of the pkg-config sources and the
imported popt sources.
2010-05-09 10:22:02 +02:00
Kirill Smelkov
e58b5b94c6
Fix formatting typo in pkg-config.1
...
Without <dot>TP, "Requires" and "Requires.private" are rendered as one
paragraph.
2010-05-09 10:18:44 +02:00
Jorn Amundsen
4b80e49ff8
Add listing of variables
...
Fixes Freedesktop #133
2010-05-09 09:49:13 +02:00
Tollef Fog Heen
c5a3105f41
Handle -idirafter specially
...
Don't split -idirafter from its argument.
Fixes Freedesktop #23480
2010-05-09 09:43:10 +02:00
Tollef Fog Heen
fbc4f8e076
Fix up man page
...
Make sure to avoid \ macros at the start of lines, as that makes some
man implementations unhappy.
Fixes freedesktop #17914
2010-05-09 09:02:33 +02:00
Tollef Fog Heen
59af363873
Make it clearer which directory PKG_CONFIG_LIBDIR refers to
...
Fixes Freedesktop.org #26879
2010-05-08 23:32:46 +02:00
Tollef Fog Heen
479b54fe34
Use $() rather than ``
...
Fixes Freedesktop.org #27376
2010-05-08 23:29:33 +02:00
Dan Nicholson
02c5f9a2d6
Document --list-all option in man page
...
Present in the --help output, but not the manual...
2010-05-08 22:30:49 +02:00
Dan Nicholson
b0fb05420c
Include an introductory guide to pkg-config
...
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.
2010-05-08 22:30:33 +02:00
Dan Nicholson
14e8c68984
Add .gitignore to exclude generated files from tracking
...
This was basically generated with "git ls-files -o --directory".
2010-05-08 22:23:57 +02:00
Tollef Fog Heen
d363ba6b86
Mark Changelog as no longer kept up to date.
2010-05-08 22:16:12 +02:00
Tollef Fog Heen
726f8e4c13
Update rpmvercmp with bugfixes from RPM
...
Grab two minor bugfixes from RPM's rpmvercmp.
2010-05-08 22:15:36 +02:00
Tollef Fog Heen
66d49f1375
Clean up sysroot support a little bit
...
This should fix bug #16905 properly.
2009-12-06 22:40:13 +01:00
Tollef Fog Heen
25e8ca84ac
Print out \r\n on windows, not just \n
...
This should hopefully fix bug #17053
2009-12-06 22:34:35 +01:00
Tollef Fog Heen
e04ee5a1b8
Fix up help for --silence-errors
...
Bug #8616
2009-12-06 22:28:30 +01:00
Tollef Fog Heen
0ff14c5ba8
Reduce the width of arguments
...
This makes the --help output flow easier and look better.
2009-12-06 22:28:08 +01:00
Tollef Fog Heen
1437da3b5d
Add link to bugs.fd.o in man page
...
Bug #4793
2009-12-06 22:16:13 +01:00
Tollef Fog Heen
2896188180
Constify a variable
...
Thanks to J.H.M. Dassen (Ray)
Bug #190
2009-12-06 22:08:21 +01:00
Tollef Fog Heen
6ff8aeb77d
Misc m4 cleanups
...
Whitespace cleanups
Use m4_default instead of some ifelses.
Thanks to Stepan Kasal for the patch this is based on
Bug #13892
2009-12-06 21:39:13 +01:00
Tollef Fog Heen
40f3532add
Make sure AC_MSG_RESULT is always called
...
Based on a patch by Peter Breitenlohner, thanks.
Bug #9704
2009-12-06 21:32:35 +01:00
Tollef Fog Heen
e907f2a18b
Add serial to pkg.m4
...
Bug #22709
2009-12-06 21:20:42 +01:00
Tollef Fog Heen
6a2c307ed2
Rephrase comment before PKG_CHECK_EXISTS in pkg.m4
2009-12-06 21:17:45 +01:00