Changeset 87b4f123 in rtems


Ignore:
Timestamp:
Dec 1, 2010, 5:43:07 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
a3579d3
Parents:
95b18d0
Message:

2010-12-01 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: Check for complex.h. Add AM_CONDITIONAL(HAS_COMPLEX) to allow building with outdated toolchains.
  • complex/Makefile.am: Apply HAS_COMPLEX.
Location:
testsuites/libtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r95b18d0 r87b4f123  
     12010-12-01      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * configure.ac: Check for complex.h.
     4        Add AM_CONDITIONAL(HAS_COMPLEX) to allow building with outdated
     5        toolchains.
     6        * complex/Makefile.am: Apply HAS_COMPLEX.
     7
    182010-11-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    29
  • testsuites/libtests/complex/Makefile.am

    r95b18d0 r87b4f123  
    33##
    44
     5if HAS_COMPLEX
    56rtems_tests_PROGRAMS = complex
    67complex_SOURCES = init.c docomplex.c docomplexf.c docomplexl.c
     8endif
    79EXTRA_DIST = docomplex.in
    810
     
    3537include $(top_srcdir)/../automake/leaf.am
    3638
     39if HAS_COMPLEX
    3740complex_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel) -lm
    3841
     
    4346        @rm -f complex$(EXEEXT)
    4447        $(make-exe)
     48endif
    4549
    4650include $(top_srcdir)/../automake/local.am
  • testsuites/libtests/configure.ac

    r95b18d0 r87b4f123  
    3232AC_PATH_PROG([PAX],[pax])
    3333
     34AC_CHECK_HEADERS([complex.h])
     35
    3436AM_CONDITIONAL(TARTESTS,test "$as_ln_s" = "ln -s" && test -n "$PAX")
    3537
    3638AM_CONDITIONAL(HAS_CXX,test "$rtems_cv_HAS_CPLUSPLUS" = "yes")
     39AM_CONDITIONAL([HAS_COMPLEX],[test "$ac_cv_header_COMPLEX_H" = yes])
    3740
    3841# Explicitly list all Makefiles here
Note: See TracChangeset for help on using the changeset viewer.