[MPlayer-dev-eng] configure devfs autodetect

chutz chutz at chubaka.homeip.net
Wed Sep 25 13:26:17 CEST 2002


I don't know what the devfs configuration is all about, and I don't know if this is the way to do it, but I have the feeling that the autodetection is supposed to be quite simple - the existence of /dev/.devfsd is supposedly enough, or isn't it?

Here is patch if I am right.

--- configure.old       Wed Sep 25 20:09:05 2002
+++ configure   Wed Sep 25 20:13:30 2002
@@ -991,7 +991,7 @@
 _largefiles=no
 _language=en
 _shm=auto
-_linux_devfs=no
+_linux_devfs=auto
 _i18n=no
 _setlocale=auto
 _sighandler=yes
@@ -2024,6 +2024,10 @@
 
 # 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"
 
-- 
 /^^^^^^^^^^^^^^^^^^^^^^^^^^^\/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
/ Georgi Georgiev    (-<     / If you find for your verse       \
\ chutz at chubaka.net  /\   .o)\ there's no call, And you can't   /
/ +81(90)6266-1163  V_/_ |(/)/ afford paper at all, For the     \
\                   ^^^^^^^^^\ true poet born, However forlorn, /
 \                           / There is always the lavat'ry     \
  \                          \ wall.                            /
   \_________________________/\________________________________/



More information about the MPlayer-dev-eng mailing list