source: rtems/c/src/lib/libbsp/moxie/moxiesim/configure.ac @ aa567bc1

5
Last change on this file since aa567bc1 was aa567bc1, checked in by Chris Johns <chrisj@…>, on 04/10/18 at 06:06:39

configure: Add subdir-objects to all automake flags.

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.

  • Property mode set to 100644
File size: 968 bytes
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id: configure.ac,v 1.20 2009/11/28 06:28:39 ralf Exp $
4
5AC_PREREQ(2.60)
6AC_INIT([rtems-c-src-lib-libbsp-moxie-moxiesim],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
7AC_CONFIG_SRCDIR([make/custom/moxiesim.cfg])
8RTEMS_TOP(../../../../../..)
9RTEMS_SOURCE_TOP
10RTEMS_BUILD_TOP
11RTEMS_BSP_LINKCMDS
12
13RTEMS_CANONICAL_TARGET_CPU
14AM_INIT_AUTOMAKE([no-define nostdinc foreign subdir-objects 1.12.2])
15RTEMS_BSP_CONFIGURE
16
17
18RTEMS_BSP_CLEANUP_OPTIONS
19
20AC_MSG_CHECKING([for old moxie assembly syntax])
21AC_COMPILE_IFELSE(
22  [AC_LANG_PROGRAM(
23    [],
24    [asm("sub.l \$r0, \$r0");])],
25  [HAVE_OLD_MOXIE_ASM=yes],
26  [HAVE_OLD_MOXIE_ASM=no])
27AC_MSG_RESULT([$HAVE_OLD_MOXIE_ASM])
28if test "x$HAVE_OLD_MOXIE_ASM" = xyes; then
29  AC_DEFINE(HAVE_OLD_MOXIE_ASM,
30            1, [Define if you are using old moxie asm syntax (sub.l)])
31fi
32
33# Explicitly list all Makefiles here
34AC_CONFIG_FILES([Makefile])
35AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.