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
07109110
Commit
07109110
authored
Jan 02, 2001
by
Laurynas Biveinis
Committed by
DJ Delorie
Jan 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure: handle DOS-style absolute paths.
From-SVN: r38621
parent
1da5b8fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
18 deletions
+14
-18
ChangeLog
+4
-0
configure
+10
-18
No files found.
ChangeLog
View file @
07109110
2001-01-02 Laurynas Biveinis <lauras@softhome.net>
* configure: handle DOS-style absolute paths.
2001-01-02 Laurynas Biveinis <lauras@softhome.net>
* configure.in: remove supported directories from $noconfigdirs for DJGPP.
2000-12-30 Marek Michalkiewicz <marekm@linux.org.pl>
...
...
configure
View file @
07109110
...
...
@@ -89,7 +89,7 @@ subdirs=
target_alias
=
NOTARGET
target_makefile_frag
=
undefs
=
NOUNDEFS
version
=
"
$Revision
: 1.3
1
$"
version
=
"
$Revision
: 1.3
2
$"
x11
=
default
bindir
=
'${exec_prefix}/bin'
sbindir
=
'${exec_prefix}/sbin'
...
...
@@ -155,7 +155,7 @@ progname=$0
if
[
-n
"
$PWD
"
]
;
then
PWD
=
`
pwd
`
;
fi
case
"
${
progname
}
"
in
/
*
)
;;
/
*
|
[
A-Za-z]:[
\\
/]
*
)
;;
*
/
*
)
;;
*
)
PATH
=
$PATH
:
${
PWD
=
`
pwd
`
}
;
export
PATH
...
...
@@ -1096,7 +1096,7 @@ for subdir in . ${subdirs} ; do
case
"
${
srcdir
}
"
in
"."
)
# no -srcdir option. We're building in place.
makesrcdir
=
.
;;
/
*
)
# absolute path
/
*
|
[
A-Za-z]:[
\\
/]
*
)
# absolute path
makesrcdir
=
`
echo
${
srcdir
}
/
${
subdir
}
| sed
-e
's|/\.$||'
`
;;
*
)
# otherwise relative
...
...
@@ -1322,19 +1322,19 @@ EOF
case
"
${
package_makefile_frag
}
"
in
""
)
;;
/
*
)
echo
package_makefile_frag
=
${
package_makefile_frag
}
>>
${
Makefile
}
;;
/
*
|
[
A-Za-z]:[
\\
/]
*
)
echo
package_makefile_frag
=
${
package_makefile_frag
}
>>
${
Makefile
}
;;
*
)
echo
package_makefile_frag
=
${
invsubdir
}${
package_makefile_frag
}
>>
${
Makefile
}
;;
esac
case
"
${
target_makefile_frag
}
"
in
""
)
;;
/
*
)
echo
target_makefile_frag
=
${
target_makefile_frag
}
>>
${
Makefile
}
;;
/
*
|
[
A-Za-z]:[
\\
/]
*
)
echo
target_makefile_frag
=
${
target_makefile_frag
}
>>
${
Makefile
}
;;
*
)
echo
target_makefile_frag
=
${
invsubdir
}${
target_makefile_frag
}
>>
${
Makefile
}
;;
esac
case
"
${
host_makefile_frag
}
"
in
""
)
;;
/
*
)
echo
host_makefile_frag
=
${
host_makefile_frag
}
>>
${
Makefile
}
;;
/
*
|
[
A-Za-z]:[
\\
/]
*
)
echo
host_makefile_frag
=
${
host_makefile_frag
}
>>
${
Makefile
}
;;
*
)
echo
host_makefile_frag
=
${
invsubdir
}${
host_makefile_frag
}
>>
${
Makefile
}
;;
esac
...
...
@@ -1545,11 +1545,7 @@ if [ -z "${norecursion}" ] && [ -n "${configdirs}" ] ; then
### figure out what to do with srcdir
case
"
${
srcdir
}
"
in
"."
)
newsrcdir
=
${
srcdir
}
;;
# no -srcdir option. We're building in place.
/
*
)
# absolute path
newsrcdir
=
${
srcdir
}
/
${
cfg_dir
}
srcdiroption
=
"--srcdir=
${
newsrcdir
}
"
;;
?:
*
)
# absolute path on win32
/
*
|
[
A-Za-z]:[
\\
/]
*
)
# absolute path
newsrcdir
=
${
srcdir
}
/
${
cfg_dir
}
srcdiroption
=
"--srcdir=
${
newsrcdir
}
"
;;
...
...
@@ -1563,10 +1559,7 @@ if [ -z "${norecursion}" ] && [ -n "${configdirs}" ] ; then
case
"
${
cache_file
}
"
in
""
)
# empty
;;
/
*
)
# absolute path
cache_file_option
=
"--cache-file=
${
cache_file
}
"
;;
?:
*
)
# absolute path on win32
/
*
|
[
A-Za-z]:[
\\
/]
*
)
# absolute path
cache_file_option
=
"--cache-file=
${
cache_file
}
"
;;
*
)
# relative path
...
...
@@ -1579,9 +1572,8 @@ if [ -z "${norecursion}" ] && [ -n "${configdirs}" ] ; then
recprog
=
${
newsrcdir
}
/configure
elif
[
-f
${
newsrcdir
}
/configure.in
]
;
then
case
"
${
progname
}
"
in
/
*
)
recprog
=
${
progname
}
;;
?:
*
)
recprog
=
${
progname
}
;;
*
)
recprog
=
../
${
progname
}
;;
/
*
|
[
A-Za-z]:[
\\
/]
*
)
recprog
=
${
progname
}
;;
*
)
recprog
=
../
${
progname
}
;;
esac
else
eval echo
No configuration information
in
${
cfg_dir
}
${
redirect
}
...
...
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