automake-patches
[Top][All Lists]
Advanced

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

automake-colon-options-01


From: Guido Draheim
Subject: automake-colon-options-01
Date: Sat, 25 Aug 2001 07:39:59 +0200

proposal:

  accept colon settings of subarea-specific options.
  enables a scheme for modified and extended automake (alpha-)functionality
  to receive options that does not baffle released automake versions.

AUTOMAKE_OPTIONS = myEXT:what

   shall set $options{myEXT}="what"

example:
   COPYING:COPYING.BSD and alpha-functionality accepting license files for
   automatic common_dist when *this* file with its alternative name is found.
--- automake.in.orig    Sat Aug 25 06:46:36 2001
+++ automake.in Sat Aug 25 07:18:54 2001
@@ -1457,6 +1457,11 @@
                    return 1;
                }
            }
+           elsif (/^([a-z]+\w*):(.*)$/)
+           {
+               # Accept colon options in the form "myEXT:what"
+               $options{$1} = $2;
+           }
            else
            {
                &am_line_error ('AUTOMAKE_OPTIONS',
--- ChangeLog.orig      Sat Aug 25 07:19:52 2001
+++ ChangeLog   Sat Aug 25 07:23:39 2001
@@ -0,0 +1,3 @@
+2001-08-25  Guido Draheim <address@hidden>
+       * automake.in : accept colon option settings in AUTOMAKE_OPTIONS
+

reply via email to

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