diff options
author | Arch Librarian <arch@canonical.com> | 2005-07-14 13:04:01 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2005-07-14 13:04:01 +0000 |
commit | 2ac96cbcc708d8945329fd1b2001386e1c895c64 (patch) | |
tree | cc90c519c929292c6c69d7439fce050ae72a785f /README | |
download | pkg-config-2ac96cbcc708d8945329fd1b2001386e1c895c64.tar.gz |
import
Author: hp
Date: 2001-06-05 16:39:09 GMT
import
Diffstat (limited to 'README')
-rw-r--r-- | README | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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. + |