Commit 6008951c authored by Eddy Beaupre's avatar Eddy Beaupre Committed by Alejandro Mery
Browse files

Add check for GNU Tools for ARM Embedded Processors.

parent 52c89bc4
...@@ -11,6 +11,12 @@ AM_INIT_AUTOMAKE([1.9]) ...@@ -11,6 +11,12 @@ AM_INIT_AUTOMAKE([1.9])
# Checks for programs. # Checks for programs.
AC_PROG_CC AC_PROG_CC
AC_PROG_LN_S AC_PROG_LN_S
if test x"$cross_compiling" != x"yes" ; then
AC_CHECK_PROG(ARMGCC_CHECK, arm-none-eabi-gcc, yes)
if test x"$ARMGCC_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install GNU Tools for ARM Embedded Processors before installing.])
fi
fi
# Checks for libraries. # Checks for libraries.
PKG_CHECK_MODULES([LIBUSB], libusb-1.0 >= 1.0.0,, AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***])) PKG_CHECK_MODULES([LIBUSB], libusb-1.0 >= 1.0.0,, AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment