automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automake-ansi2knr-filepath-01


From: Guido Draheim
Subject: automake-ansi2knr-filepath-01
Date: Sat, 25 Aug 2001 07:32:08 +0200

AUTOMAKE_OPTIONS = hadhfjasdkansi2knraskdlkf

`automake` accepts this option-type to be a correct 
and it will set $options{ansi2knr}="hadhfjasdkansi2knraskdlkf" 

needs to be corrected to accept filepath-like strings only.
--- automake.in.orig    Sat Aug 25 06:46:36 2001
+++ automake.in Sat Aug 25 07:11:16 2001
@@ -1427,7 +1427,7 @@
            {
                $cygnus_mode = 1;
            }
-           elsif (/ansi2knr/)
+           elsif (/^(.*\/)?ansi2knr(\.\w*)?$/)
            {
                # An option like "../lib/ansi2knr" is allowed.  With
                # no path prefix, we assume the required programs are
--- ChangeLog.orig      Sat Aug 25 07:19:52 2001
+++ ChangeLog   Sat Aug 25 07:21:50 2001
@@ -0,0 +1,3 @@
+2001-08-25  Guido Draheim <address@hidden>
+       * automake.in : restrict ansi2knr option to be a filepath
+

reply via email to

[Prev in Thread] Current Thread [Next in Thread]