Merge commit '7c433cbbce83bc9f2f9967afba00bbb68e312657'
[bpt/guile.git] / benchmark-suite / guile-benchmark
index c4c6f23..da2b2a1 100755 (executable)
@@ -5,22 +5,22 @@
 ;;;; guile-benchmark --- run the Guile benchmark suite
 ;;;; Adapted from code by Jim Blandy <jimb@red-bean.com> --- May 1999
 ;;;;
-;;;; Copyright (C) 2002, 2006 Free Software Foundation, Inc.
+;;;; Copyright (C) 2002, 2006, 2010 Free Software Foundation, Inc.
 ;;;;
-;;;; This program is free software; you can redistribute it and/or modify
-;;;; it under the terms of the GNU General Public License as published by
-;;;; the Free Software Foundation; either version 2, or (at your option)
-;;;; any later version.
+;;;; This program 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 3, or (at your option) any later version.
 ;;;;
 ;;;; This program 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 General Public License for more details.
+;;;; GNU Lesser General Public License for more details.
 ;;;;
-;;;; You should have received a copy of the GNU General Public License
-;;;; along with this software; see the file COPYING.  If not, write to
-;;;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-;;;; Boston, MA 02110-1301 USA
+;;;; You should have received a copy of the GNU Lesser General Public
+;;;; License along with this software; see the file COPYING.LESSER.
+;;;; If not, write to the Free Software Foundation, Inc., 51 Franklin
+;;;; Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 
 ;;;; Usage: [guile -e main -s] guile-benchmark [OPTIONS] [BENCHMARK ...]
   (let ((root-len (+ 1 (string-length benchmark-dir)))
        (benchmarks '()))
     (for-each-file (lambda (file)
-                    (if (has-suffix? file ".bm")
+                    (if (string-suffix? ".bm" file)
                         (let ((short-name
                                (substring file root-len)))
                           (set! benchmarks (cons short-name benchmarks))))