summaryrefslogtreecommitdiff
path: root/libgtop-sysdeps.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>2000-02-22 16:00:46 +0000
committerMartin Baulig <martin@src.gnome.org>2000-02-22 16:00:46 +0000
commit0a3a0c1a349c615aedf281dd2657bcc8d5f7bc3a (patch)
tree34e68d8348d70a8ebcf65287974f7be947d6fce1 /libgtop-sysdeps.m4
parenta9ed25e7fc15f60e8f8280780cbf3d17048516c3 (diff)
downloadlibgtop-0a3a0c1a349c615aedf281dd2657bcc8d5f7bc3a.tar.gz
*** empty log message ***
Diffstat (limited to 'libgtop-sysdeps.m4')
-rw-r--r--libgtop-sysdeps.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4
index 326d2ca9..e3520516 100644
--- a/libgtop-sysdeps.m4
+++ b/libgtop-sysdeps.m4
@@ -165,6 +165,9 @@ AC_DEFUN([GNOME_LIBGTOP_DYNLINK],[
AC_MSG_RESULT(no)
else
AC_MSG_RESULT(yes)
+ fi
+
+ if test x$with_modules = xyes; then
AC_MSG_CHECKING(whether dynamic modules work)
oLIBS="$LIBS"
oCFLAGS="$CFLAGS"
@@ -206,10 +209,14 @@ AC_DEFUN([GNOME_LIBGTOP_DYNLINK],[
AC_SUBST(GMODULE_LIBS)
AC_SUBST(GMODULE_FLAGS)
libgtop_use_gmodule=yes
+ libgtop_dynamic_ldflags='-export-dynamic -module'
else
libgtop_use_gmodule=no
+ libgtop_dynamic_ldflags=
fi
+ AC_SUBST(libgtop_dynamic_ldflags)
+
AC_MSG_RESULT($libgtop_use_gmodule)
])