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
22b092ef
Commit
22b092ef
authored
Nov 13, 1993
by
Richard M. Stallman
Browse files
(creating src/Makefile): Before running cpp,
discard all lines that start with # or /**/#.
parent
79967d5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
configure1.in
configure1.in
+5
-1
No files found.
configure1.in
View file @
22b092ef
...
...
@@ -1407,10 +1407,14 @@ if [ ! -f ./config.status ]; then
exit $status
fi
topsrcdir=${srcdir}
# We discard all lines in Makefile.in that start with # 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;
cp
Makefile.in junk.c;
sed -e '\''s/^#.*//'\'' -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