Skip to Content.
Sympa Menu

sm-sorcery - [SM-Sorcery] ask_enable and ask_with

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Ladislav Hagara <hgr AT vabo.cz>
  • To: sm-sorcery <sm-sorcery AT lists.ibiblio.org>, sandalle AT sourcemage.org
  • Subject: [SM-Sorcery] ask_enable and ask_with
  • Date: Thu, 24 Apr 2003 11:32:15 +0200

Howdy !!!

Spells flac, sox and SDL_sound contains IMHO very useful function
ask_enable.
What about including ask_enable and ask_with in sorcery ?

I think this were very useful for grimoire gurus.

CONFIGURE could contains only:

ask_enable oldrate "old rate code" "n"
ask_enable fastulaw "fast ulaw compression (-32K memory)" "y"
ask_with ossdsp "support for /dev/dsp (OSS)" "y"
ask_with sunaudio "support for /dev/audio (SUN, etc)" "n"

- lace -


function ask_enable() {
...
if query "Enable $2 ?" $3
then cfg="--enable-$1"
else cfg="--disable-$1"
...
}

function ask_with() {
...
if query "Build with $2?" $3
then cfg="--with-$1"
else cfg="--without-$1"
...
}








Archive powered by MHonArc 2.6.24.

Top of Page