Changeset 29 for trunk/configure.in

Show
Ignore:
Timestamp:
04/13/07 17:40:49 (15 years ago)
Author:
andreu
Message:

sampling information in rrd filename - optional template first step

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r28 r29  
    1010CFLAGS="-I/usr/local/include -g -ansi -Wno-long-long -Wall -D _SVID_SOURCE -DSIGSETJMP_IS_BROKEN -D _XOPEN_SOURCE -pedantic -pg" 
    1111 
     12CFLAGS_OPTIMIZE="-O2" 
    1213CFLAGS_CRIHAN="-DCRIHAN" 
    1314CFLAGS_IPV4AGG="-DIPV4AGG" 
    1415CFLAGS_DEBUG="-DDEBUG" 
     16CFLAGS_DEBUGAGG="-DDEBUGAGG" 
    1517                                 
    1618# Checks for programs. 
     
    2628AC_C_VOLATILE 
    2729AC_TYPE_SIZE_T 
     30 
     31AC_ARG_ENABLE(optimize,[  --enable-optimize gcc O2 option compilation default=no], 
     32optimize=$enableval,optimize=no) 
     33if test $optimize = yes ; then 
     34CFLAGS="$CFLAGS $CFLAGS_OPTIMIZE" 
     35fi 
    2836 
    2937AC_ARG_ENABLE(crihan,[  --enable-crihan allow files outputs for CRIHAN tools default=no], 
     
    4553fi 
    4654 
     55AC_ARG_ENABLE(debugagg,[  --enable-debugagg Debug Agg mode definition=no], 
     56debugagg=$enableval,debugagg=no) 
     57if test $debugagg = yes ; then 
     58CFLAGS="$CFLAGS $CFLAGS_DEBUGAGG" 
     59fi 
     60 
    4761AC_SUBST(CFLAGS) 
    4862