diff --git a/ChangeLog b/ChangeLog index da136519..9b7f2972 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,31 @@ 1998-05-21 Martin Baulig + * Makefile.am: 'gtopConf.sh' has been renamed to + 'libgtopConf.sh'; variables in this script have changed. + + * lib/Makefile.am: uses '@LIBGTOP_SERVER@' instead of + '@GTOP_SERVER@'. + + * configure.in: renamed variables for 'libgtopConf.sh.in'. + + * acconfig.h: added 'NEED_LIBGTOP'. + + * libgtopConf.sh.in: renamed from 'gtopConf.sh.in'; + we now define 'LIBGTOP_LIBDIR', 'LIBGTOP_INCLUDEDIR', + 'LIBGTOP_LIBS', 'LIBGTOP_INCS', 'LIBGTOP_GUILE_LIBS', + 'LIBGTOP_GUILE_INCS', 'LIBGTOP_BINDIR', 'LIBGTOP_SERVER', + 'libgtop_sysdeps_dir', 'libgtop_need_server', + 'libgtop_use_machine_h', 'libgtop_guile_found', + 'libgtop_want_names', 'libgtop_want_guile_names', + 'libgtop_want_examples'. + + * gtopConf.sh.in: renamed to 'libgtopConf.sh.in'. + + * acinclude.m4 (AC_LC_SYSDEPS): rewrote that macro - + moved some of the code to 'macros/gnome-libgtop-sysdeps.m4'; + renamed variables: look at the ChangeLog entry for the + new 'libgtopConf.sh.in' for details. + * doc/gnome-hackers.sgml: added information about latest changes in 'acinclude.m4' and 'gtopConf.sh.in'. diff --git a/doc/gnome-hackers.sgml b/doc/gnome-hackers.sgml index 6edbf6fa..a6f16855 100644 --- a/doc/gnome-hackers.sgml +++ b/doc/gnome-hackers.sgml @@ -1,7 +1,7 @@ + ]> @@ -57,7 +57,7 @@ libgtop in the GNOME project. It describes the additional options configure takes and the information stored in the automatically generated - gtopConf.sh configuration script. + libgtopConf.sh configuration script. @@ -65,6 +65,70 @@ + + Autoconf macros + + + <filename>macros/gnome-libgtop-sysdeps.m4</filename> + + + This file defines GNOME_LIBGTOP_SYSDEPS which you can + use to check which sysdeps directory libgtop should + use and whether the gtop_server is needed. + + + It defines the following variables: + + + + + libgtop_sysdeps_dir + + + + The sysdeps dir libgtop uses. + + + libgtop_use_machine_h + + + + Some of the system dependent parts of libgtop + provide a structure _glibtop_machine defined in + a header file glibtop_machine.h they provide. This + structure gets inserted into the machine member + of _glibtop when config.h + defines HAVE_GLIBTOP_MACHINE_H. + + + This variable is either yes or no and + tells you whether this is the case. If it is true, this macro wil automatically + define HAVE_GLIBTOP_MACHINE_H. + + + libgtop_need_server + + + + Is either yes or no and tells you + whether the server is needed. If it is needed, it will automatically + define NEED_LIBGTOP. + + + This macro also provides a conditional NEED_LIBGTOP + which you can use in you Makefile.am. + + + + + <filename>macros/gnome-libgtop-check.m4</filename> + + + Checks whether libgtop can be found and includes everything + from its libgtopConf.sh configuration script. + + + Configuration @@ -81,7 +145,7 @@ server is required. Depending upon this decision, it adds either -lgtop (when it's needed) or -lgtop_systems (when it's not needed) to - GTOP_LIBS and GTOP_GUILE_LIBS. + LIBGTOP_LIBS and LIBGTOP_GUILE_LIBS. You can change this behaviour with the following options: @@ -135,7 +199,6 @@ If you do not need the names subdirs, you can disable their building with the following option: - when guile can be found on the system. @@ -155,6 +218,9 @@ + + If it is enables, GLIBTOP_NAMES will be defined. + @@ -173,12 +239,12 @@ - - The <filename>gtopConf.sh</filename> script + + The <filename>libgtopConf.sh</filename> script After a successful build of libgtop, a - gtopConf.sh script is generated which will later + libgtopConf.sh script is generated which will later be used to decide how to link a program with libgtop. @@ -187,7 +253,7 @@ - GTOP_LIBDIR + LIBGTOP_LIBDIR @@ -195,7 +261,7 @@ where the libgtop libraries get installed. - GTOP_INCLUDEDIR + LIBGTOP_INCLUDEDIR @@ -203,7 +269,7 @@ where the libgtop header files get installed. - GTOP_LIBS + LIBGTOP_LIBS @@ -212,7 +278,7 @@ libgtop. - GTOP_INCS + LIBGTOP_INCS @@ -221,7 +287,7 @@ libgtop. - GTOP_GUILE_INCS + LIBGTOP_GUILE_INCS @@ -230,7 +296,7 @@ libgtop and its guile interface. - GTOP_BINDIR + LIBGTOP_BINDIR @@ -238,7 +304,7 @@ libgtop binaries get installed. - GTOP_SERVER + LIBGTOP_SERVER @@ -246,14 +312,14 @@ where the server gets installed. - GTOP_SYSDEPS_DIR + libgtop_sysdeps_dir The sysdeps directory that is used on your system. - GTOP_NEED_SERVER + libgtop_need_server @@ -261,7 +327,7 @@ whether using the server is needed or not. - GTOP_USE_MACHINE_H + libgtop_use_machine_h @@ -276,7 +342,7 @@ _glibtop. - GTOP_GUILE_FOUND + libgtop_guile_found @@ -285,7 +351,7 @@ (or if building the guile interface was disabled). - GTOP_WANT_NAMES + libgtop_want_names @@ -293,7 +359,7 @@ whether the sysdeps/names subdirectory was build. - GTOP_WANT_GUILE_NAMES + libgtop_want_guile_names @@ -301,7 +367,7 @@ whether the sysdeps/guile/names subdirectory was build. - GTOP_WANT_EXAMPLES + libgtop_want_examples @@ -311,9 +377,9 @@ - Sample <filename>gtopConf.sh</filename> + Sample <filename>libgtopConf.sh</filename> - >opConf.sh; + &libgtopConf.sh;