Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 125793
Collapse All | Expand All

(-)glibc-2.4-orig/sysdeps/unix/sysv/linux/configure (-13 / +2 lines)
Lines 229-251 Link Here
229
  *) sysroot="";;
229
  *) sysroot="";;
230
  esac
230
  esac
231
231
232
  # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib.
232
    libc_cv_slibdir="/@GENTOO_LIBDIR@"
233
  # Allow earlier configure scripts to handle libc_cv_slibdir, libdir,
234
  # and libc_cv_localedir.
235
  test -n "$libc_cv_slibdir" || \
236
  case $machine in
237
  sparc/sparc64 | x86_64 | powerpc/powerpc64 | s390/s390-64)
238
    libc_cv_slibdir="${sysroot}/lib64"
239
    if test "$libdir" = '${exec_prefix}/lib'; then
233
    if test "$libdir" = '${exec_prefix}/lib'; then
240
      libdir='${exec_prefix}/lib64';
234
      libdir='${exec_prefix}/@GENTOO_LIBDIR@'
241
      # Locale data can be shared between 32bit and 64bit libraries
235
      # Locale data can be shared between 32bit and 64bit libraries
242
      libc_cv_localedir='${exec_prefix}/lib/locale'
236
      libc_cv_localedir='${exec_prefix}/lib/locale'
243
    fi
237
    fi
244
    ;;
245
  *)
246
    libc_cv_slibdir="${sysroot}/lib"
247
    ;;
248
  esac
249
  # Allow the user to override the path with --sysconfdir
238
  # Allow the user to override the path with --sysconfdir
250
  if test $sysconfdir = '${prefix}/etc'; then
239
  if test $sysconfdir = '${prefix}/etc'; then
251
    libc_cv_sysconfdir="${sysroot}/etc"
240
    libc_cv_sysconfdir="${sysroot}/etc"

Return to bug 125793