On Wed, 29 Sep 2010, Alexey I. Froloff wrote: > Try this: > > AC_ARG_ENABLE([lcov], > [AS_HELP_STRING([--enable-lcov[=output-directory]], [enable coverage > data generation using LCOV (GCC only) @<:@default=no@:>@])], > [], > [enable_lcov=no]) > > AS_IF([test "x$enable_lcov" != xno], > AX_CFLAGS_GCC_OPTION(-fprofile-arcs -ftest-coverage) > if test "x$enable_lcov" = "xyes"; then > lcov_output_directory="coverage-report" > else > lcov_output_directory="$enable_lcov" > fi > AC_SUBST(lcov_output_directory) > )
almost, almost, but this gave me the hint! the do-if, do-if-not branches need to be enclosed in fucking square brackets too, then suddenly it started working. thanks a bunch. some patch coming soon. -- [-] mkdir /nonexistent -- To unsubscribe, send mail to [email protected].
