* pkg.m4: remove unrelated macros
+ * README, AUTHORS: updates
+
2001-05-20 Havoc Pennington <hp@pobox.com>
* configure.in: revert package name change, just screwing things up.
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)
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'
+
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
fi
])
+
+