about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-23 20:03:20 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-23 20:03:20 -0700
commitccd0a08f4e1ac5323cb229fbd401b70e9473b64e (patch)
tree5b89c5c038bdd8b14d9b978791f72ecbf5e76131 /sysdeps/unix
parentf8591f8049a401c898737ca843d87872b93e6ccc (diff)
downloadglibc-ccd0a08f4e1ac5323cb229fbd401b70e9473b64e.tar.gz
glibc-ccd0a08f4e1ac5323cb229fbd401b70e9473b64e.tar.xz
glibc-ccd0a08f4e1ac5323cb229fbd401b70e9473b64e.zip
Add sysdeps/unix/sysv/linux/x86_64/x32/configure
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/x32/configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/configure b/sysdeps/unix/sysv/linux/x86_64/x32/configure
new file mode 100644
index 0000000000..51fc1e6207
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/configure
@@ -0,0 +1,18 @@
+# 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=3.4.0
+  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