configure: abort if SDCC is not found

Change RESULT to ERROR so the configure script stops when SDCC is not
found. Otherwise it tries to use "no":

  no -I../../firmware/include  -c delay.c -o delay.rel
  /bin/bash: line 1: no: command not found

Change-Id: Id8defcc72a35e469a1eeb59919d66cc7cf2f6ac8
This commit is contained in:
Oliver Smith 2023-02-09 17:17:07 +01:00
parent 0c86c16936
commit fe31e2b363
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false && test "x$doxygen" = "xyes"
AC_CHECK_PROG([XMLTO],[xmlto],[yes],[])
AM_CONDITIONAL([HAS_XMLTO], [test x$XMLTO = xyes])
USRP_SDCC([3.2.0],[],[passed=no;AC_MSG_RESULT([Unable to find firmware compiler SDCC 3.x.])])
USRP_SDCC([3.2.0],[],[passed=no;AC_MSG_ERROR([Unable to find firmware compiler SDCC 3.x.])])
AC_CONFIG_FILES([
Makefile