forked from Imagelibrary/rtems
This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
67 lines
1.5 KiB
Plaintext
67 lines
1.5 KiB
Plaintext
## Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ([2.69])
|
|
AC_INIT([rtems-c-src-tests],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
|
|
AC_CONFIG_SRCDIR([PROBLEMS])
|
|
RTEMS_TOP([..],[])
|
|
RTEMS_SOURCE_TOP
|
|
RTEMS_BUILD_TOP
|
|
|
|
RTEMS_CANONICAL_TARGET_CPU
|
|
|
|
AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
|
|
AM_MAINTAINER_MODE
|
|
|
|
RTEMS_ENABLE_TESTS
|
|
RTEMS_ENABLE_CXX
|
|
|
|
RTEMS_ENV_RTEMSBSP
|
|
|
|
RTEMS_PROJECT_ROOT
|
|
|
|
RTEMS_PROG_CC_FOR_TARGET
|
|
RTEMS_PROG_CXX_FOR_TARGET
|
|
RTEMS_CANONICALIZE_TOOLS
|
|
AM_PROG_CC_C_O
|
|
|
|
AC_ARG_ENABLE([ada],
|
|
[AS_HELP_STRING(--enable-ada,enable Ada support)],
|
|
[case "${enable_ada}" in
|
|
yes) ;;
|
|
no) ;;
|
|
*) AC_MSG_ERROR(bad value ${enable_ada} for --enable-ada) ;;
|
|
esac],[enable_ada=no])
|
|
|
|
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
|
|
|
RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
|
|
RTEMS_CHECK_CPUOPTS([RTEMS_MULTIPROCESSING])
|
|
RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
|
|
RTEMS_CHECK_CPUOPTS([RTEMS_SMP])
|
|
|
|
case $enable_tests in
|
|
yes | samples )
|
|
AC_CONFIG_SUBDIRS(samples)
|
|
;;
|
|
esac
|
|
|
|
if test "$enable_tests" = "yes"; then
|
|
# do functionality tests first, then performance tests
|
|
AC_CONFIG_SUBDIRS(libtests sptests fstests psxtests)
|
|
if test "$rtems_cv_RTEMS_MULTIPROCESSING" = "yes"; then
|
|
AC_CONFIG_SUBDIRS(mptests)
|
|
fi
|
|
if test "$rtems_cv_RTEMS_SMP" = "yes"; then
|
|
AC_CONFIG_SUBDIRS(smptests)
|
|
fi
|
|
if test "$enable_ada" = "yes"; then
|
|
AC_CONFIG_SUBDIRS(ada)
|
|
fi
|
|
# Now do performance tests
|
|
AC_CONFIG_SUBDIRS(tmtests psxtmtests benchmarks rhealstone)
|
|
fi
|
|
|
|
# Explicitly list all Makefiles here
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|