This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi! As /usr/lib/locale/ can now be shared between sparc-*-linux and sparc64-*-linux, I think it is a good idea to make localedir default to /usr/lib/locale and not /usr/lib64/locale for sparc64: 2000-01-31 Jakub Jelinek <jakub@redhat.com> * config.make.in: Allow default localedir to come from configure. * configure.in: Export libc_cv_localedir. * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale stuff into $exec_prefix/lib/locale because it can be shared between 32bit and 64bit libraries. * configure: Rebuilt. * sysdeps/unix/sysv/linux/configure: Rebuilt. --- libc/configure.in.jj Mon Jan 31 09:39:39 2000 +++ libc/configure.in Mon Jan 31 10:29:05 2000 @@ -1283,6 +1283,7 @@ fi AC_SUBST(old_glibc_headers) AC_SUBST(libc_cv_slibdir) +AC_SUBST(libc_cv_localedir) AC_SUBST(libc_cv_sysconfdir) AC_SUBST(libc_cv_rootsbindir) --- libc/config.make.in.jj Tue Dec 21 11:07:49 1999 +++ libc/config.make.in Mon Jan 31 10:29:05 2000 @@ -12,6 +12,7 @@ exec_prefix = @exec_prefix@ datadir = @datadir@ libdir = @libdir@ slibdir = @libc_cv_slibdir@ +localedir = @libc_cv_localedir@ sysconfdir = @libc_cv_sysconfdir@ libexecdir = @libexecdir@ rootsbindir = @libc_cv_rootsbindir@ --- libc/configure.jj Mon Jan 31 09:39:39 2000 +++ libc/configure Mon Jan 31 10:33:21 2000 @@ -3475,6 +3475,7 @@ s%@uname_version@%$uname_version%g s%@stdio@%$stdio%g s%@old_glibc_headers@%$old_glibc_headers%g s%@libc_cv_slibdir@%$libc_cv_slibdir%g +s%@libc_cv_localedir@%$libc_cv_localedir%g s%@libc_cv_sysconfdir@%$libc_cv_sysconfdir%g s%@libc_cv_rootsbindir@%$libc_cv_rootsbindir%g s%@use_ldconfig@%$use_ldconfig%g --- libc/sysdeps/unix/sysv/linux/configure.in.jj Fri Jan 28 14:54:12 2000 +++ libc/sysdeps/unix/sysv/linux/configure.in Mon Jan 31 10:35:51 2000 @@ -68,6 +68,8 @@ if test "$prefix" = "/usr"; then libc_cv_slibdir="/lib64" if test "$libdir" = '${exec_prefix}/lib'; then libdir='${exec_prefix}/lib64'; + # Locale data can be shared between 32bit and 64bit libraries + libc_cv_localedir='${exec_prefix}/lib/locale' fi else libc_cv_slibdir="/lib" --- libc/sysdeps/unix/sysv/linux/configure.jj Fri Jan 28 14:54:12 2000 +++ libc/sysdeps/unix/sysv/linux/configure Mon Jan 31 10:35:37 2000 @@ -97,6 +97,8 @@ if test "$prefix" = "/usr"; then libc_cv_slibdir="/lib64" if test "$libdir" = '${exec_prefix}/lib'; then libdir='${exec_prefix}/lib64'; + # Locale data can be shared between 32bit and 64bit libraries + libc_cv_localedir='${exec_prefix}/lib/locale' fi else libc_cv_slibdir="/lib" Cheers, Jakub ___________________________________________________________________ Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj Linux version 2.3.41 on a sparc64 machine (1343.49 BogoMips) ___________________________________________________________________
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |