Changeset 39
- Timestamp:
- Jul 21, 2009, 3:29:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/configure.ac
r34 r39 26 26 [do_$1=${enableval}], 27 27 [do_$1=$3]) 28 AS_IF([test x${do_$1} != xno],28 AS_IF([test x${do_$1} != "xno"], 29 29 AC_DEFINE(m4_toupper([CONFIG_$1]), [], [$2]), 30 30 )]) … … 34 34 MY_ARG_ENABLE(check_multiwriting2register, [Report if unconnected signal is written twice], [no]) 35 35 MY_ARG_ENABLE(debug, [Enable debugging], [no]) 36 36 37 MY_ARG_ENABLE(default_runtime_compilation, [Compile scheduling code], [no]) 37 38 38 39 # Also set -DNDEBUG when not debugging, this disables assert()s 39 AS_IF([test "x$do_debug" != xyes],40 CXXFLAGS="-DNDEBUG")40 AS_IF([test "x$do_debug" = "xyes"], [CXXFLAGS="-g" ], 41 [test "x$do_debug" != "xyes"], [CXXFLAGS="-O2 -NDEBUG"]) 41 42 42 43 case $target_os in
Note: See TracChangeset
for help on using the changeset viewer.