]> err.no Git - pkg-config/commitdiff
2002-02-01 Havoc Pennington <hp@redhat.com>
authorArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:04:52 +0000 (13:04 +0000)
committerArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:04:52 +0000 (13:04 +0000)
Author: hp
Date: 2002-02-01 22:31:43 GMT
2002-02-01  Havoc Pennington  <hp@redhat.com>

* pkg.c (verify_package): don't warn about /usr/include /usr/lib
in cflags/libs, too annoying to fix

ChangeLog
pkg.c

index 8fbf3bad89ec289f628eecb86eedcba9f9bd4ee6..ff53aff757211b25e273b881fe73032faa5fa30f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-01  Havoc Pennington  <hp@redhat.com>
+
+       * pkg.c (verify_package): don't warn about /usr/include /usr/lib
+       in cflags/libs, too annoying to fix
+
 2002-02-01  Havoc Pennington  <hp@redhat.com>
 
         Throughout: cast chars to guchar before passing to isspace, etc., 
diff --git a/pkg.c b/pkg.c
index db6397893545b431432031a20371e18772d0005a..3c581c22a4db8e5f8841cefd0ff555e1474d48fd 100644 (file)
--- 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;