From db57885dfb18f5b82bfeacd13a364b8ecc1650b5 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Wed, 18 Nov 2009 10:13:19 +0000 Subject: [PATCH] Fix the definition of AC_CHECK_PLUGIN_SUPPORT in aclocal.m4, which was making configure break on FreeBSD 9 (reported FreeBSD bitchx port maintainer cpet ). git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@78 13b04d17-f746-0410-82c6-800466cd88b0 --- Changelog | 3 +++ aclocal.m4 | 2 +- configure | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Changelog b/Changelog index 63c27d5..7c5c2dc 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,8 @@ [Changes 1.2c01] +* Apply a fix contributed by cpet for the configure script on + FreeBSD 9. (caf) + * Fix a refcounting issue in the whowas list handling, which should make the listing of users that left in a netsplit right again. (caf) diff --git a/aclocal.m4 b/aclocal.m4 index 3bbb76e..4d71111 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/configure b/configure index 1729e2e..fcb6a74 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 20 . +# From configure.in Revision: 52 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # @@ -12665,7 +12665,7 @@ echo "${ECHO_T}unknown \(can't find uname command\)" >&6 system="unknown" else if test -r "/etc/.relid" -a x"`uname -n`" = x"`uname -s`"; then - system="MP-RAS-`$AWK '{print }' /etc/.relid'`" + system="MP-RAS-`$AWK '{print $3}' /etc/.relid'`" fi fi fi @@ -13933,7 +13933,7 @@ echo "${ECHO_T}unknown \(can't find uname command\)" >&6 system="unknown" else if test -r "/etc/.relid" -a x"`uname -n`" = x"`uname -s`"; then - system="MP-RAS-`$AWK '{print }' /etc/.relid'`" + system="MP-RAS-`$AWK '{print $3}' /etc/.relid'`" fi fi fi