From: Timo Sirainen Date: Fri, 13 Jun 2008 08:02:56 +0000 (+0300) Subject: If $shrext_cmds isn't set for some reason, fallback to ".so" suffix. X-Git-Tag: 1.2.alpha1~292 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c190fc80c3de4f38db69c4f1811b146dd9eefc0;p=thirdparty%2Fdovecot%2Fcore.git If $shrext_cmds isn't set for some reason, fallback to ".so" suffix. --HG-- branch : HEAD --- diff --git a/configure.in b/configure.in index 55f5e807fb..41b1147e90 100644 --- a/configure.in +++ b/configure.in @@ -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