Mercurial > hg > index.fcgi > gift-gnutella > gift-gnutella-0.0.11-1pba
annotate m4/openbsd.m4 @ 0:d39e1d0d75b6
initial add
author | paulo@hit-nxdomain.opendns.com |
---|---|
date | Sat, 20 Feb 2010 21:18:28 -0800 |
parents | |
children |
rev | line source |
---|---|
paulo@0 | 1 ############################################################################### |
paulo@0 | 2 ## $Id: openbsd.m4,v 1.1 2003/07/30 08:05:44 hipnod Exp $ |
paulo@0 | 3 ############################################################################### |
paulo@0 | 4 |
paulo@0 | 5 dnl |
paulo@0 | 6 dnl OPENBSD_LIBTOOL_WORKAROUND |
paulo@0 | 7 dnl |
paulo@0 | 8 dnl Work-around a problem caused by the -avoid-version libtool option. Can |
paulo@0 | 9 dnl anyone come up with a better way? |
paulo@0 | 10 dnl |
paulo@0 | 11 |
paulo@0 | 12 AC_DEFUN([OPENBSD_LIBTOOL_WORKAROUND], |
paulo@0 | 13 [case "${host_os}" in |
paulo@0 | 14 openbsd*) |
paulo@0 | 15 sed 's/^need_version=no$/need_version=yes/' < libtool > libtool.tmp && mv -f libtool.tmp libtool |
paulo@0 | 16 ;; |
paulo@0 | 17 esac |
paulo@0 | 18 ]) |