Can you not nest the if conditions?

if HAVE_PAPI
if HAVE_CUPS
GTK_PRINT_BACKENDS=papi,cups,lpr
else
GTK_PRINT_BACKENDS=papi,lpr
endif
else
GTK_PRINT_BACKENDS=cups,lpr
endif

or similar?

Laca

On Fri, 2008-04-04 at 10:51 +0000, Ghee Teo wrote:
>   It is unfortunately it is not possible in this case, because
> autoconf
> does not allow logical condition of if (HAVE_PAPI && HAVE_CUPS)
> in the Makefile.am. Also the condition is to define a list of module
> name
> that must not consist of spaces, that is can't have
>  GTK_PRINT_BACKENDS=papi, cups, lpr
> but must have
> GTK_PRINT_BACKENDS=papi,cups,lpr


Reply via email to