summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:04:01 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:04:01 +0000
commit2ac96cbcc708d8945329fd1b2001386e1c895c64 (patch)
treecc90c519c929292c6c69d7439fce050ae72a785f /README
import
Author: hp Date: 2001-06-05 16:39:09 GMT import
Diffstat (limited to 'README')
-rw-r--r--README17
1 files changed, 17 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..4d3cea3
--- /dev/null
+++ b/README
@@ -0,0 +1,17 @@
+pkg-config is a script to make putting together all the build
+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)
+ AC_SUBST(GNOME_CFLAGS)
+ AC_SUBST(GNOME_LIBS)
+
+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
+will be included automatically, since libgnomeui depends on gtk.
+