X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bigscreen%2Ftinyptc%2Ffindused.sh;fp=bigscreen%2Ftinyptc%2Ffindused.sh;h=0000000000000000000000000000000000000000;hb=478ab340150034e545e3ed551ff068607d49d35b;hp=11119f608f99908d003188a5fad26e8019c7ea99;hpb=8596d4aa3654710fb225c08c4d7235b74362561e;p=ccbs diff --git a/bigscreen/tinyptc/findused.sh b/bigscreen/tinyptc/findused.sh deleted file mode 100755 index 11119f6..0000000 --- a/bigscreen/tinyptc/findused.sh +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh - -# TinyPTC x11 v0.7.3 Chosen rendering target finder -# Copyright (C) 2001-2002 Alessandro Gatti -# -# http://www.sourceforge.net/projects/tinyptc/ -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -# Is this portable? -pragmas=`grep -i "^ *#pragma target" - | expand | sed -e 's/^ *#pragma target *//g'` - -rm -f ptctarget.o - -for pragma in $pragmas -do - case $pragmas in - xlib) target="xlib.o" ;; - xdbe) target="xdbe.o" ;; - xdga1) target="xdga1.o" ;; - xdga2) target="xdga2.o" ;; - xshm) target="xshm.o" ;; - xvshm) target="xvshm.o" ;; - esac -done - -if [ target ] -then - ln -s $target ptctarget.o -fi