diff options
author | Nathanael Nerode <neroden@gcc.gnu.org> | 2002-12-11 04:00:09 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2002-12-11 04:00:09 +0000 |
commit | 7ec950759be3c5294974619fe53e715ec20f579c (patch) | |
tree | 5ea2735d9b743368733c7b420255a20da0b450d4 /configure | |
parent | 94fee903ed4d72e3da809b2a4017c300a414c18f (diff) | |
download | gdb-7ec950759be3c5294974619fe53e715ec20f579c.tar.gz |
2002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Substitute more autoconfily.
* configure: Substitute more autoconfily.
* Makefile.in: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/configure b/configure index 0b18cc5d17e..7a210554df6 100755 --- a/configure +++ b/configure @@ -1279,34 +1279,10 @@ if [ -f ${srcdir}/${Makefile_in} ] ; then -e "s|@oldincludedir@|${oldincludedir}|" \ -e "s|@infodir@|${infodir}|" \ -e "s|@mandir@|${mandir}|" \ - -e "/^CC[ ]*=/{ - :loop1 - /\\\\$/ N - s/\\\\\\n//g - t loop1 - s%^CC[ ]*=.*$%CC = ${CC}% - }" \ - -e "/^CXX[ ]*=/{ - :loop2 - /\\\\$/ N - s/\\\\\\n//g - t loop2 - s%^CXX[ ]*=.*$%CXX = ${CXX}% - }" \ - -e "/^CFLAGS[ ]*=/{ - :loop3 - /\\\\$/ N - s/\\\\\\n//g - t loop3 - s%^CFLAGS[ ]*=.*$%CFLAGS = ${CFLAGS}% - }" \ - -e "/^CXXFLAGS[ ]*=/{ - :loop4 - /\\\\$/ N - s/\\\\\\n//g - t loop4 - s%^CXXFLAGS[ ]*=.*$%CXXFLAGS = ${CXXFLAGS}% - }" \ + -e "s|@CC@|${CC}|" \ + -e "s|@CXX@|${CXX}|" \ + -e "s|@CC@|${CFLAGS}|" \ + -e "s|@CXXFLAGS@|${CXXFLAGS}|" \ -e "s|@config_shell@|${config_shell}|" \ -e "s|@srcdir@|${srcdir}|" \ -e "s///" \ |