Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bdb6dc9d
Commit
bdb6dc9d
authored
Nov 15, 1993
by
Richard M. Stallman
Browse files
(creating src/Makefile): Before running cpp,
discard all lines that start with `# Generated' or /**/#.
parent
8649e3a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
configure1.in
configure1.in
+2
-2
No files found.
configure1.in
View file @
bdb6dc9d
...
...
@@ -1407,14 +1407,14 @@ if [ ! -f ./config.status ]; then
exit $status
fi
topsrcdir=${srcdir}
# We discard all lines in Makefile.in that start with
#
or /**/#
# We discard all lines in Makefile.in that start with
`# Generated'
or /**/#
# because some cpps get confused by them.
# Really we should preserve them somehow into Makefile,
# but that is beyond my level of shell programming.
makefile_command='echo "creating src/Makefile";
topsrcdir='"${topsrcdir}"';
( cd ./src;
sed -e '\''s/^#.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
sed -e '\''s/^#
Generated
.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c;
eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`;
< junk.cpp '\
' sed -e '\''s/^#.*//'\'' '\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment