summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2/patches/patch-ai
blob: 0fee5c82d9ac0bb56701316a3966625010b63d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ai,v 1.6 2004/02/14 03:16:59 jlam Exp $

--- configure.orig	Mon Dec  1 08:35:06 2003
+++ configure
@@ -3915,6 +3915,12 @@ exec 5>>./config.log
 
 target=$save_target
 
+_build_libtool_libs=`${CONFIG_SHELL-/bin/sh} $srcdir/libtool --config | grep '^build_libtool_libs='`
+case "x$_build_libtool_libs" in
+	x*=yes) ac_cv_can_build_shared=yes;;
+	x*) ac_cv_can_build_shared=no;;
+esac
+
 if test "$ac_cv_can_build_shared" = no; then
 	enable_shared=no
 	enable_static=yes