AC_ARG_ENABLE([something], [--enable-something xyz],, [enable_something=no]) AM_CONDITIONAL([SOMETHING, [test "$enable_something" != no])
What would you think about one or two wrapper macros in Automake that would simplify the above to
AM_ARG_ENABLE([something], [xyz]) # if default is NO AM_ARG_DISABLE([something], [xyz]) # if default is YES ? Paolo