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
bb59c339
Commit
bb59c339
authored
Dec 03, 2004
by
Richard Sandiford
Committed by
Richard Sandiford
Dec 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce config/gxx-include-dir.m4.
From-SVN: r91680
parent
4982adbe
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
79 additions
and
60 deletions
+79
-60
ChangeLog
+6
-0
config/ChangeLog
+4
-0
config/gxx-include-dir.m4
+26
-0
configure
+41
-42
configure.in
+2
-18
No files found.
ChangeLog
View file @
bb59c339
2004-12-03 Richard Sandiford <rsandifo@redhat.com>
* configure.in: Include config/gxx-include-dir.m4. Use
TL_AC_GXX_INCLUDE_DIR. Remove some now-redundant AC_SUBSTs.
* configure: Regenerate.
2004-12-03 Richard Sandiford <rsandifo@redhat.com>
* config.if: Delete.
* configure.in: Set libstdcxx_incdir directly.
* configure: Regenerate.
...
...
config/ChangeLog
View file @
bb59c339
2004-12-03 Richard Sandiford <rsandifo@redhat.com>
* gxx-include-dir.m4: New file.
2004-12-02 Richard Sandiford <rsandifo@redhat.com>
* gcc-version.m4: New file.
...
...
config/gxx-include-dir.m4
0 → 100644
View file @
bb59c339
dnl Usage: TL_AC_GXX_INCLUDE_DIR
dnl
dnl Set $gxx_include_dir to the location of the installed C++ include
dnl directory. The value depends on $gcc_version and the configuration
dnl options --with-gxx-include-dir and --enable-version-specific-runtime-libs.
dnl
dnl If you change the default here, you'll need to change the gcc and
dnl libstdc++-v3 subdirectories too.
AC_DEFUN([TL_AC_GXX_INCLUDE_DIR],
[
case "${with_gxx_include_dir}" in
yes)
AC_MSG_ERROR([--with-gxx-include-dir=[[dir]] requires a directory])
;;
no | "")
case "${enable_version_specific_runtime_libs}" in
yes) gxx_include_dir='${libsubdir}/include/c++' ;;
*)
libstdcxx_incdir=c++/${gcc_version}
gxx_include_dir='${prefix}/include/'${libstdcxx_incdir} ;;
esac ;;
*) gxx_include_dir=${with_gxx_include_dir} ;;
esac
AC_SUBST(gxx_include_dir)
AC_SUBST(libstdcxx_incdir)
])
configure
View file @
bb59c339
...
...
@@ -3376,9 +3376,7 @@ fi
target_configargs
=
"--cache-file=./config.cache --host=
${
target_alias
}
--build=
${
build_alias
}
${
target_configargs
}
"
# provide a proper gxx_include_dir.
# Note, if you change the default, make sure to fix both here and in
# the gcc and libstdc++-v3 subdirectories.
# Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
case
"
${
with_gxx_include_dir
}
"
in
yes
)
{
echo
"configure: error: --with-gxx-include-dir=[dir] requires a directory"
1>&2
;
exit
1
;
}
...
...
@@ -3388,11 +3386,14 @@ case "${with_gxx_include_dir}" in
yes
)
gxx_include_dir
=
'${libsubdir}/include/c++'
;;
*
)
libstdcxx_incdir
=
c++/
${
gcc_version
}
gxx_include_dir
=
'${prefix}/include/'
${
libstdcxx_incdir
}
;;
gxx_include_dir
=
'${prefix}/include/'
${
libstdcxx_incdir
}
;;
esac
;;
*
)
gxx_include_dir
=
${
with_gxx_include_dir
}
;;
esac
FLAGS_FOR_TARGET
=
case
"
$target_configdirs
"
in
*
" newlib "
*
)
...
...
@@ -3568,8 +3569,6 @@ done
# Build module lists & subconfigure args.
...
...
@@ -3596,7 +3595,7 @@ test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
# Extract the first word of "${ncn_tool_prefix}ar", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
ar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:3
600
: checking for
$ac_word
"
>
&5
echo
"configure:3
599
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3629,7 +3628,7 @@ if test -z "$ac_cv_prog_AR" ; then
# Extract the first word of "ar", so it can be a program name with args.
set
dummy ar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:363
3
: checking for
$ac_word
"
>
&5
echo
"configure:363
2
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_AR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3668,7 +3667,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}as", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
as
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:367
2
: checking for
$ac_word
"
>
&5
echo
"configure:367
1
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3701,7 +3700,7 @@ if test -z "$ac_cv_prog_AS" ; then
# Extract the first word of "as", so it can be a program name with args.
set
dummy as
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:370
5
: checking for
$ac_word
"
>
&5
echo
"configure:370
4
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_AS
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3740,7 +3739,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}dlltool", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
dlltool
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:374
4
: checking for
$ac_word
"
>
&5
echo
"configure:374
3
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_DLLTOOL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3773,7 +3772,7 @@ if test -z "$ac_cv_prog_DLLTOOL" ; then
# Extract the first word of "dlltool", so it can be a program name with args.
set
dummy dlltool
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:377
7
: checking for
$ac_word
"
>
&5
echo
"configure:377
6
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_DLLTOOL
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3812,7 +3811,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}ld", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
ld
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:381
6
: checking for
$ac_word
"
>
&5
echo
"configure:381
5
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LD
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3845,7 +3844,7 @@ if test -z "$ac_cv_prog_LD" ; then
# Extract the first word of "ld", so it can be a program name with args.
set
dummy ld
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:384
9
: checking for
$ac_word
"
>
&5
echo
"configure:384
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_LD
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3884,7 +3883,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}nm", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
nm
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:388
8
: checking for
$ac_word
"
>
&5
echo
"configure:388
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_NM
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3917,7 +3916,7 @@ if test -z "$ac_cv_prog_NM" ; then
# Extract the first word of "nm", so it can be a program name with args.
set
dummy nm
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:392
1
: checking for
$ac_word
"
>
&5
echo
"configure:392
0
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_NM
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3956,7 +3955,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}ranlib", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:39
60
: checking for
$ac_word
"
>
&5
echo
"configure:39
59
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3989,7 +3988,7 @@ if test -z "$ac_cv_prog_RANLIB" ; then
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:399
3
: checking for
$ac_word
"
>
&5
echo
"configure:399
2
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4028,7 +4027,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}windres", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
windres
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:403
2
: checking for
$ac_word
"
>
&5
echo
"configure:403
1
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_WINDRES
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4061,7 +4060,7 @@ if test -z "$ac_cv_prog_WINDRES" ; then
# Extract the first word of "windres", so it can be a program name with args.
set
dummy windres
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:406
5
: checking for
$ac_word
"
>
&5
echo
"configure:406
4
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_WINDRES
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4100,7 +4099,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}objcopy", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
objcopy
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:410
4
: checking for
$ac_word
"
>
&5
echo
"configure:410
3
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_OBJCOPY
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4133,7 +4132,7 @@ if test -z "$ac_cv_prog_OBJCOPY" ; then
# Extract the first word of "objcopy", so it can be a program name with args.
set
dummy objcopy
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:413
7
: checking for
$ac_word
"
>
&5
echo
"configure:413
6
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_OBJCOPY
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4172,7 +4171,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}objdump", so it can be a program name with args.
set
dummy
${
ncn_tool_prefix
}
objdump
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:417
6
: checking for
$ac_word
"
>
&5
echo
"configure:417
5
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_OBJDUMP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4205,7 +4204,7 @@ if test -z "$ac_cv_prog_OBJDUMP" ; then
# Extract the first word of "objdump", so it can be a program name with args.
set
dummy objdump
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:420
9
: checking for
$ac_word
"
>
&5
echo
"configure:420
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_OBJDUMP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4251,7 +4250,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}ar", so it can be a program name with args.
set
dummy
${
ncn_target_tool_prefix
}
ar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:425
5
: checking for
$ac_word
"
>
&5
echo
"configure:425
4
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CONFIGURED_AR_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4284,7 +4283,7 @@ if test -z "$ac_cv_prog_CONFIGURED_AR_FOR_TARGET" ; then
# Extract the first word of "ar", so it can be a program name with args.
set
dummy ar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:428
8
: checking for
$ac_word
"
>
&5
echo
"configure:428
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_CONFIGURED_AR_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4323,7 +4322,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}as", so it can be a program name with args.
set
dummy
${
ncn_target_tool_prefix
}
as
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:432
7
: checking for
$ac_word
"
>
&5
echo
"configure:432
6
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CONFIGURED_AS_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4356,7 +4355,7 @@ if test -z "$ac_cv_prog_CONFIGURED_AS_FOR_TARGET" ; then
# Extract the first word of "as", so it can be a program name with args.
set
dummy as
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:43
60
: checking for
$ac_word
"
>
&5
echo
"configure:43
59
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_CONFIGURED_AS_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4395,7 +4394,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}dlltool", so it can be a program name with args.
set
dummy
${
ncn_target_tool_prefix
}
dlltool
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:439
9
: checking for
$ac_word
"
>
&5
echo
"configure:439
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4428,7 +4427,7 @@ if test -z "$ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET" ; then
# Extract the first word of "dlltool", so it can be a program name with args.
set
dummy dlltool
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:443
2
: checking for
$ac_word
"
>
&5
echo
"configure:443
1
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_CONFIGURED_DLLTOOL_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4467,7 +4466,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}ld", so it can be a program name with args.
set
dummy
${
ncn_target_tool_prefix
}
ld
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:447
1
: checking for
$ac_word
"
>
&5
echo
"configure:447
0
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CONFIGURED_LD_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4500,7 +4499,7 @@ if test -z "$ac_cv_prog_CONFIGURED_LD_FOR_TARGET" ; then
# Extract the first word of "ld", so it can be a program name with args.
set
dummy ld
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:450
4
: checking for
$ac_word
"
>
&5
echo
"configure:450
3
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_CONFIGURED_LD_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4539,7 +4538,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}nm", so it can be a program name with args.
set
dummy
${
ncn_target_tool_prefix
}
nm
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:454
3
: checking for
$ac_word
"
>
&5
echo
"configure:454
2
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CONFIGURED_NM_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4572,7 +4571,7 @@ if test -z "$ac_cv_prog_CONFIGURED_NM_FOR_TARGET" ; then
# Extract the first word of "nm", so it can be a program name with args.
set
dummy nm
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:457
6
: checking for
$ac_word
"
>
&5
echo
"configure:457
5
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_CONFIGURED_NM_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4611,7 +4610,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}ranlib", so it can be a program name with args.
set
dummy
${
ncn_target_tool_prefix
}
ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:461
5
: checking for
$ac_word
"
>
&5
echo
"configure:461
4
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4644,7 +4643,7 @@ if test -z "$ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET" ; then
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:464
8
: checking for
$ac_word
"
>
&5
echo
"configure:464
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_CONFIGURED_RANLIB_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4683,7 +4682,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}windres", so it can be a program name with args.
set
dummy
${
ncn_target_tool_prefix
}
windres
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:468
7
: checking for
$ac_word
"
>
&5
echo
"configure:468
6
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4716,7 +4715,7 @@ if test -z "$ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET" ; then
# Extract the first word of "windres", so it can be a program name with args.
set
dummy windres
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:47
20
: checking for
$ac_word
"
>
&5
echo
"configure:47
19
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ncn_cv_CONFIGURED_WINDRES_FOR_TARGET
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4801,7 +4800,7 @@ RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
NM_FOR_TARGET
=
${
NM_FOR_TARGET
}${
extra_nmflags_for_target
}
echo
$ac_n
"checking whether to enable maintainer-specific portions of Makefiles""...
$ac_c
"
1>&6
echo
"configure:480
5
: checking whether to enable maintainer-specific portions of Makefiles"
>
&5
echo
"configure:480
4
: checking whether to enable maintainer-specific portions of Makefiles"
>
&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if
test
"
${
enable_maintainer_mode
+set
}
"
=
set
;
then
enableval
=
"
$enable_maintainer_mode
"
...
...
@@ -4848,7 +4847,7 @@ esac
# gcc for stageN-gcc and stagePREV-gcc for stage(N-1). In case this is not
# possible, however, we can resort to mv.
echo
$ac_n
"checking if symbolic links between directories work""...
$ac_c
"
1>&6
echo
"configure:485
2
: checking if symbolic links between directories work"
>
&5
echo
"configure:485
1
: checking if symbolic links between directories work"
>
&5
if
eval
"test
\"
`
echo
'$''{'
gcc_cv_prog_ln_s_dir
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5104,6 +5103,8 @@ s%@bootstrap_lean@%$bootstrap_lean%g
s%@default_target@%
$default_target
%g
/@serialization_dependencies@/r
$serialization_dependencies
s%@serialization_dependencies@%%g
s%@gxx_include_dir@%
$gxx_include_dir
%g
s%@libstdcxx_incdir@%
$libstdcxx_incdir
%g
/@host_makefile_frag@/r
$host_makefile_frag
s%@host_makefile_frag@%%g
/@target_makefile_frag@/r
$target_makefile_frag
...
...
@@ -5119,8 +5120,6 @@ s%@BUILD_PREFIX_1@%$BUILD_PREFIX_1%g
s%@tooldir@%
$tooldir
%g
s%@build_tooldir@%
$build_tooldir
%g
s%@GDB_TK@%
$GDB_TK
%g
s%@gxx_include_dir@%
$gxx_include_dir
%g
s%@libstdcxx_incdir@%
$libstdcxx_incdir
%g
s%@build_configargs@%
$build_configargs
%g
s%@build_configdirs@%
$build_configdirs
%g
s%@host_configargs@%
$host_configargs
%g
...
...
configure.in
View file @
bb59c339
...
...
@@ -20,6 +20,7 @@
sinclude(config/acx.m4)
sinclude(config/gcc-version.m4)
sinclude(config/gxx-include-dir.m4)
AC_INIT(move-if-change)
AC_PREREQ(2.13)
...
...
@@ -1963,22 +1964,7 @@ fi
target_configargs="--cache-file=./config.cache --host=${target_alias} --build=${build_alias} ${target_configargs}"
# provide a proper gxx_include_dir.
# Note, if you change the default, make sure to fix both here and in
# the gcc and libstdc++-v3 subdirectories.
# Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
case "${with_gxx_include_dir}" in
yes)
AC_MSG_ERROR([--with-gxx-include-dir=[[dir]] requires a directory])
;;
no | "")
case "${enable_version_specific_runtime_libs}" in
yes) gxx_include_dir='${libsubdir}/include/c++' ;;
*)
libstdcxx_incdir=c++/${gcc_version}
gxx_include_dir='${prefix}/include/'${libstdcxx_incdir} ;;
esac ;;
*) gxx_include_dir=${with_gxx_include_dir} ;;
esac
TL_AC_GXX_INCLUDE_DIR
FLAGS_FOR_TARGET=
case " $target_configdirs " in
...
...
@@ -2154,8 +2140,6 @@ AC_SUBST(BUILD_PREFIX_1)
AC_SUBST(tooldir)
AC_SUBST(build_tooldir)
AC_SUBST(GDB_TK)
AC_SUBST(gxx_include_dir)
AC_SUBST(libstdcxx_incdir)
# Build module lists & subconfigure args.
AC_SUBST(build_configargs)
...
...
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