Mercurial > hg > index.fcgi > gift-gnutella > gift-gnutella-0.0.11-1pba
diff m4/openbsd.m4 @ 0:d39e1d0d75b6
initial add
author | paulo@hit-nxdomain.opendns.com |
---|---|
date | Sat, 20 Feb 2010 21:18:28 -0800 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/m4/openbsd.m4 Sat Feb 20 21:18:28 2010 -0800 1.3 @@ -0,0 +1,18 @@ 1.4 +############################################################################### 1.5 +## $Id: openbsd.m4,v 1.1 2003/07/30 08:05:44 hipnod Exp $ 1.6 +############################################################################### 1.7 + 1.8 +dnl 1.9 +dnl OPENBSD_LIBTOOL_WORKAROUND 1.10 +dnl 1.11 +dnl Work-around a problem caused by the -avoid-version libtool option. Can 1.12 +dnl anyone come up with a better way? 1.13 +dnl 1.14 + 1.15 +AC_DEFUN([OPENBSD_LIBTOOL_WORKAROUND], 1.16 + [case "${host_os}" in 1.17 + openbsd*) 1.18 + sed 's/^need_version=no$/need_version=yes/' < libtool > libtool.tmp && mv -f libtool.tmp libtool 1.19 + ;; 1.20 + esac 1.21 + ])