Changeset 86f12bc in rtems for aclocal


Ignore:
Timestamp:
Nov 19, 2002, 5:05:34 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1f64ebf
Parents:
20d7ed37
Message:

2002-11-19 Ralf Corsepius <corsepiu@…>

  • automake/compile.am: Remove LD_PATHS (Unused).
  • aclocal/check-newlib.m4: Adaptation to autoconf-2.5x (AC_TRY_LINK is announced obsolete).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/check-newlib.m4

    r20d7ed37 r86f12bc  
    99  [
    1010dnl some versions of newlib provide not_required_by_rtems
    11     AC_TRY_LINK(
    12       [extern void not_required_by_rtems() ;],
    13       [not_required_by_rtems()],
    14       rtems_cv_use_newlib="yes")
     11    AC_LINK_IFELSE(
     12      [AC_LANG_PROGRAM([[extern void not_required_by_rtems() ;]],
     13        [[not_required_by_rtems()]])],
     14      [rtems_cv_use_newlib="yes"],[])
    1515
    1616dnl some versions of newlib provide rtems_provides_crt0()
    1717    AS_IF([test -z "$rtems_cv_use_newlib"],
    18       [AC_TRY_LINK(
    19         [extern void rtems_provides_crt0() ;],
    20         [rtems_provides_crt0()],
    21         rtems_cv_use_newlib="yes",
    22         rtems_cv_use_newlib="no")]
    23     )
     18      [AC_LINK_IFELSE(
     19         [AC_LANG_PROGRAM([[extern void rtems_provides_crt0() ;]],
     20           [[rtems_provides_crt0()]])],
     21         [rtems_cv_use_newlib="yes"],[rtems_cv_use_newlib="no"])
     22    ])
    2423  ])
    2524  RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
Note: See TracChangeset for help on using the changeset viewer.