summaryrefslogblamecommitdiffstats
path: root/c/src/tests/configure.in
blob: 4cb604ffce7e0f3c02c3922b9aa3b2af7a4d8562 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                  


                           


                           

                          
                                                     

                  
                  
                  
                       

                  
                 


                  




                    
                                 
                                      
                                
                                
 



                          
                                      
                                                        
                                     
                                 
                              
    
                                        
                               
    
                                        
                                 

                            
                            
                                        
                                   
    
  
 

                         
 
                                    


                         
dnl Process this file with autoconf to produce a configure script.
dnl
dnl  $Id$

AC_PREREQ(2.52)
AC_INIT
AC_CONFIG_SRCDIR([samples])
RTEMS_TOP(../../..)
AC_CONFIG_AUX_DIR(../../..)

RTEMS_CANONICAL_TARGET_CPU

AM_INIT_AUTOMAKE(rtems-c-src-tests,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE

RTEMS_ENABLE_POSIX
RTEMS_ENABLE_ITRON
RTEMS_ENABLE_NETWORKING
RTEMS_ENABLE_CXX
RTEMS_ENABLE_GCC28
RTEMS_ENABLE_BARE
RTEMS_ENABLE_TESTS

RTEMS_ENV_RTEMSBSP
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST

RTEMS_PROJECT_ROOT

RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
RTEMS_CHECK_ITRON_API(RTEMS_BSP)

AC_CONFIG_SUBDIRS(tools)
AC_CONFIG_SUBDIRS(support)
AC_CONFIG_SUBDIRS(samples)

if test "$tests_enabled" = "yes"; then
  # do functionality tests first, then performance tests
  AC_CONFIG_SUBDIRS(libtests sptests)
  if test "$HAS_MP" = "yes"; then
    AC_CONFIG_SUBDIRS(mptests)
  fi
  if test "$HAS_POSIX_API" = "yes"; then
    AC_CONFIG_SUBDIRS(psxtests)
  fi
  if test "$HAS_ITRON_API" = "yes"; then
    AC_CONFIG_SUBDIRS(itrontests)
  fi
  # Now do performance tests
  AC_CONFIG_SUBDIRS(tmtests)
  if test "$HAS_ITRON_API" = "yes"; then
    AC_CONFIG_SUBDIRS(tmitrontests)
  fi
fi

AC_SUBST(BARE_CPU_CFLAGS)
AC_SUBST(BARE_CPU_MODEL)

# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
])
AC_OUTPUT