[vorbis-dev] Suggested modification to codebook.h

Elifarley C.Coelho elifarley at task.com.br
Sat Nov 3 14:01:47 PST 2001



In the file "vorbis/lib/codebook.h" (), I suggest we change the line

#include "ogg/ogg.h"

to

#include <ogg/ogg.h>

o that I can remove the ugly hack I had to create just to make the 
vorbis framework see the ogg headers:

<quote module="ogg">

installDir="${HOME}/Library/Frameworks"
incDir="/usr/local/include/ogg"
fw="ogg.framework"

mkdir -p "${installDir}"
rm -rf "${installDir}/${fw}"
ditto build/${fw} "${installDir}/${fw}"
## ln -s "${installDir}/${fw}/Headers/*" "${incDir}/"

<ugly_hack comment="Remove me!!">

mkdir "${installDir}/${fw}/Headers/ogg"
ln -s ${installDir}/${fw}/Headers/*.h "${installDir}/${fw}/Headers/ogg/"

</ugly_hack>

## /usr/bin/cc -precomp "${installDir}/${fw}/Headers/ogg.h" -o 
"${installDir}/${fw}/Headers/ogg.p"

</quote>

Or there's a better alternative ?

Elifarley C. Coelho
http://www.geocities.com/elifarley/

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-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 Vorbis-dev mailing list