All pastes #227407 Raw Edit

Anonymous

public text v1 · immutable
#227407 ·published 2006-10-29 06:32 UTC
rendered paste body
USE_UDEV="no"
DEV_CHANGE_PERMISSION_MSG="change the permissions of /dev/windrvr6"
if test ${VER:0:3} = "2.6" ; then
	echo $ac_n "checking for udev support""... $ac_c" 1>&6
echo "configure:894: checking for udev support" >&5
	if test $VER_SUBMINOR -lt 13 ; then
		UDEV=`ps -ef | grep -w udevd | grep -vc grep`
		if test $UDEV != 0; then
			USE_UDEV="yes"
			CFLAGS="$CFLAGS -DUDEV_SUPPORT"
			DEV_CHANGE_PERMISSION_MSG="add the line \"windrvr6:root:root:0666\" to /etc/udev/permissions.d/50-udev.permissions"
		fi
	fi
	echo "$ac_t""$USE_UDEV" 1>&6
fi