X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fcheck-configs.pl;h=231d8f7bed8551d853693a5c9c7ef0023b015407;hb=ec8d2b32b63649e6d32bdfb306eda062769af823;hp=28beb6f245c33e9ff8639f33bba3b93ad4df4760;hpb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;p=xscreensaver diff --git a/hacks/check-configs.pl b/hacks/check-configs.pl index 28beb6f2..231d8f7b 100755 --- a/hacks/check-configs.pl +++ b/hacks/check-configs.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright © 2008 Jamie Zawinski +# Copyright © 2008-2011 Jamie Zawinski # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that @@ -19,7 +19,7 @@ use diagnostics; use strict; my $progname = $0; $progname =~ s@.*/@@g; -my $version = q{ $Revision: 1.2 $ }; $version =~ s/^[^\d]+([\d.]+).*/$1/; +my $version = q{ $Revision: 1.4 $ }; $version =~ s/^[^\d]+([\d.]+).*/$1/; my $verbose = 0; @@ -46,6 +46,7 @@ sub parse_src($) { $file = 'sproingiewrap.c' if ($file eq 'sproingies.c'); $file = 'b_lockglue.c' if ($file eq 'bubble3d.c'); $file = 'polyhedra-gl.c' if ($file eq 'polyhedra.c'); + $file = 'companion.c' if ($file eq 'companioncube.c'); $file = "glx/$file" unless (-f $file); my $body = ''; @@ -265,7 +266,7 @@ sub check_config($) { my ($saver) = @_; # kludge - return 0 if ($saver =~ m/(-helper|hypertorus|polytopes)$/); + return 0 if ($saver =~ m/(-helper)$/); my ($src_opts, $switchmap) = parse_src ($saver); my (@xml_opts) = parse_xml ($saver, $switchmap);