Changeset 338


Ignore:
Timestamp:
Jun 13, 2007, 11:27:09 AM (12 years ago)
Author:
Peter Johansson
Message:

using ac macro fully rather than bashing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/se/lu/thep/wenni/configure.ac

    r336 r338  
    5050CPPFLAGS="-DHAVE_INLINE=1"
    5151AC_ARG_ENABLE(debug,
    52   [AS_HELP_STRING([--enable-debug],[turn on debug options and code])])
    53 if test "${enable_debug}" = "yes" ; then
    54   CXXFLAGS="$CXXFLAGS -g -O"
    55 else
    56   CXXFLAGS="$CXXFLAGS -O3"
    57   CPPFLAGS="$CPPFLAGS -DNDEBUG -DGSL_RANGE_CHECK_OFF"
    58 fi
     52  [AS_HELP_STRING([--enable-debug],[turn on debug options and code])],
     53  [CXXFLAGS="$CXXFLAGS -g -O"],
     54  [CXXFLAGS="$CXXFLAGS -O3"
     55   CPPFLAGS="$CPPFLAGS -DNDEBUG -DGSL_RANGE_CHECK_OFF"])
    5956
    6057AC_ARG_ENABLE(state,
Note: See TracChangeset for help on using the changeset viewer.