summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--aclocal/check-newlib.m419
-rw-r--r--automake/compile.am5
3 files changed, 16 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index fe5a3a7c32..30d32b93a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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