diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-06 06:32:01 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-06 06:32:01 +0000 |
commit | e3bb8f1a5064dacdebe5ef02db9f93ac1e1d7845 (patch) | |
tree | 9474c0f861c95c082bedfbf9775931d3a53e4805 /libstdc++-v3/configure.in | |
parent | da0c698293c9fd89e45bcc1421fa3139f0c6826c (diff) | |
download | ppe42-gcc-e3bb8f1a5064dacdebe5ef02db9f93ac1e1d7845.tar.gz ppe42-gcc-e3bb8f1a5064dacdebe5ef02db9f93ac1e1d7845.zip |
2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
macro. Consolidate all the bits to do with where includes might be
installed.
* aclocal.m4: Regenerate.
* configure.in: Use it.
* configure: Regenerate.
* src/Makefile.am (targetincludep): Use simplified rules.
(targetincludep): Rename gxx_target_include_dir.
(myincludep): Rename gxx_include_dir.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use simplified rules.
* libsupc++/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39479 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure.in')
-rw-r--r-- | libstdc++-v3/configure.in | 61 |
1 files changed, 2 insertions, 59 deletions
diff --git a/libstdc++-v3/configure.in b/libstdc++-v3/configure.in index 7f59b136274..4726384d5a1 100644 --- a/libstdc++-v3/configure.in +++ b/libstdc++-v3/configure.in @@ -246,68 +246,11 @@ fi # Generate the various Makefiles, include files, and scripts. -# This helps subvert libstdcxx_interface, as calculated by devo/config.if # Needed so that g++ can find the correct include subdir automatically. INTERFACE=v3 -# Check for the interface version number for specifying where header -# files are installed, if a version number is provided. -AC_MSG_CHECKING([for interface version number]) -libstdcxx_interface=$INTERFACE -AC_MSG_RESULT($libstdcxx_interface) -AC_SUBST(libstdcxx_interface) - -# Process the option --with-gxx-include-dir=<path to include-files directory> -AC_MSG_CHECKING([for --with-gxx-include-dir]) -AC_ARG_WITH(gxx-include-dir, -[ --with-gxx-include-dir the installation directory for include files], -[case "${withval}" in - yes) - AC_MSG_ERROR(Missing directory for --with-gxx-include-dir) - gxx_include_dir=no - ;; - no) - gxx_include_dir=no - ;; - *) - gxx_include_dir=${withval} - ;; -esac], [gxx_include_dir=no]) -AC_MSG_RESULT($gxx_include_dir) -AC_SUBST(gxx_include_dir) -AM_CONDITIONAL(GXX_INCLUDE_DIR, test x${gxx_include_dir} != xno) - -# Process the option "--enable-version-specific-runtime-libs" -AC_MSG_CHECKING([for --enable-version-specific-runtime-libs]) -AC_ARG_ENABLE(version-specific-runtime-libs, -[ --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory ], -[ version_specific_libs=yes -# Need the gcc compiler version to know where to install libraries -# and header files if --enable-version-specific-runtime-libs option -# is selected. -changequote(,)dnl -gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'` -gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'` -#gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'` -#gcc_version=$gcc_num-$gcc_date -gcc_version=$gcc_num -changequote([,])dnl -AC_SUBST(gcc_version) -],version_specific_libs=no) -AC_MSG_RESULT($version_specific_libs) -if test x${version_specific_libs} = xyes; then - AM_CONDITIONAL(VERSION_SPECIFIC_LIBS, test x${version_specific_libs} = xyes) - AC_MSG_WARN(version specific directory is: $gcc_version) -fi - -# We have to install all the generated or linked includes files -# specified as build_headers in src/Makefile.am in a target-dependent -# place, or else multiple installs for different compilers will -# overwrite these files. -# NB: Keep this and gcc/Makefile.in's -DGPLUSPLUS_TOOL_INCLUDE_DIR in sync. -gxx_target_include_dir='$(exec_prefix)/$(target_alias)/include/g++-$(libstdcxx_interface)' -AC_SUBST(gxx_target_include_dir) - +# Export all the install information +GLIBCPP_EXPORT_INSTALL_INFO # Export all the include and flag information to makefiles. GLIBCPP_EXPORT_INCLUDES |