From: Stephen M. Webb Date: Mon, 16 Jul 2001 17:43:54 +0000 (+0000) Subject: acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when setting C_INCLUDE_DIR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb124b992c3235992f5fc7f781266d5708d3a215;p=gcc.git acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when setting C_INCLUDE_DIR. 2001-07-16 Stephen M. Webb * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when setting C_INCLUDE_DIR. * configure.in: Revert yesterday's LN_S change. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r44052 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 44e64e06a50..c555a77b7b7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2001-07-16 Stephen M. Webb + + * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when + setting C_INCLUDE_DIR. + * configure.in: Revert yesterday's LN_S change. + * aclocal.m4: Regenerate. + * configure: Regenerate. + 2001-07-15 Phil Edwards * configure.in: Temporarily force LN_S to copy instead of symlink. diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index c9495d9eda3..ffa062c9fd6 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -1437,16 +1437,16 @@ changequote([, ]) case "$enable_cheaders" in c_shadow) CSHADOW_FLAGS="-fno-builtin" - C_INCLUDE_DIR='${top_srcdir}/include/c_shadow' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow' AC_DEFINE(_GLIBCPP_USE_SHADOW_HEADERS) ;; c_std) CSHADOW_FLAGS="" - C_INCLUDE_DIR='${top_srcdir}/include/c_std' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std' ;; c) CSHADOW_FLAGS="" - C_INCLUDE_DIR='${top_srcdir}/include/c' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c' ;; esac diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index 0c8c346045c..2b62537f0c9 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -1449,16 +1449,16 @@ changequote([, ]) case "$enable_cheaders" in c_shadow) CSHADOW_FLAGS="-fno-builtin" - C_INCLUDE_DIR='${top_srcdir}/include/c_shadow' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow' AC_DEFINE(_GLIBCPP_USE_SHADOW_HEADERS) ;; c_std) CSHADOW_FLAGS="" - C_INCLUDE_DIR='${top_srcdir}/include/c_std' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std' ;; c) CSHADOW_FLAGS="" - C_INCLUDE_DIR='${top_srcdir}/include/c' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c' ;; esac diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 6f8f33daef8..c04aff76c55 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -721,7 +721,7 @@ target_alias=${target_alias-$target} # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also # be 'cp -p' if linking isn't available. -ac_cv_prog_LN_S='cp -p' +#ac_cv_prog_LN_S='cp -p' echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 echo "configure:727: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then @@ -3614,7 +3614,7 @@ fi case "$enable_cheaders" in c_shadow) CSHADOW_FLAGS="-fno-builtin" - C_INCLUDE_DIR='${top_srcdir}/include/c_shadow' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow' cat >> confdefs.h <<\EOF #define _GLIBCPP_USE_SHADOW_HEADERS 1 EOF @@ -3622,11 +3622,11 @@ EOF ;; c_std) CSHADOW_FLAGS="" - C_INCLUDE_DIR='${top_srcdir}/include/c_std' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std' ;; c) CSHADOW_FLAGS="" - C_INCLUDE_DIR='${top_srcdir}/include/c' + C_INCLUDE_DIR='${glibcpp_srcdir}/include/c' ;; esac diff --git a/libstdc++-v3/configure.in b/libstdc++-v3/configure.in index ab09bcea82f..45099b04940 100644 --- a/libstdc++-v3/configure.in +++ b/libstdc++-v3/configure.in @@ -38,7 +38,7 @@ AC_SUBST(target_alias) # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also # be 'cp -p' if linking isn't available. -ac_cv_prog_LN_S='cp -p' +#ac_cv_prog_LN_S='cp -p' AC_PROG_LN_S # We use these options to decide which functions to include.