summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-12-02 10:35:13 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-12-03 08:27:55 +0100
commitf54e50339ca2c38aed88ce89515a604c67c0e126 (patch)
tree26fb67cc634b99ca1913f9f7641a5f6738a32722
parentMove the flash size probe into bankValidate() (diff)
downloadrtems-f54e50339ca2c38aed88ce89515a604c67c0e126.tar.bz2
libtests: Omit libdl tests if no RTEMS tools
-rw-r--r--testsuites/libtests/configure.ac15
1 files changed, 8 insertions, 7 deletions
diff --git a/testsuites/libtests/configure.ac b/testsuites/libtests/configure.ac
index f8eb27227f..53a017b19d 100644
--- a/testsuites/libtests/configure.ac
+++ b/testsuites/libtests/configure.ac
@@ -46,24 +46,25 @@ AC_MSG_CHECKING([whether CPU supports libdl])
case $RTEMS_CPU in
arm | bfin | h8300 | i386 | lm32 | m32r | m68k | mips | \
moxie | powerpc | sparc | v850)
- HAVE_LIBDL=yes ;;
+ TEST_LIBDL=yes ;;
*)
- HAVE_LIBDL=no ;;
+ TEST_LIBDL=no ;;
esac
-AM_CONDITIONAL(DLTESTS,[test x"$HAVE_LIBDL" = x"yes"])
-AC_MSG_RESULT([$HAVE_LIBDL])
+AC_MSG_RESULT([$TEST_LIBDL])
-AS_IF([test x"$HAVE_LIBDL" = x"yes"],[
+AS_IF([test x"$TEST_LIBDL" = x"yes"],[
AC_CHECK_PROG(RTEMS_LD_CHECK,rtems-ld,yes)
if test x"$RTEMS_LD_CHECK" != x"yes" ; then
- AC_MSG_ERROR([Please install rtems-tools.])
+ TEST_LIBDL=no
fi
AC_CHECK_PROG(RTEMS_SYMS_CHECK,rtems-syms,yes)
if test x"$RTEMS_SYMS_CHECK" != x"yes" ; then
- AC_MSG_ERROR([Please install rtems-tools.])
+ TEST_LIBDL=no
fi
])
+AM_CONDITIONAL(DLTESTS,[test x"$TEST_LIBDL" = x"yes"])
+
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
pwdgrp02/Makefile