summaryrefslogtreecommitdiffstats
path: root/aclocal/check-cxx.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-12 20:54:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-12 20:54:13 +0000
commit1ea70d78ddbd7347df50103c4a915e140d913f9c (patch)
treeb626c2aa756c5b84db5a3bd3cedc4da9ccfaa0e9 /aclocal/check-cxx.m4
parent2000-09-12 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-1ea70d78ddbd7347df50103c4a915e140d913f9c.tar.bz2
2000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-cxx.m4: Add AC_SUBST(CPLUS_LD_LIBS) * aclocal/prog-cc.m4: Cleanup comments, require RTEMS_ENABLE_GCC28, add automake conditionals RTEMS_USE_GCC, RTEMS_USE_GCC272. * automake/compile.am: Replaced. * automake/local.am: Remove building variant handling.
Diffstat (limited to 'aclocal/check-cxx.m4')
-rw-r--r--aclocal/check-cxx.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/aclocal/check-cxx.m4 b/aclocal/check-cxx.m4
index ce9900a580..997f0fbf6a 100644
--- a/aclocal/check-cxx.m4
+++ b/aclocal/check-cxx.m4
@@ -18,4 +18,9 @@ AC_CACHE_CHECK([whether to build rtems++],
fi])
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
AC_SUBST(HAS_CPLUSPLUS)dnl
+
+if test "$HAS_CPLUSPLUS" = "yes"; then
+CPLUS_LD_LIBS='$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)'
+fi
+AC_SUBST(CPLUS_LD_LIBS)
])