#! /bin/csh # # @(#)xgl_changes 4.1 95/10/03 SMI # # # This script take a single file as argument. It will check this file # against changes that occured from release 2.0 to release 3.0.1 of XGL. # if -e /tmp/xgl_change_file then rm /tmp/xgl_change_file endif xgl_changes_00 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "Please check the file for functions that have been deleted" echo "and should be replaced by xgl_object_create()" cat /tmp/xgl_change_file endif rm /tmp/xgl_change_file xgl_changes_01 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "" echo "Please check the function call syntax for interface changes" cat /tmp/xgl_change_file endif rm /tmp/xgl_change_file xgl_changes_02 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "" echo "Please check the file for attributes or structures that are no" echo "longer supported" cat /tmp/xgl_change_file endif rm /tmp/xgl_change_file xgl_changes_03 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "" echo "Please check the file for attributes or structures that have" echo "been renamed (also refer to xgl_compat.h)" cat /tmp/xgl_change_file endif rm /tmp/xgl_change_file xgl_changes_04 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "" echo "The file contains attributes whose default values have changed" cat /tmp/xgl_change_file endif rm /tmp/xgl_change_file xgl_changes_05 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "" echo "The file has attributes or structures whose type has changed" cat /tmp/xgl_change_file endif rm /tmp/xgl_change_file xgl_changes_06 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "" echo "The file contains references to point types that no longer exist" cat /tmp/xgl_change_file endif rm /tmp/xgl_change_file xgl_changes_07 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "" echo "The file contains references to structures or enumerated types" echo "that have been renamed" cat /tmp/xgl_change_file endif rm /tmp/xgl_change_file xgl_changes_08 $1 > /tmp/xgl_change_file if ! (-z /tmp/xgl_change_file) then echo "" echo "The file contains references to structures or enumerated types" echo "that no longer exist" cat /tmp/xgl_change_file rm /tmp/xgl_change_file endif