This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix linux configure.in for S390



$machine is "s390/s390-32" for S390 and not just s390, the code could
have not worked at all.  Therefore the following patch is needed for
the glibc 2.2 branch.  It fixes building of libc.so (failed formerly
with gcc 2.95).

Ok to commit?

Uli, shall I also synch the 2.2 and 2.3 branches of configure.in?  The
trunk misses the s390 change.

I'm still compiling for s390 and alpha and will send results after
I've run the testsuite,
Andreas

2002-01-17  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and PowerPC.

============================================================
Index: sysdeps/unix/sysv/linux/configure.in
--- sysdeps/unix/sysv/linux/configure.in	2002/01/12 01:40:17	1.45.2.1
+++ sysdeps/unix/sysv/linux/configure.in	2002/01/17 10:42:04
@@ -38,6 +38,7 @@ fi
 # If the user gave a minimal version number test whether the available
 # kernel headers are young enough.  Additionally we have minimal
 # kernel versions for some architectures.
+# Note that 
 case "$machine" in
   alpha*)
     arch_minimum_kernel=2.1.100
@@ -57,15 +58,15 @@ case "$machine" in
     arch_minimum_kernel=2.2.15
     libc_cv_gcc_unwind_find_fde=yes
     ;;
-  powerpc)
+  powerpc*)
     libc_cv_gcc_unwind_find_fde=yes
     arch_minimum_kernel=2.0.10
     ;;
-  s390)
+  s390/s390-32)
     libc_cv_gcc_unwind_find_fde=yes
     arch_minimum_kernel=2.2.10
     ;;
-  s390x)
+  s390/s390-64)
     libc_cv_gcc_unwind_find_fde=yes
     arch_minimum_kernel=2.4.0
     ;;

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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