diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-06-09 19:14:14 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-06-09 19:14:14 -0400 |
commit | 9514f0d113f1dfc578168792c7ba37d96c18b4f4 (patch) | |
tree | c9d263189d59604449d2d6c68fac7d9c117ae77a | |
parent | 4d8392b761fd32126ac80cb2eb9dcccc27bdea87 (diff) | |
download | gcc-9514f0d113f1dfc578168792c7ba37d96c18b4f4.zip gcc-9514f0d113f1dfc578168792c7ba37d96c18b4f4.tar.gz gcc-9514f0d113f1dfc578168792c7ba37d96c18b4f4.tar.bz2 |
(with-gxx-include-dir): New parameter for setting the g++ header file
directory.
From-SVN: r14201
-rw-r--r-- | gcc/configure.in | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index 54ce459..926bc20 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -65,13 +65,17 @@ if [[ x$local_prefix = x ]]; then local_prefix=/usr/local fi -# -# Shell script to create proper links to machine-dependent files in -# preparation for compiling gcc. -# -# --local-prefix=DIR specifies directory to put local ./include in. -# --gxx-include-dir=DIR specifies directory to put g++ header files in. -# +# Specify the g++ header file directory +AC_ARG_WITH(gxx-include-dir, +[ --with-gxx-include-dir=DIR + specifies directory to put g++ header files.], +gxx_include_dir=$with_gxx_include_dir, +gxx_include_dir='${prefix}/include/g++') + +# Default g++ header file directory if it is empty +if [[ x$gxx_include_dir = x ]]; then + gxx_include_dir='${prefix}/include/g++' +fi # Determine the host, build, and target systems AC_CANONICAL_SYSTEM @@ -2911,6 +2915,7 @@ AC_SUBST(lang_options_files) AC_SUBST(objc_thread_file) AC_SUBST(version) AC_SUBST(local_prefix) +AC_SUBST(gxx_include_dir) AC_SUBST(fixincludes) AC_SUBST(build_install_headers_dir) AC_SUBST(exeext) @@ -3003,6 +3008,7 @@ lang_options_files='${lang_options_files}' objc_thread_file='${objc_thread_file}' version='${version}' local_prefix='${local_prefix}' +gxx_include_dir='${gxx_include_dir}' fixincludes='${fixincludes}' build_install_headers_dir='${build_install_headers_dir}' exeext='${exeext}' |