From f95ebdc2594911a3397d4c6704bb6e41fa885081 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Thu, 16 Feb 2012 10:13:10 +0000 Subject: [PATCH] Fix AC_CHECK_PLUGIN_SUPPORT to fix building on FreeBSD 9, and regenerate aclocal.m4 with the fix. This improves upon the original fix in revision 78, and should actually fix the problem this time. Reported by cpet and VICODAN. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@152 13b04d17-f746-0410-82c6-800466cd88b0 --- aclocal.m4 | 2 +- macros/pluginsupport.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 4d71111..abbae2c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1296,7 +1296,7 @@ AC_DEFUN(AC_CHECK_PLUGIN_SUPPORT, system="unknown" else if test -r "/etc/.relid" -a x"`uname -n`" = x"`uname -s`"; then - system="MP-RAS-`$AWK '{print $[3]}' /etc/.relid'`" + system="MP-RAS-`$AWK '{print $[3]}' /etc/.relid`" fi fi fi diff --git a/macros/pluginsupport.m4 b/macros/pluginsupport.m4 index bae7f60..dd6d19b 100644 --- a/macros/pluginsupport.m4 +++ b/macros/pluginsupport.m4 @@ -15,7 +15,7 @@ AC_DEFUN(AC_CHECK_PLUGIN_SUPPORT, system="unknown" else if test -r "/etc/.relid" -a x"`uname -n`" = x"`uname -s`"; then - system="MP-RAS-`$AWK '{print $3}' /etc/.relid'`" + system="MP-RAS-`$AWK '{print $[3]}' /etc/.relid`" fi fi fi