From df41ad0951a031f75093899e7bf7a6b37a07bff2 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Thu, 14 Jul 2005 13:04:52 +0000 Subject: [PATCH] 2002-02-01 Havoc Pennington Author: hp Date: 2002-02-01 22:31:43 GMT 2002-02-01 Havoc Pennington * pkg.c (verify_package): don't warn about /usr/include /usr/lib in cflags/libs, too annoying to fix --- ChangeLog | 5 +++++ pkg.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8fbf3ba..ff53aff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-01 Havoc Pennington + + * pkg.c (verify_package): don't warn about /usr/include /usr/lib + in cflags/libs, too annoying to fix + 2002-02-01 Havoc Pennington Throughout: cast chars to guchar before passing to isspace, etc., diff --git a/pkg.c b/pkg.c index db63978..3c581c2 100644 --- a/pkg.c +++ b/pkg.c @@ -673,8 +673,8 @@ verify_package (Package *pkg) if (strcmp (iter->data, "-I/usr/include") == 0 || strcmp (iter->data, "-I /usr/include") == 0) { - verbose_error ("Package %s has -I/usr/include in Cflags; this may cause problems and is not recommended\n", - pkg->name); + debug_spew ("Package %s has -I/usr/include in Cflags\n", + pkg->name); if (g_getenv ("PKG_CONFIG_ALLOW_SYSTEM_CFLAGS") == NULL) { iter->data = NULL; @@ -699,8 +699,8 @@ verify_package (Package *pkg) if (strcmp (iter->data, "-L/usr/lib") == 0 || strcmp (iter->data, "-L /usr/lib") == 0) { - verbose_error ("Package %s has -L/usr/lib in Libs; this may cause problems and is not recommended\n", - pkg->name); + debug_spew ("Package %s has -L/usr/lib in Libs\n", + pkg->name); if (g_getenv ("PKG_CONFIG_ALLOW_SYSTEM_LIBS") == NULL) { iter->data = NULL; -- 2.39.5