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

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


On 2002-11-07, Eric <ebotcazou@xxxxxxxxxx> wrote:
> Try
> 	./configure
> then
> 	./configure --disable-asm
> 
> and you will end up with asm support. It's because we cache the setting 
> instead of caching the underlying test!
> 
> I do think it's a bug.

Me too.

> If everyone agrees, I'll fix it in my upcoming 
> überpatch that will clean up a bit the mess that the configure machinery 
> currently is.

Great.

While you're at it ;-), how about making "allegro-config --reconfigure"
print out the configure command used for that copy of Allegro?  This is
the relevant piece of crud for configure.in, stolen from another project:

  dnl put the args to the configure in gauche-config script for later use.
  dnl the use of ac_configure_args depends on autoconf 2.52.
  GAUCHE_CONFIGURE_ARGS="`echo ""$ac_configure_args"" | sed 's/[\\""\`\$]/\\\&/g'`"
  AC_SUBST(GAUCHE_CONFIGURE_ARGS)

-- 
王浩禎



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