aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.in
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-14 08:45:38 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-14 08:45:38 +0000
commitc3f3e8918fd3633fa2b5bf0dc6437540b6bbae73 (patch)
tree5f8eeae9eb41cceaa07e9ebe843f20c446c84e79 /libstdc++-v3/configure.in
parent7f18f5fbe65dade6394e4d7de8bd01de0218cb00 (diff)
* configure.in (auxdir): Replace by ...
(toprel): ... new variable. (toplevel_srcdir): Construct from $toprel. * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel rather than .. to locate gcc source directory. (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel. * aclocal.m4, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43364 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure.in')
-rw-r--r--libstdc++-v3/configure.in15
1 files changed, 6 insertions, 9 deletions
diff --git a/libstdc++-v3/configure.in b/libstdc++-v3/configure.in
index b526c408e32..f9b1cf8f574 100644
--- a/libstdc++-v3/configure.in
+++ b/libstdc++-v3/configure.in
@@ -11,22 +11,19 @@ AC_INIT(src/ios.cc)
# source directory.
if test "${srcdir}" = "."; then
if test -z "${with_target_subdir}"; then
- toplevel_srcdir="\${top_srcdir}/.."
- auxdir="${srcdir}/.."
+ toprel=".."
else
if test "${with_target_subdir}" != "."; then
- toplevel_srcdir="\${top_srcdir}/${with_multisrctop}../.."
- auxdir="${srcdir}/${with_multisrctop}../.."
+ toprel="${with_multisrctop}../.."
else
- toplevel_srcdir="\${top_srcdir}/${with_multisrctop}.."
- auxdir="${srcdir}/${with_multisrctop}.."
+ toprel="${with_multisrctop}.."
fi
fi
else
- toplevel_srcdir="\${top_srcdir}/.."
- auxdir="${srcdir}/.."
+ toprel=".."
fi
-AC_CONFIG_AUX_DIR($auxdir)
+AC_CONFIG_AUX_DIR(${srcdir}/$toprel)
+toplevel_srcdir=\${top_srcdir}/$toprel
AC_SUBST(toplevel_srcdir)
dnl This is here just to satisfy automake.