[MPlayer-dev-eng] [PATCH] Devfs autodetection

David Holm david at realityrift.com
Tue Jun 11 09:27:44 CEST 2002


It might be more appropriate to check /proc/mounts for ' devfs ' (the
spaces are needed or otherwise you might detect usbdevfs) as devfsd is
not required to be running for devfs to work.

//David

/On Mon, 2002-06-10 at 18:42, Luca Barbieri wrote:
> --- /usr/local/src/MPlayer-0.90pre5/configure	Sat Jun  8 00:41:25 2002
> +++ MPlayer-0.90pre5/configure	Mon Jun 10 14:36:54 2002
> @@ -898,7 +907,7 @@
>  _vo2=no
>  _language=en
>  _shm=auto
> -_linux_devfs=no
> +_linux_devfs=auto
>  _i18n=no
>  _sighandler=yes
>  _libdv=auto
> @@ -1798,8 +1807,11 @@
>  echores "$_shm"
>  
> 
> -# XXX: FIXME, add runtime checking
>  echocheck "linux devfs"
> +if test "$_linux_devfs" == auto; then
> +	_linux_devfs=no
> +	test -e /dev/.devfsd && _linux_devfs=yes
> +fi
>  echores "$_linux_devfs"
>  
> 
> 





More information about the MPlayer-dev-eng mailing list