summaryrefslogtreecommitdiff
path: root/audio/trm/patches/patch-aa
blob: d7fdda48f21ea4e3729eba72cd0b79dd52214023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.3 2013/01/26 23:19:11 wiz Exp $

Remove hardcoded libdl (not needed on all systems).
automake-1.13 compat.

--- configure.in.orig	2003-02-12 06:41:12.000000000 +0000
+++ configure.in
@@ -50,7 +50,7 @@ AC_CHECK_LIB(musicbrainz, mb_GetVersion,
              echo "*  http://www.musicbrainz.org/download " 
              echo "*"
              AC_MSG_ERROR("Cannot build. Stop.")
-             ,-ldl)
+             ,)
 
 AC_TRY_RUN([
 #include <musicbrainz/mb_c.h>
@@ -107,6 +107,6 @@ fi
 
 AC_SUBST(CFLAGS)  
 AC_DEFINE_UNQUOTED(PREFIX, "${prefix}", "PREFIX") 
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AC_OUTPUT(Makefile)
 touch .config.check