mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-20 20:36:53 +00:00
Update platformtest.sh to follow autoconf changes
This commit is contained in:
parent
8061056cec
commit
301d4915bc
@ -76,7 +76,7 @@ if [ -r ./configure ]; then
|
|||||||
R_RUN=$R_CHECK
|
R_RUN=$R_CHECK
|
||||||
else
|
else
|
||||||
./src/ngircd/ngircd --help 2>/dev/null \
|
./src/ngircd/ngircd --help 2>/dev/null \
|
||||||
| grep "^ngircd" >/dev/null
|
| grep "^ngIRCd" >/dev/null
|
||||||
[ $? -eq 0 ] && R_RUN=1
|
[ $? -eq 0 ] && R_RUN=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -85,9 +85,9 @@ fi
|
|||||||
|
|
||||||
# Get target platform information
|
# Get target platform information
|
||||||
if [ -r "src/config.h" ]; then
|
if [ -r "src/config.h" ]; then
|
||||||
CPU=`grep "TARGET_CPU" "src/config.h" | cut -d'"' -f2`
|
CPU=`grep "HOST_CPU" "src/config.h" | cut -d'"' -f2`
|
||||||
OS=`grep "TARGET_OS" "src/config.h" | cut -d'"' -f2`
|
OS=`grep "HOST_OS" "src/config.h" | cut -d'"' -f2`
|
||||||
VENDOR=`grep "TARGET_VENDOR" "src/config.h" | cut -d'"' -f2`
|
VENDOR=`grep "HOST_VENDOR" "src/config.h" | cut -d'"' -f2`
|
||||||
PLATFORM="$CPU/$VENDOR/$OS"
|
PLATFORM="$CPU/$VENDOR/$OS"
|
||||||
fi
|
fi
|
||||||
if [ -z "$PLATFORM" ]; then
|
if [ -z "$PLATFORM" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user