change log for rtems (2010-12-01)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Dec 1 06:11:47 UTC 2010


 *ralf*:
2010-12-01	Ralf Corsépius <ralf.corsepius at rtems.org>

	* configure.ac: Check for complex.h.
	Add AM_CONDITIONAL(HAS_COMPLEX) to allow building with outdated
	toolchains.
	* complex/Makefile.am: Apply HAS_COMPLEX.

M  1.242  testsuites/libtests/ChangeLog
M    1.2  testsuites/libtests/complex/Makefile.am
M   1.58  testsuites/libtests/configure.ac

diff -u rtems/testsuites/libtests/ChangeLog:1.241 rtems/testsuites/libtests/ChangeLog:1.242
--- rtems/testsuites/libtests/ChangeLog:1.241	Tue Nov 30 07:55:09 2010
+++ rtems/testsuites/libtests/ChangeLog	Tue Nov 30 23:43:07 2010
@@ -1,3 +1,10 @@
+2010-12-01	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* configure.ac: Check for complex.h.
+	Add AM_CONDITIONAL(HAS_COMPLEX) to allow building with outdated
+	toolchains.
+	* complex/Makefile.am: Apply HAS_COMPLEX.
+
 2010-11-30	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* Makefile.am: Add complex, math subdirs.

diff -u rtems/testsuites/libtests/complex/Makefile.am:1.1 rtems/testsuites/libtests/complex/Makefile.am:1.2
--- rtems/testsuites/libtests/complex/Makefile.am:1.1	Tue Nov 30 07:48:35 2010
+++ rtems/testsuites/libtests/complex/Makefile.am	Tue Nov 30 23:43:07 2010
@@ -2,8 +2,10 @@
 ##  $Id$
 ##
 
+if HAS_COMPLEX
 rtems_tests_PROGRAMS = complex
 complex_SOURCES = init.c docomplex.c docomplexf.c docomplexl.c
+endif
 EXTRA_DIST = docomplex.in
 
 # FIXME: Skip long double, not yet supported in newlib
@@ -34,6 +36,7 @@
 include $(top_srcdir)/../automake/compile.am
 include $(top_srcdir)/../automake/leaf.am
 
+if HAS_COMPLEX
 complex_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel) -lm
 
 LINK_OBJS = $(complex_OBJECTS) $(complex_LDADD)
@@ -42,5 +45,6 @@
 complex$(EXEEXT): $(complex_OBJECTS) $(complex_DEPENDENCIES)
 	@rm -f complex$(EXEEXT)
 	$(make-exe)
+endif
 
 include $(top_srcdir)/../automake/local.am

diff -u rtems/testsuites/libtests/configure.ac:1.57 rtems/testsuites/libtests/configure.ac:1.58
--- rtems/testsuites/libtests/configure.ac:1.57	Tue Nov 30 07:55:09 2010
+++ rtems/testsuites/libtests/configure.ac	Tue Nov 30 23:43:07 2010
@@ -31,9 +31,12 @@
 AC_PROG_LN_S
 AC_PATH_PROG([PAX],[pax])
 
+AC_CHECK_HEADERS([complex.h])
+
 AM_CONDITIONAL(TARTESTS,test "$as_ln_s" = "ln -s" && test -n "$PAX")
 
 AM_CONDITIONAL(HAS_CXX,test "$rtems_cv_HAS_CPLUSPLUS" = "yes")
+AM_CONDITIONAL([HAS_COMPLEX],[test "$ac_cv_header_COMPLEX_H" = yes])
 
 # Explicitly list all Makefiles here
 AC_CONFIG_FILES([Makefile



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20101201/e707594c/attachment.html>


More information about the vc mailing list