mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-05 06:30:30 +01:00
2002-09-26 Tor Lillqvist <tml@iki.fi>
Author: tml Date: 2002-09-26 17:25:41 GMT 2002-09-26 Tor Lillqvist <tml@iki.fi> * parse.c (get_compat_package): Return NULL right away on Windows. There has never been any of these legacy *-config scripts distributed for Windows as far as I know.
This commit is contained in:
parent
5c5ede8ed4
commit
e27a94dda9
2 changed files with 17 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2002-09-26 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* parse.c (get_compat_package): Return NULL right away on
|
||||
Windows. There has never been any of these legacy *-config scripts
|
||||
distributed for Windows as far as I know.
|
||||
|
||||
2002-09-26 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* pkg.c (verify_package): Use strncmp when checking for
|
||||
|
|
|
|||
12
parse.c
12
parse.c
|
|
@ -1010,6 +1010,16 @@ try_command (const char *command)
|
|||
Package *
|
||||
get_compat_package (const char *name)
|
||||
{
|
||||
#ifdef G_OS_WIN32
|
||||
/* There has never been any of these legacy *-config scripts on
|
||||
* Windows as far as I know. No use trying to execute them, will
|
||||
* only confuse users to see the "blabla is not recognized as an
|
||||
* internal or external command, operable program or batch file"
|
||||
* messages.
|
||||
*/
|
||||
return NULL;
|
||||
#else
|
||||
|
||||
Package *pkg;
|
||||
|
||||
if (name_ends_in_uninstalled (name))
|
||||
|
|
@ -1328,5 +1338,5 @@ get_compat_package (const char *name)
|
|||
|
||||
return pkg;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue