Changeset a0ea6f1 in rtems for aclocal/check-newlib.m4


Ignore:
Timestamp:
Jan 6, 2002, 8:12:13 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c274328
Parents:
d049568
Message:

2002-02-05 Ralf Corsepius <corsepiu@…>

  • aclocal/check-newlib.m4: Apply AS_IF.
  • aclocal/config-subdirs.m4: Remove _RTEMS_PUSH_BUILDDIR, _RTEMS_POP_BUILDDIR, _RTEMS_GIVEN_INSTALL, _RTEMS_SUB_SRCDIR.
  • aclocal/subdirs.m4: Fix comments, apply AS_IF.
  • aclocal/sysv-ipc.m4: Reflect autoconf-2.5x canonicalization changes.
  • aclocal/target.m4: Add _RTEMS_PUSH_BUILDDIR, _RTEMS_POP_BUILDDIR, _RTEMS_GIVEN_INSTALL, _RTEMS_SUB_SRCDIR.
  • automake/compile.am: Remove librtemsall from LINK_FILES.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/check-newlib.m4

    rd049568 ra0ea6f1  
    1515
    1616dnl some versions of newlib provide rtems_provides_crt0()
    17     if test -z "$rtems_cv_use_newlib"; then
    18       AC_TRY_LINK(
     17    AS_IF([test -z "$rtems_cv_use_newlib"],
     18      [AC_TRY_LINK(
    1919        [extern void rtems_provides_crt0() ;],
    2020        [rtems_provides_crt0()],
    2121        rtems_cv_use_newlib="yes",
    22         rtems_cv_use_newlib="no")
    23     fi
     22        rtems_cv_use_newlib="no")]
     23    )
    2424  ])
    25 RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
    26 AC_SUBST(RTEMS_USE_NEWLIB)
     25  RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
     26  AC_SUBST(RTEMS_USE_NEWLIB)
    2727
    28 if test x"${RTEMS_USE_NEWLIB}" = x"yes";
    29 then
    30   AC_DEFINE_UNQUOTED(RTEMS_NEWLIB,1,[if using newlib])
    31   AC_DEFINE_UNQUOTED(MALLOC_PROVIDED,1,[if malloc is provided])
    32 fi
     28  AS_IF([test x"${RTEMS_USE_NEWLIB}" = x"yes"],
     29    [ AC_DEFINE_UNQUOTED(RTEMS_NEWLIB,1,[if using newlib])]
     30  )
    3331])
Note: See TracChangeset for help on using the changeset viewer.