mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-04-22 09:20:43 +02:00
* popthelp.c: Apply patch from Tom Tromey <tromey@redhat.com> to
make pkg-config --help print to stdout, not stderr. Gnome #127314.
This commit is contained in:
parent
d251a97fa6
commit
6f5620089e
2 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
2007-12-29 Tollef Fog Heen <tfheen@err.no>
|
||||
|
||||
* popthelp.c: Apply patch from Tom Tromey <tromey@redhat.com> to
|
||||
make pkg-config --help print to stdout, not stderr. Gnome
|
||||
#127314.
|
||||
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -53,9 +53,9 @@ static void displayArgs(poptContext con, enum poptCallbackReason foo,
|
|||
struct poptOption * key,
|
||||
const char * arg, void * data) {
|
||||
if (key->shortName== '?')
|
||||
poptPrintHelp(con, stderr, 0);
|
||||
poptPrintHelp(con, stdout, 0);
|
||||
else
|
||||
poptPrintUsage(con, stderr, 0);
|
||||
poptPrintUsage(con, stdout, 0);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue