summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:04:06 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:04:06 +0000
commit6725d8ee36c13dcd9dfd93d1c2cf31ff4f30908e (patch)
tree5755fe5e056d684c412c21d115bc2dcf437df6f2 /README
parenta7efbcc46a5cb9222d63729db0bad835b9b36398 (diff)
downloadpkg-config-6725d8ee36c13dcd9dfd93d1c2cf31ff4f30908e.tar.gz
updates
Author: hp Date: 2001-06-05 17:00:58 GMT updates
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 11 insertions, 3 deletions
diff --git a/README b/README
index 4d3cea3..4e9cf22 100644
--- a/README
+++ b/README
@@ -3,7 +3,7 @@ flags when compiling/linking a lot easier.
to use it, do something like the following in your configure.in
- PKG_CHECK_MODULES(GNOME, gtk:1.2.8, gnomeui)
+ PKG_CHECK_MODULES(GNOME, gtk > 1.2.8 gnomeui >= 1.2.0)
AC_SUBST(GNOME_CFLAGS)
AC_SUBST(GNOME_LIBS)
@@ -11,7 +11,15 @@ This puts the neccesary include flags to compile/link something against
libgnomeui and all its dependencies in $(GNOME_CFLAGS), and the -L/-l flags
for linking in $(GNOME_LIBS)
-The gtk:1.2.8 part is only neccesary if you want to specifically check
-if libgtk is version 1.2.8 or higher. otherwise, the flags for gtk
+The "gtk > 1.2.8" part is only neccesary if you want to specifically check
+if libgtk is version 1.2.8 or higher. Otherwise, the flags for gtk
will be included automatically, since libgnomeui depends on gtk.
+So you could just say:
+
+ PKG_CHECK_MODULES(GNOME, gnomeui)
+
+for any version of gnomeui.
+
+For more info, there's even a man page, try 'man pkg-config'
+