Changeset 654


Ignore:
Timestamp:
06/23/06 22:08:16 (8 years ago)
Author:
sqe
Message:

Re-integration of GCOV support.

( Links to Acro-related mail archives at  http://software.sandia.gov/Acro/ )

Location:
acro/trunk/config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • acro/trunk/config/acro_compiler_flags.m4

    r623 r654  
    113113fi 
    114114   
    115  
     115CFLAGS="${CFLAGS} ${WITH_GCOV}" 
     116CXXFLAGS="${CXXFLAGS} ${WITH_GCOV}" 
     117FFLAGS="${FFLAGS} ${WITH_GCOV}" 
    116118]) 
  • acro/trunk/config/acro_compiler_options.m4

    r608 r654  
    2222WITH_DEBUGGING=notset 
    2323WITH_OPT=notset 
     24WITH_GCOV="" 
    2425 
    2526if test X$1 = Xsubpackage; then :; else 
     
    8081    WITH_OPT=${optimization_default} 
    8182  fi 
     83 
     84  AC_ARG_ENABLE(gcov, 
     85  AS_HELP_STRING([--enable-gcov],[Build with flags that enable the use of gcov.]), 
     86  [WITH_GCOV="-fprofile-arcs -ftest-coverage"], 
     87  [WITH_GCOV=""] 
     88  ) 
     89   
    8290fi 
    8391]) 
Note: See TracChangeset for help on using the changeset viewer.