]> Savannah Git Hosting - gnulib.git/commitdiff
non-recursive-gnulib-prefix-hack: preserve V_GPERF lines
authorDaiki Ueno <ueno@gnu.org>
Fri, 18 Dec 2015 22:42:27 +0000 (07:42 +0900)
committerDaiki Ueno <ueno@gnu.org>
Fri, 18 Dec 2015 22:42:27 +0000 (07:42 +0900)
* build-aux/prefix-gnulib-mk (prefix_assignment): Don't change the RHS
of 'V_GPERF.* = ' lines.  Reported by Assaf Gordon in:
https://lists.gnu.org/archive/html/bug-gnulib/2015-12/msg00015.html

build-aux/prefix-gnulib-mk

index 8af2916f3169724fb5d71aabbc4103c323bd995e..0ac81a88f8bb3f8636697209c894d83025253f11 100755 (executable)
@@ -91,7 +91,7 @@ sub prefix_assignment ($$)
 
   # Some variables are initialized by gnulib.mk, and we don't want
   # that.  Change '=' to '+='.
-  if ($lhs_and_assign_op =~ /^GPERF =$/)
+  if ($lhs_and_assign_op =~ /^(GPERF|V_GPERF.*) =$/)
     {
       # Do not change the RHS, which specifies the GPERF program.
     }