[MPlayer-dev-eng] [PATCH] Improve libnemesi autodetection
Diego Biurrun
diego at biurrun.de
Sun Sep 30 06:12:59 CEST 2007
On Sun, Sep 30, 2007 at 01:23:17AM +0200, Carl Eugen Hoyos wrote:
>
> If an older version of libnemesi is installed, configure autodetects it,
> although compilation is going to fail. This does not happen for other
> libraries.
> Attached patch tries to fix this. There are no version numbers yet in
> libnemesi tarballs.
>
> --- configure (Revision 24672)
> +++ configure (Arbeitskopie)
> @@ -6220,7 +6220,13 @@
> echores "$_qtx"
>
> echocheck "Nemesi Streaming Media libraries"
> -if test "$_nemesi" = auto && test "$_network" = yes ; then
> +cat > $TMPC << EOF
If you move this after the $_nemesi = auto check we avoid a file
operation in the yes case.
> +#include <nemesi/sdp.h>
> +int main(void) {
> +sdp_range * r;
> +}
These last 3 lines could be one.
Diego
More information about the MPlayer-dev-eng
mailing list