diff options
author | Martin Baulig <martin@src.gnome.org> | 2000-02-22 16:00:46 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2000-02-22 16:00:46 +0000 |
commit | 0a3a0c1a349c615aedf281dd2657bcc8d5f7bc3a (patch) | |
tree | 34e68d8348d70a8ebcf65287974f7be947d6fce1 /libgtop-sysdeps.m4 | |
parent | a9ed25e7fc15f60e8f8280780cbf3d17048516c3 (diff) | |
download | libgtop-0a3a0c1a349c615aedf281dd2657bcc8d5f7bc3a.tar.gz |
*** empty log message ***
Diffstat (limited to 'libgtop-sysdeps.m4')
-rw-r--r-- | libgtop-sysdeps.m4 | 7 |
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) ]) |