Sure.  cc -I/sw/include -L/sw/lib  ...

If mplayer has a configure script, you can usually supply an argument
to it to specify alternate include and library directories.  Try
./configure --help.

If it uses make(1), you can also try setting a couple environment
variables before running the make:

export CPPFLAGS="-I/sw/include"  LDFLAGS="-L/sw/lib"

On 9/24/05, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> hi,
>
> i'm trying to compile mplayer (not the fink one),
> and it does not pick up the theora header files.
>
> they are in /sw/include/theora, but the mplayer configure script does
> not find it.
>
> i could symlink /sw/include/theora to /usr/include, but i hope there is
> a better way..
>
> is there a way to tell the c compiler (and the linker, i assume) that he
> also has to look into /sw/include?
>
> thanks,
> gabor
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Fink-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fink-users
>


--
Mark J. Reed <[EMAIL PROTECTED]>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to