Re: [AD] configure script: feature or bug ?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> How about:
> "yes"
> "no"
> "disabled" (whether or not capability would actually be available or not)

"disabled" doesn't fit with the binary logic of the autoconf commands: for 
example

	AC_CHECK_HEADER(
	  linux/fb.h,
	  command_if_yes,
	  command_if_no
	)

automatically displays "yes" or "no" only. We would need to add explicit lines 
trying to mimic the message displayed by the AC_* commands. Not very nice.

Currently we have a mix between checks that are silenced when disabled (all 
the AC_CHECK_HEADERs, the X Window sub-checks) and checks that are failed 
(the asm related checks). For the sake of consistency and simplicity, I think 
we should silence everything.

-- 
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/