From http://www.jwz.org/xscreensaver/xscreensaver-5.15.tar.gz
[xscreensaver] / hacks / check-configs.pl
index 28beb6f245c33e9ff8639f33bba3b93ad4df4760..231d8f7bed8551d853693a5c9c7ef0023b015407 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# Copyright © 2008 Jamie Zawinski <jwz@jwz.org>
+# Copyright © 2008-2011 Jamie Zawinski <jwz@jwz.org>
 #
 # 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);