diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-01-05 19:48:49 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-01-05 19:48:49 +0200 |
commit | 99af58d74e431da6b55f21272bf72a9f56ce0900 (patch) | |
tree | b7ae2ee9b8e8f29a934b0f5c4d6ef07fc86620d5 /autogen.sh | |
parent | 003954e67fbe97c6ac786983912f572c48a331f5 (diff) | |
download | emacs-99af58d74e431da6b55f21272bf72a9f56ce0900.tar.gz |
* autogen.sh (gnulib.mk): Another attempt to fix macOS build.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh index 1ba925380c9..47e518ccf68 100755 --- a/autogen.sh +++ b/autogen.sh @@ -224,8 +224,10 @@ Please report any problems with this script to bug-gnu-emacs@gnu.org .' ## Create nt/gnulib.mk if it doesn't exist, as autoreconf will need it. if test ! -f nt/gnulib.mk; then echo 'Inferring nt/gnulib.mk from lib/gnulib.mk ...' - metascript='/^[^#]/s|^.*$|/^## begin *gnulib module &/,/^## end *gnulib module &/c\\\'\n'## gnulib module & removed|' - script=`sed "$metascript" nt/gnulib-modules-to-delete.cfg` || exit + echo '/^[^#]/s|^.*$|/^## begin *gnulib module &/,/^## end *gnulib module &/c\\\' > metascript.$$ + echo '## gnulib module & removed|' >> metascript.$$ + script=`sed -f metascript.$$ nt/gnulib-modules-to-delete.cfg` || exit + rm -f metascript.$$ sed "$script" lib/gnulib.mk > nt/gnulib.mk || exit fi |