diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-19 17:05:34 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-19 17:05:34 +0000 |
commit | 86f12bc0454db726ec3f230315adb3f2510aa8df (patch) | |
tree | 1589756e676cb61eddf5f5eb7f067c1e4b9b2d39 | |
parent | 20d7ed37914f6c90d6c3eb0dc4bd3fa8752c0f52 (diff) |
2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove LD_PATHS (Unused).
* aclocal/check-newlib.m4: Adaptation to autoconf-2.5x (AC_TRY_LINK
is announced obsolete).
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | aclocal/check-newlib.m4 | 19 | ||||
-rw-r--r-- | automake/compile.am | 5 |
3 files changed, 16 insertions, 14 deletions
@@ -1,5 +1,11 @@ 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + * automake/compile.am: Remove LD_PATHS (Unused). + * aclocal/check-newlib.m4: Adaptation to autoconf-2.5x (AC_TRY_LINK + is announced obsolete). + +2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + * Makefile.am: Reflect having removed aclocal/sysv-ipc.m4. 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> diff --git a/aclocal/check-newlib.m4 b/aclocal/check-newlib.m4 index a26624702e..e80755d462 100644 --- a/aclocal/check-newlib.m4 +++ b/aclocal/check-newlib.m4 @@ -8,19 +8,18 @@ AC_CACHE_CHECK([for RTEMS newlib], rtems_cv_use_newlib, [ dnl some versions of newlib provide not_required_by_rtems - AC_TRY_LINK( - [extern void not_required_by_rtems() ;], - [not_required_by_rtems()], - rtems_cv_use_newlib="yes") + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[extern void not_required_by_rtems() ;]], + [[not_required_by_rtems()]])], + [rtems_cv_use_newlib="yes"],[]) dnl some versions of newlib provide rtems_provides_crt0() AS_IF([test -z "$rtems_cv_use_newlib"], - [AC_TRY_LINK( - [extern void rtems_provides_crt0() ;], - [rtems_provides_crt0()], - rtems_cv_use_newlib="yes", - rtems_cv_use_newlib="no")] - ) + [AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[extern void rtems_provides_crt0() ;]], + [[rtems_provides_crt0()]])], + [rtems_cv_use_newlib="yes"],[rtems_cv_use_newlib="no"]) + ]) ]) RTEMS_USE_NEWLIB="$rtems_cv_use_newlib" AC_SUBST(RTEMS_USE_NEWLIB) diff --git a/automake/compile.am b/automake/compile.am index 52fde829ac..fb8015fb1b 100644 --- a/automake/compile.am +++ b/automake/compile.am @@ -66,14 +66,11 @@ CFLAGS_PROFILE_V=-pg CXXFLAGS_PROFILE_V=-pg LDFLAGS_PROFILE_V = -# List of library paths without -L -LD_PATHS= $(PROJECT_RELEASE)/lib - # ld flag for incomplete link LDFLAGS_INCOMPLETE = -r # ld flags for profiling, debugging -LDFLAGS=$(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %) +LDFLAGS=$(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) # # Client compiler and support tools |