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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
18 deletions
+38
-18
ChangeLog
+6
-0
config/ChangeLog
+4
-0
config/gxx-include-dir.m4
+26
-0
configure
+0
-0
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
This diff is collapsed.
Click to expand it.
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