This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[v3] testsuite_flags absolute path fix



..should fix the problems that Mark, Zack, etc. have all
reported. Zack, it would be nice if you could let me know your status
after you update sources.

tested x86/linux

mainline/branch

2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
	amd glibcpp_prefixdir with absolute paths.

	* include/bits/c++config (__GLIBCPP__): Bump.
	* acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.

Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.145
diff -c -p -r1.145 acinclude.m4
*** acinclude.m4	2001/05/14 01:15:28	1.145
--- acinclude.m4	2001/05/18 07:14:55
*************** AC_DEFUN(GLIBCPP_CONFIGURE, [
*** 17,23 ****
    glibcpp_basedir=$auxdir/$1/libstdc++-v3
    AC_SUBST(glibcpp_basedir)
  
!   AM_INIT_AUTOMAKE(libstdc++, 2.91)
  
    # Never versions of autoconf add an underscore to these functions.
    # Prevent future problems ...
--- 17,23 ----
    glibcpp_basedir=$auxdir/$1/libstdc++-v3
    AC_SUBST(glibcpp_basedir)
  
!   AM_INIT_AUTOMAKE(libstdc++, 2.92)
  
    # Never versions of autoconf add an underscore to these functions.
    # Prevent future problems ...
*************** glibcpp_toolexecdir=no
*** 1578,1587 ****
  glibcpp_toolexeclibdir=no
  
  # Export build and source directories.
! tmp_builddir=`pwd`
! glibcpp_builddir=$tmp_builddir
! glibcpp_srcdir=${srcdir}
! glibcpp_prefixdir=${prefix}
  
  AC_MSG_CHECKING([for interface version number])
  libstdcxx_interface=$INTERFACE
--- 1578,1587 ----
  glibcpp_toolexeclibdir=no
  
  # Export build and source directories.
! # These need to be absolute paths, thus the use of pwd.
! glibcpp_builddir=`pwd`
! glibcpp_srcdir=`cd ${srcdir} && pwd`
! glibcpp_prefixdir=`cd ${prefix} && pwd`
  
  AC_MSG_CHECKING([for interface version number])
  libstdcxx_interface=$INTERFACE
Index: include/bits/c++config
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/c++config,v
retrieving revision 1.21
diff -c -p -r1.21 c++config
*** c++config	2001/04/20 08:59:25	1.21
--- c++config	2001/05/18 07:15:40
***************
*** 34,40 ****
  #include <bits/os_defines.h>
  
  // The current version of the C++ library in compressed ISO date format.
! #define __GLIBCPP__ 20010417
  
  // This is necessary until GCC supports separate template
  // compilation.  
--- 34,40 ----
  #include <bits/os_defines.h>
  
  // The current version of the C++ library in compressed ISO date format.
! #define __GLIBCPP__ 20010517
  
  // This is necessary until GCC supports separate template
  // compilation.  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]