summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-16 12:29:19 +0100
committerJim Meyering <meyering@redhat.com>2012-01-19 09:09:38 +0100
commit85ad742d4e94345d5ac07755f6722344cfd49603 (patch)
tree130a7f0061285f938e7fc41394665e38a07eaa4c /etc
parent77f114dd6e50ab39e0962f39ad9c2f2e1d347acf (diff)
downloadbison-85ad742d4e94345d5ac07755f6722344cfd49603.tar.gz
build: manually update bootstrap from gnulib, and adapt
Updating to the latest bootstrap from gnulib involves more of a change than usual, and updating to the latest gnulib would involve its own set of challenges with the upcoming quoting changes, so we update bootstrap manually and separately. * bootstrap: Update from gnulib. * Makefile.am: Initialize more variables to empty, so that gnulib.mk can append to them with "+=". * bootstrap.conf (gnulib_mk_hook): Remove. No longer honored. (bootstrap_post_import_hook): Instead, run the same command, etc/prefix-gnulib-mk lib/$gnulib_mk, via slightly different API. Temporarily disable "bootstrap_sync=true". * etc/prefix-gnulib-mk: Don't prepend "lib/" to tokens like -I$(... or "\".
Diffstat (limited to 'etc')
-rwxr-xr-xetc/prefix-gnulib-mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/prefix-gnulib-mk b/etc/prefix-gnulib-mk
index 3ea9f5bd..4debcb93 100755
--- a/etc/prefix-gnulib-mk
+++ b/etc/prefix-gnulib-mk
@@ -26,7 +26,7 @@ sub prefix_word ($)
{
local ($_) = @_;
$_ = $prefix . $_
- unless m{^\$\(\w+\)} || $_ eq "Makefile";
+ unless /^-/ || m{^\$\(\w+\)} || $_ eq "Makefile" || $_ eq '\\';
return $_;
}