Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.6-stable/configure.ac

    r764 r841  
    3030
    3131AC_PREREQ(2.57)
    32 AC_INIT([svndigest],[0.6.7],[jari@thep.lu.se])
     32AC_INIT([svndigest],[0.6.8],[jari@thep.lu.se])
    3333AC_CONFIG_SRCDIR([lib/File.h])
    3434AC_CONFIG_AUX_DIR([autotools])
     
    5454CXXFLAGS="-Wall -pedantic -Wno-long-long"
    5555
    56 AC_ARG_ENABLE(debug,
    57   [AS_HELP_STRING([--enable-debug],[turn on debug options and code])],
    58   [CXXFLAGS="$CXXFLAGS -g -O"],
    59   [CPPFLAGS="$CPPFLAGS -DNDEBUG" CXXFLAGS="$CXXFLAGS -O3"])
    60 
    61 AC_ARG_ENABLE(wctests,
     56AC_ARG_ENABLE([debug],
     57              [AS_HELP_STRING([--enable-debug],
     58                              [turn on debug options and code])])
     59
     60AS_IF([test x$enable_debug = xyes], [CXXFLAGS="$CXXFLAGS -g -O"],
     61      [CPPFLAGS="$CPPFLAGS -DNDEBUG" CXXFLAGS="$CXXFLAGS -O3"])
     62
     63AC_ARG_ENABLE([wctests],
    6264  [AS_HELP_STRING([--enable-wctests],[turn on all tests, tests
    63   requiring a subversion WC are disabled by default])], [wctests=true])
    64 AM_CONDITIONAL(WCTESTS, test x$wctests = xtrue)
     65  requiring a subversion WC are disabled by default])])
     66AM_CONDITIONAL(WCTESTS, test x$enable_wctests = xyes)
    6567
    6668# optionally prepare for building static libraries.
     
    176178AC_MSG_NOTICE([])
    177179
    178 if (test "$wctests") ; then
     180if (test x$enable_wctests = xyes) ; then
    179181    AC_MSG_NOTICE([WC dependent tests are enabled])
    180182else
Note: See TracChangeset for help on using the changeset viewer.