[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib-tool feature request
From: |
Sam Steingold |
Subject: |
gnulib-tool feature request |
Date: |
Fri, 26 Feb 2010 13:44:38 -0500 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090625) |
Since I use gnulib in several sub-modules, I need to avoid conflicts between
different gnulib imports.
thus I need to make all those _GL_* constants module-specific.
thus I need gnulib-tool to accept a --macro-prefix option and this patch:
iff --git a/gnulib-tool b/gnulib-tool
index ea451ec..6ed5e8e 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -2846,6 +2846,9 @@ s,^\(.................................................[^
]*\) *,
break
fi
done
+ test -n ${macro_prefix} && sed_transform_lib_file=$sed_transform_lib_file"
+ s/_GL_/_${macro_prefix}_GL_/g
+ "
sed_transform_main_lib_file="$sed_transform_lib_file"
if test -n "$do_copyrights"; then
if test -n "$lgpl"; then
- gnulib-tool feature request,
Sam Steingold <=