osmith has uploaded this change for review.

View Change

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
---
M configure.ac
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/libusrp refs/changes/70/31270/1
diff --git a/configure.ac b/configure.ac
index bcc95e6..6635e71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,7 @@
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

To view, visit change 31270. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libusrp
Gerrit-Branch: master
Gerrit-Change-Id: Id8defcc72a35e469a1eeb59919d66cc7cf2f6ac8
Gerrit-Change-Number: 31270
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange