mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-19 14:40:24 +08:00
remove comments from sed program
This commit is contained in:
parent
d473232418
commit
3785192749
@ -1534,14 +1534,14 @@ dnl AC_OUTPUT_MAKE_DEFS()
|
||||
define(AC_OUTPUT_MAKE_DEFS,
|
||||
[# Transform confdefs.h into DEFS.
|
||||
dnl Using a here document instead of a string reduces the quoting nightmare.
|
||||
# Protect against shell expansion while executing Makefile rules.
|
||||
# Protect against Makefile macro expansion.
|
||||
cat > conftest.defs <<\EOF
|
||||
changequote(<<, >>)dnl
|
||||
s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
|
||||
# Protect against shell expansion while executing Makefile rules.
|
||||
s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g
|
||||
s%\[%\\&%g
|
||||
s%\]%\\&%g
|
||||
# Protect against Makefile macro expansion.
|
||||
s%\$%$$%g
|
||||
changequote([, ])dnl
|
||||
EOF
|
||||
|
@ -1534,14 +1534,14 @@ dnl AC_OUTPUT_MAKE_DEFS()
|
||||
define(AC_OUTPUT_MAKE_DEFS,
|
||||
[# Transform confdefs.h into DEFS.
|
||||
dnl Using a here document instead of a string reduces the quoting nightmare.
|
||||
# Protect against shell expansion while executing Makefile rules.
|
||||
# Protect against Makefile macro expansion.
|
||||
cat > conftest.defs <<\EOF
|
||||
changequote(<<, >>)dnl
|
||||
s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
|
||||
# Protect against shell expansion while executing Makefile rules.
|
||||
s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g
|
||||
s%\[%\\&%g
|
||||
s%\]%\\&%g
|
||||
# Protect against Makefile macro expansion.
|
||||
s%\$%$$%g
|
||||
changequote([, ])dnl
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user