about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-11-13 22:42:49 +0100
committerAlexander Barton <alex@barton.de>2012-11-13 22:46:06 +0100
commit301d4915bc7bd8f86461c1d47f72a50d6005e761 (patch)
tree2b90bd3dffc694907435a18064403244ea116fe9
parent8061056cec2a4105212d257fcb278b3248c41e4c (diff)
downloadngircd-301d4915bc7bd8f86461c1d47f72a50d6005e761.tar.gz
ngircd-301d4915bc7bd8f86461c1d47f72a50d6005e761.zip
Update platformtest.sh to follow autoconf changes
-rwxr-xr-xcontrib/platformtest.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh
index afe94206..cc424349 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