repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 301d4915bc7bd8f86461c1d47f72a50d6005e761:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 301d4915bc7bd8f86461c1d47f72a50d6005e761
Author: Alexander Barton 
Date:   Tue Nov 13 22:42:49 2012 +0100

    Update platformtest.sh to follow autoconf changes

diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh
index afe9420699a4c043f26449731d0feb0a0896d67f..
index ..cc4243495fdd5ccfbba817f4a28d09f57f52f15f 100755
--- a/contrib/platformtest.sh
+++ b/contrib/platformtest.sh
@@ -76,7 +76,7 @@ if [ -r ./configure ]; then
 				R_RUN=$R_CHECK
 			else
 				./src/ngircd/ngircd --help 2>/dev/null \
-				 | grep "^ngircd" >/dev/null
+				 | grep "^ngIRCd" >/dev/null
 				[ $? -eq 0 ] && R_RUN=1
 			fi
 		fi
@@ -85,9 +85,9 @@ fi

 # Get target platform information
 if [ -r "src/config.h" ]; then
-	CPU=`grep "TARGET_CPU" "src/config.h" | cut -d'"' -f2`
-	OS=`grep "TARGET_OS" "src/config.h" | cut -d'"' -f2`
-	VENDOR=`grep "TARGET_VENDOR" "src/config.h" | cut -d'"' -f2`
+	CPU=`grep "HOST_CPU" "src/config.h" | cut -d'"' -f2`
+	OS=`grep "HOST_OS" "src/config.h" | cut -d'"' -f2`
+	VENDOR=`grep "HOST_VENDOR" "src/config.h" | cut -d'"' -f2`
 	PLATFORM="$CPU/$VENDOR/$OS"
 fi
 if [ -z "$PLATFORM" ]; then

-----END OF PAGE-----