[PATCH] Empty libstdc++ cpu config directories

Benjamin Kosnik bkoz@redhat.com
Tue Feb 3 17:48:00 GMT 2004



I think you want something like this instead.

>2004-02-02  Paul Brook  <paul@codesourcery.com>
>
>	* libstdc++-v3/configure.host: Explicitly check for atomicity.h.

Index: configure.host
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/configure.host,v
retrieving revision 1.22
diff -c -p -r1.22 configure.host
*** configure.host      27 Jan 2004 15:36:22 -0000      1.22
--- configure.host      3 Feb 2004 17:47:59 -0000
*************** case "${host_cpu}" in
*** 94,100 ****
      try_cpu=sparc
      ;;
    *)
!     if test -d ${glibcxx_srcdir}/config/cpu/${host_cpu}; then
        try_cpu=${host_cpu}
      else
        try_cpu=generic
--- 94,100 ----
      try_cpu=sparc
      ;;
    *)
!     if test -f ${glibcxx_srcdir}/config/cpu/${host_cpu}/atomicity.h; then
        try_cpu=${host_cpu}
      else
        try_cpu=generic



More information about the Libstdc++ mailing list