Changeset 2107


Ignore:
Timestamp:
Nov 7, 2009, 4:53:27 PM (12 years ago)
Author:
Peter
Message:

using AC_CHECK_DECL (from autoconf) rather than AX_C_IFDEF (from autoconf macro archive).

Location:
trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2104 r2107  
    244244else
    245245  # avoid defining GSL_RANGE_CHECK_OFF if GSL_RANGE_CHECK is already defined
    246   AX_C_IFDEF([GSL_RANGE_CHECK],[],
    247              [YAT_CPP_ADD_FLAG([INTERNAL_CPPFLAGS], [-DGSL_RANGE_CHECK_OFF])] )
     246  AC_CHECK_DECL([GSL_RANGE_CHECK],[],
     247                [YAT_CPP_ADD_FLAG([INTERNAL_CPPFLAGS],[-DGSL_RANGE_CHECK_OFF])])
    248248  YAT_CPP_ADD_FLAG([INTERNAL_CPPFLAGS], [-DNDEBUG])
    249249  YAT_CXX_ADD_FLAG([INTERNAL_CXXFLAGS], [-O3])
  • trunk/m4/yat_add_flag.m4

    r2093 r2107  
    6060                    yat_save_CPPFLAGS="$CPPFLAGS"
    6161                    m4_if([$1], [CPPFLAGS], [], [CPPFLAGS="$$1 $CPPFLAGS"])
    62                     AX_C_IFDEF([$yat_def],[ignore=yes])
     62                    AC_CHECK_DECL([$yat_def],[ignore=yes])
    6363                    CPPFLAGS="$yat_save_CPPFLAGS"])
    6464
Note: See TracChangeset for help on using the changeset viewer.