aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2002-12-11 04:00:09 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2002-12-11 04:00:09 +0000
commitd03be79e9bcc316272f75e4eeda9b55102dc7dee (patch)
tree68cc9d85b8f823aae5905f3a5664189fabb64d2c /configure
parent85a6d8d39b38b864ba0a9b1fb74f0400a89357bc (diff)
downloadgdb-d03be79e9bcc316272f75e4eeda9b55102dc7dee.zip
gdb-d03be79e9bcc316272f75e4eeda9b55102dc7dee.tar.gz
gdb-d03be79e9bcc316272f75e4eeda9b55102dc7dee.tar.bz2
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-xconfigure32
1 files changed, 4 insertions, 28 deletions
diff --git a/configure b/configure
index 0b18cc5..7a21055 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/ //" \