dovecot-1.2: If $shrext_cmds isn't set for some reason, fallback...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 17 12:36:47 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/fe465f0f86fb
changeset: 7869:fe465f0f86fb
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 13 11:02:56 2008 +0300
description:
If $shrext_cmds isn't set for some reason, fallback to ".so" suffix.

diffstat:

1 file changed, 4 insertions(+)
configure.in |    4 ++++

diffs (14 lines):

diff -r 04d86d65c469 -r fe465f0f86fb configure.in
--- a/configure.in	Fri Jun 13 11:01:36 2008 +0300
+++ b/configure.in	Fri Jun 13 11:02:56 2008 +0300
@@ -1991,6 +1991,10 @@ if test $have_modules = yes; then
 
   # shrext_cmds comes from libtool.m4
   module=yes eval MODULE_SUFFIX=$shrext_cmds
+  if test "$MODULE_SUFFIX" = ""; then
+    # too old libtool?
+    MODULE_SUFFIX=.so
+  fi
   AC_DEFINE_UNQUOTED(MODULE_SUFFIX,"$MODULE_SUFFIX",Dynamic module suffix)
   AC_SUBST(MODULE_SUFFIX)
 fi


More information about the dovecot-cvs mailing list