view TOOLS/TVout/matroxset/normal @ 14579:aacd81655870

The test to check for working pthreads fails if the system can support pthreads without any gcc options (for instance, Darwin). patch by Alexander Strange <astrange at ithinksw dot com>
author diego
date Sat, 22 Jan 2005 18:30:23 +0000
parents b205f8ca892a
children
line wrap: on
line source

#! /bin/sh

if [ -c /dev/fb0 ]; then
  HEAD0=/dev/fb0
  HEAD1=/dev/fb1
else
  HEAD0=/dev/fb/0
  HEAD1=/dev/fb/1
fi
matroxset -f ${HEAD1} -m 0
matroxset -f ${HEAD0} -m 1
matroxset -f ${HEAD1} -m 2