]> gcc.gnu.org Git - gcc.git/blobdiff - libio/configure.in
configure.in: Create compatibility code in bits/libc-lock.h file.
[gcc.git] / libio / configure.in
index 06c6fdabea5adb8e071047b93dfebd15d0587044..2fc3a962afaa14c07aa44b86fd0b1614db5183c4 100644 (file)
@@ -17,12 +17,8 @@ frags=
 case "${target}" in
   *-hpux*)       frags=hpux.mt ;;
   *-linux-gnulibc1)
-       echo "WARNING:  The I/O implementation in FSF libg++ 2.8.x is not"
-       echo "  compatible with Linux libc through 5.2.x."
-       echo "  See libg++/README for more information."
-       echo "  YOU ARE ON YOUR OWN!"
                 frags=linuxlibc1.mt ;;
-  *-linux-gnu)   frags=linux.mt ;;
+  *-linux-gnu)   frags="linux.mt mtsafe.mt" ;;
   *-sco3.2v[45]*)   frags=sco4.mt ;;
   *-isc*)        frags=isc.mt ;;
   *-netware*)    frags=netware.mt ;;
@@ -40,6 +36,8 @@ if [ "${shared}" = "yes" ]; then
   case "${target}" in
     hppa*-*)    frags="${frags} ../../config/mh-papic" ;;
     i[3456]86-*) frags="${frags} ../../config/mh-x86pic" ;;
+    alpha-*-linux*)
+                frags="${frags} ../../config/mh-elfalphapic" ;;
     *)          frags="${frags} ../../config/mh-${target_cpu}pic" ;;
   esac
 fi
@@ -56,6 +54,9 @@ case "${target}" in
        rm -fr bits
         mkdir bits
         echo "#include <libc-lock.h>" > bits/libc-lock.h
+       echo 'asm (".weak _pthread_cleanup_pop_restore");' >> bits/libc-lock.h
+       echo 'asm (".weak _pthread_cleanup_push_defer");' >> bits/libc-lock.h
+
         echo "#include <stdio-lock.h>" > bits/stdio-lock.h
       }
     ;;
This page took 0.032088 seconds and 5 git commands to generate.