In the first example for AC_ARG_WITH, there's an "if test…fi" block:
if test "x$with_readline" != xcheck; then AC_MSG_FAILURE( [--with-readline was given, but test for readline failed]) fi Is there some reason why this doesn't use AS_IF? I see a comment above saying: @c FIXME: Remove AS_IF when the problem of AC_REQUIRE within `if' is solved. but it's not clear whether that's relevant (the commit log that introduced the comment doesn't seem to explain it). -- http://rrt.sc3d.org