[RFC] AM_ARG_ENABLE

2010-09-07 Thread Paolo Bonzini
While looking around at the most common shell idioms in otherwise simple configure.ac files, I found a very common one: AC_ARG_ENABLE([something], [--enable-somethingxyz],, [enable_something=no]) AM_CONDITIONAL([SOMETHING, [test $enable_something != no]) What would you think about one

Re: [RFC] AM_ARG_ENABLE

2010-09-07 Thread Ralf Wildenhues
Hi Paolo, * Paolo Bonzini wrote on Tue, Sep 07, 2010 at 07:10:39PM CEST: While looking around at the most common shell idioms in otherwise simple configure.ac files, I found a very common one: AC_ARG_ENABLE([something], [--enable-somethingxyz],, [enable_something=no])