[MPlayer-dev-eng] Add demux_nut to libmpdemux

Diego Biurrun diego at biurrun.de
Sat Sep 16 23:50:11 CEST 2006


On Fri, Sep 15, 2006 at 04:59:44PM +0300, Oded Shimon wrote:
> 
> Here's my do-over. Did the best I could with the 80-width thing, and added 
> configure change. Never hacked on configure script, please tell me if I 
> did it correctly...
> 
> --- configure	(revision 19814)
> +++ configure	(working copy)
> @@ -1925,6 +1927,8 @@
>    --disable-xvid)	_xvid=no	;;
>    --enable-x264)        _x264=yes       ;;
>    --disable-x264)       _x264=no        ;;
> +  --enable-nut)		_nut=yes	;;
> +  --disable-nut)	_nut=no		;;

ugly formatting

> @@ -6514,6 +6518,29 @@
>  
> +echocheck "nut"
> +if test "$_nut" = auto ; then
> +  cat > $TMPC << EOF
> +#include <stdio.h>
> +#include <stdlib.h>
> +#include <inttypes.h>
> +#include <nut.h>
> +int main(void) { (void)nut_error(0); return 0; }
> +EOF
> +  _ld_nut="$_ld_nut -lnut"

The $_ld_nut is superfluous.

Commit anytime.  Fixing these two nits would be appreciated.

Diego



More information about the MPlayer-dev-eng mailing list