Add -lgtop_backend_sysdeps' and -lgtop_backend_common' if dynamic

2000-02-16  Martin Baulig  <martin@home-of-linux.org>

	* configure.in (LIBGTOP_LIBS): Add `-lgtop_backend_sysdeps' and
	`-lgtop_backend_common' if dynamic linking does not work.

	* libgtop-sysdeps.m4 (GNOME_LIBGTOP_DYNLINK): New macro to check
	whether dynamic linking works.
	(libgtop_use_gmodule): Set this to `yes' or `no' depending on
	whether dynamic linking of the backends work on the current system.
	(LIBGTOP_USE_GMODULE): New automake conditional.

	* acconfig.h (LIBGTOP_USE_GMOUDLE): Define this when dynamic
	linking of the backends work on the current system.
This commit is contained in:
Martin Baulig
2000-02-22 14:07:36 +00:00
committed by Martin Baulig
parent e577aa3d08
commit a9ed25e7fc
4 changed files with 120 additions and 2 deletions

View File

@@ -180,3 +180,7 @@
* which takes the interface number as argument
* (default '/var/lock/LCK..ttyS%u'). */
#undef LIBGTOP_MODEM_LOCKFILE
/* Define to enable dynamic linking of the backends. */
#undef USE_GMODULE