Skip to Content.
Sympa Menu

sm-discuss - RE: Re: [SM-Discuss] Persistence wiki

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: RE: Re: [SM-Discuss] Persistence wiki
  • Date: Mon, 23 Aug 2004 14:13:13 -0700

Quoting evraire AT tuwg.com:
> Hello,
>
> Eric Sandalle said:
> > If we could have default_build have CONF_OPTS (or whatever) passed to
> > ./configure, then we could have CONFIGURE just use CONF_OPTS="neat stuff"
> and
> > not need extra BUILD files. Would this be too much work for the gain?
> Should
> > spells just do the OPTS="$OPTS $CONF_OPTS" in BUILD when they need it and
> add
> > CONF_OPTS to persistent_add where they want?
>
> My recent (brief) foray into spell writing had me annoyed at needing to
> provide a BUILD file simply to add items to the ./configure command. It
> would certainly be convenient for spell writers to have an easier, well
> defined method of doing this from within CONFIGURE. This whole idea of
> adding another specially defined variable seems like a bit of a hack to me.
> Wouldn't a cleaner interface be something like an add_configure_switch()
> function in sorcery, that accepts a string to append to the configure
> command?

Instead of using a command, would manually adding your flags to a variable
(say
CONF_OPTS ;)) be okay? I don't think we'd need an entire function when we
could
just append to a variable defined for this (since the function would probably
just do the same thing internally).

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.24.

Top of Page