[l2h] Ghostscript version tweak to config.pl

John Milton John Milton <jmilton@fundsxpress.com>
Wed, 19 Jul 2000 19:40:43 -0500


FYI,

Recent versions of Ghostscript output version info with --help WITHOUT
the "Version"

$ gs-4.03 --help
Aladdin Ghostscript 4.03 (1996-9-23)
Copyright (C) 1996 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]

$ gs-5.50 --help
GNU Ghostscript 5.50 (2000-2-13)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]


Here is a suggested fix:

--- config.pl.dist      Wed Jul 12 00:15:01 2000
+++ config.pl   Wed Jul 12 16:52:16 2000
@@ -983,6 +983,9 @@
         if(/Ghostscript\s*(?:Version|BETA RELEASE|TESTER
RELEASE)\s*(\d+[.]?\d*)/i) {
           $gs_version = $1;
         }
+        elsif(/Ghostscript\s*(\d+[.]?\d*)/i) {
+          $gs_version = $1;
+       }
         elsif(/^\s*Available devices/i) {
           $flag = 1; # Now look for the devices
         }

BTW, I am not on this list.

John
-- 
John Bly Milton IV   (512) w:493-2764, h:873-8567, m:791-8567
FundsXpress  jmilton@fundsxpress.com  Don't FLAME, inform!  O-