Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
4ee43206
Commit
4ee43206
authored
Dec 05, 2001
by
Douglas B Rupp
Committed by
Richard Kenner
Dec 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure, configure.in: Use temp file for long sed commands.
From-SVN: r47669
parent
5f98259a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
17 deletions
+29
-17
ChangeLog
+4
-0
configure
+8
-3
configure.in
+17
-14
No files found.
ChangeLog
View file @
4ee43206
Wed Dec 5 07:33:45 2001 Douglas B. Rupp <rupp@gnat.com>
* configure, configure.in: Use temp file for long sed commands.
2001-12-03 Laurent Guerby <guerby@acm.org>
* config.sub: Update to version 1.232 on subversion.
...
...
configure
View file @
4ee43206
...
...
@@ -89,7 +89,7 @@ subdirs=
target_alias
=
NOTARGET
target_makefile_frag
=
undefs
=
NOUNDEFS
version
=
"
$Revision
: 1.3
8
$"
version
=
"
$Revision
: 1.3
9
$"
x11
=
default
bindir
=
'${exec_prefix}/bin'
sbindir
=
'${exec_prefix}/sbin'
...
...
@@ -1370,9 +1370,14 @@ EOF
# remove any form feeds.
if
[
-z
"
${
subdirs
}
"
]
;
then
rm
-f
${
subdir
}
/Makefile.tm2
sed
-e
"s:^SUBDIRS[ ]*=.*
$:
SUBDIRS =
${
configdirs
}
:"
\
-e
"s:^NONSUBDIRS[ ]*=.*
$:
NONSUBDIRS =
${
noconfigdirs
}
:"
\
sedtemp
=
sed.
$$
cat
>
$sedtemp
<<
EOF
s:^SUBDIRS[ ]*=.*
$:
SUBDIRS =
${
configdirs
}
:
s:^NONSUBDIRS[ ]*=.*
$:
NONSUBDIRS =
${
noconfigdirs
}
:
EOF
sed
-f
$sedtemp
\
${
subdir
}
/Makefile.tem
>
${
subdir
}
/Makefile.tm2
rm
-f
$sedtemp
rm
-f
${
subdir
}
/Makefile.tem
mv
${
subdir
}
/Makefile.tm2
${
subdir
}
/Makefile.tem
fi
...
...
configure.in
View file @
4ee43206
...
...
@@ -1554,20 +1554,23 @@ qCXX_FOR_TARGET=`echo "$CXX_FOR_TARGET" | sed 's,[&%],\\\&,g'`
# macros.
qqCXX_FOR_TARGET
=
`
echo
"
$qCXX_FOR_TARGET
"
| sed
-e
's,[$][$],$$$$,g'
`
sed
-e
"s:^TARGET_CONFIGDIRS[ ]*=.*
$:
TARGET_CONFIGDIRS =
${
target_configdirs
}
:"
\
-e
"s%^TARGET_CONFIGARGS[ ]*=.*
$%
TARGET_CONFIGARGS =
${
targargs
}
%"
\
-e
"s%^FLAGS_FOR_TARGET[ ]*=.*
$%
FLAGS_FOR_TARGET =
${
FLAGS_FOR_TARGET
}
%"
\
-e
"s%^CC_FOR_TARGET[ ]*=.*
$%
CC_FOR_TARGET =
${
CC_FOR_TARGET
}
%"
\
-e
"s%^CHILL_FOR_TARGET[ ]*=.*
$%
CHILL_FOR_TARGET =
${
CHILL_FOR_TARGET
}
%"
\
-e
"s%^GCJ_FOR_TARGET[ ]*=.*
$%
GCJ_FOR_TARGET =
${
GCJ_FOR_TARGET
}
%"
\
-e
"s%^CXX_FOR_TARGET[ ]*=.*
$%
CXX_FOR_TARGET =
${
qCXX_FOR_TARGET
}
%"
\
-e
"s%^CXX_FOR_TARGET_FOR_RECURSIVE_MAKE[ ]*=.*
$%
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE =
${
qqCXX_FOR_TARGET
}
%"
\
-e
"s%^TARGET_SUBDIR[ ]*=.*
$%
TARGET_SUBDIR =
${
target_subdir
}
%"
\
-e
"s%^BUILD_SUBDIR[ ]*=.*
$%
BUILD_SUBDIR =
${
build_subdir
}
%"
\
-e
"s%^BUILD_CONFIGARGS[ ]*=.*
$%
BUILD_CONFIGARGS =
${
buildargs
}
%"
\
-e
"s%^gxx_include_dir[ ]*=.*
$%
gxx_include_dir=
${
gxx_include_dir
}
%"
\
Makefile
>
Makefile.tem
rm
-f
Makefile
sedtemp
=
sed.
$$
cat
>
$sedtemp
<<
EOF
s:^TARGET_CONFIGDIRS[ ]*=.*
$:
TARGET_CONFIGDIRS =
${
target_configdirs
}
:
s%^TARGET_CONFIGARGS[ ]*=.*
$%
TARGET_CONFIGARGS =
${
targargs
}
%
s%^FLAGS_FOR_TARGET[ ]*=.*
$%
FLAGS_FOR_TARGET =
${
FLAGS_FOR_TARGET
}
%
s%^CC_FOR_TARGET[ ]*=.*
$%
CC_FOR_TARGET =
${
CC_FOR_TARGET
}
%
s%^CHILL_FOR_TARGET[ ]*=.*
$%
CHILL_FOR_TARGET =
${
CHILL_FOR_TARGET
}
%
s%^GCJ_FOR_TARGET[ ]*=.*
$%
GCJ_FOR_TARGET =
${
GCJ_FOR_TARGET
}
%
s%^CXX_FOR_TARGET[ ]*=.*
$%
CXX_FOR_TARGET =
${
qCXX_FOR_TARGET
}
%
s%^CXX_FOR_TARGET_FOR_RECURSIVE_MAKE[ ]*=.*
$%
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE =
${
qqCXX_FOR_TARGET
}
%
s%^TARGET_SUBDIR[ ]*=.*
$%
TARGET_SUBDIR =
${
target_subdir
}
%
s%^BUILD_SUBDIR[ ]*=.*
$%
BUILD_SUBDIR =
${
build_subdir
}
%
s%^BUILD_CONFIGARGS[ ]*=.*
$%
BUILD_CONFIGARGS =
${
buildargs
}
%
s%^gxx_include_dir[ ]*=.*
$%
gxx_include_dir=
${
gxx_include_dir
}
%
EOF
sed
-f
$sedtemp
Makefile
>
Makefile.tem
rm
-f
Makefile
$sedtemp
mv
-f
Makefile.tem Makefile
#
...
...
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