[icecast-dev] Re: [xiph-cvs] cvs commit: libshout HACKING configure.in

HJ inzanekaoz at yahoo.com
Fri Mar 7 19:12:21 PST 2003



Its primary purpose is to keep track of *-config files (since
they're nearly identical anyway) so there aren't 1.5 billion of them
on your hard disk to get lost and so-forth.

It's an effort to keep things a little tidier, if just by a little
bit; I like it, I dunno.  :)

<p>WARNING :: UTTERLY STUPID EXAMPLES TO FOLLOW:

Consider, maybe

`sdl-config --libs` `ogg-config --libs` `vorbis-config --libs`
`theora-config --libs`

<p><p>With pkg-config, it's something like:

`pkg-config sdl --libs` `pkg-config ogg --libs` `pkg-config vorbis
--libs` `pkg-config theora --libs`

or

for x in ogg vorbis theora sdl
do
   pkg-config ${x} --exists
done

<p>instead of, maybe:

USR=/usr
#USR=/usr/local

if [ -f ${USR}/ogg-config ]; then
   echo yay
fi

if [ -f ${USR}/vorbis-config ]; then
   echo yay2
fi
if [ -f ${USR}/sdl-config ]; then
   echo yay3
fi
if [ -f ${USR}/theora-config ]; then
   echo yay4
fi

<p>Any *REAL* benefit?  Probably not.  Any cosmetic benefit?  Depends
on who you ask -- I think it's slightly more sane.

~HJ

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast-dev mailing list