test for uClinux in configure script

Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
This commit is contained in:
Frank Vanbever 2020-01-10 11:24:43 +01:00 committed by Felipe Zimmerle
parent fe84d2bae6
commit e9bcaf441d
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -157,7 +157,7 @@ case $host in
AC_DEFINE([MACOSX], [1], [Define if the operating system is Macintosh OSX]) AC_DEFINE([MACOSX], [1], [Define if the operating system is Macintosh OSX])
PLATFORM="MacOSX" PLATFORM="MacOSX"
;; ;;
*-*-linux*) *-*-linux* | *-*uclinux*)
echo "Checking platform... Identified as Linux" echo "Checking platform... Identified as Linux"
AC_DEFINE([LINUX], [1], [Define if the operating system is LINUX]) AC_DEFINE([LINUX], [1], [Define if the operating system is LINUX])
PLATFORM="Linux" PLATFORM="Linux"