Skip to content

Commit

Permalink
configure: add NetBSD as a supported platform and modified PLATFORM t…
Browse files Browse the repository at this point in the history
…est to "case in"
  • Loading branch information
iMilnb authored and davmac314 committed Feb 5, 2025
1 parent 712e1fa commit 60dcf0e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,12 @@ fi
[ -z "${STRIPOPTS+IS_SET}" ] && STRIPOPTS="-s"

## Verify PLATFORM value
if [ "$PLATFORM" != "Linux" ] && [ "$PLATFORM" != "FreeBSD" ] && \
[ "$PLATFORM" != "OpenBSD" ] && [ "$PLATFORM" != "Darwin" ]; then
warning "$PLATFORM platform is unknown!" "Known Platforms are: Linux, FreeBSD, OpenBSD, Darwin"
fi
case "$PLATFORM" in
Linux|FreeBSD|NetBSD|OpenBSD|Darwin) ;;
*) warning "$PLATFORM platform is unknown!" \
"Known Platforms are: Linux, FreeBSD, NetBSD, OpenBSD, Darwin"
;;
esac

## Create testfile.cc to test c++ compiler
configtmpdir=`mktmpdir`
Expand Down

0 comments on commit 60dcf0e

Please sign in to comment.