This is the mail archive of the libc-alpha@sourceware.org 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]

PATCH: Add sysdeps/unix/sysv/linux/x86_64/x32/configure.in


Hi,

This patch adds sysdeps/unix/sysv/linux/x86_64/x32/configure.in
to specify minimum kernel and directories for x32.  I used 2.6.39 as
minimum kernel since Fedora 15 kernel maps kernel 3.x to 2.6.4x.y.
OK to install?

Thanks.

H.J.
---
	* sysdeps/unix/sysv/linux/x86_64/x32/configure.in: New.
	* sysdeps/unix/sysv/linux/x86_64/x32/configure: Generated.

diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/configure.in b/sysdeps/unix/sysv/linux/x86_64/x32/configure.in
new file mode 100644
index 0000000..9e57e59
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/configure.in
@@ -0,0 +1,19 @@
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/unix/sysv/linux/86_64/x32.
+
+case "$machine" in
+x86_64/x32)
+  test -n "$arch_minimum_kernel" || arch_minimum_kernel=2.6.39
+  test -n "$libc_cv_slibdir" ||
+  case "$prefix" in
+  /usr | /usr/)
+    libc_cv_slibdir="/libx32"
+    if test "$libdir" = '${exec_prefix}/lib'; then
+      libdir='${exec_prefix}/libx32';
+      # Locale data can be shared.
+      libc_cv_localedir='${exec_prefix}/lib/locale'
+    fi
+    ;;
+  esac
+  ;;
+esac


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