acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model on linux by default.
2001-12-15 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model on linux by default. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r48046
This commit is contained in:
parent
7fcd4787d7
commit
56deb74c86
@ -1,7 +1,14 @@
|
||||
2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
|
||||
on linux by default.
|
||||
* aclocal.m4: Regenerate.
|
||||
* configure: Regenerate.
|
||||
|
||||
2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
Clean up initialization and simplfy caching of underlying "C"
|
||||
locale objects.
|
||||
default locale objects.
|
||||
* src/localename.cc (locale::_Impl::_Impl(string, size_t):
|
||||
Unconditionally create __clocale object for all named locales,
|
||||
including "C" and "POSIX".
|
||||
|
@ -1041,13 +1041,31 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [
|
||||
--enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
|
||||
],
|
||||
if test x$enable_clocale = xno; then
|
||||
enable_clocale=generic
|
||||
enable_clocale=no
|
||||
fi,
|
||||
enable_clocale=generic)
|
||||
enable_clocale=no)
|
||||
|
||||
enable_clocale_flag=$enable_clocale
|
||||
|
||||
dnl Check if a valid locale package
|
||||
dnl Probe for locale support if no specific model is specified.
|
||||
dnl Default to "generic"
|
||||
if test x$enable_clocale_flag = xno; then
|
||||
case x${target_os} in
|
||||
xlinux* | xgnu*)
|
||||
AC_EGREP_CPP([ok], [
|
||||
#include <features.h>
|
||||
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
|
||||
ok
|
||||
#endif
|
||||
], enable_clocale_flag=gnu, enable_clocale_flag=generic)
|
||||
;;
|
||||
*)
|
||||
enable_clocale_flag=generic
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
dnl Set configure bits for specified locale package
|
||||
case x${enable_clocale_flag} in
|
||||
xgeneric)
|
||||
AC_MSG_RESULT(generic)
|
||||
|
24
libstdc++-v3/aclocal.m4
vendored
24
libstdc++-v3/aclocal.m4
vendored
@ -1053,13 +1053,31 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [
|
||||
--enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
|
||||
],
|
||||
if test x$enable_clocale = xno; then
|
||||
enable_clocale=generic
|
||||
enable_clocale=no
|
||||
fi,
|
||||
enable_clocale=generic)
|
||||
enable_clocale=no)
|
||||
|
||||
enable_clocale_flag=$enable_clocale
|
||||
|
||||
dnl Check if a valid locale package
|
||||
dnl Probe for locale support if no specific model is specified.
|
||||
dnl Default to "generic"
|
||||
if test x$enable_clocale_flag = xno; then
|
||||
case x${target_os} in
|
||||
xlinux* | xgnu*)
|
||||
AC_EGREP_CPP([ok], [
|
||||
#include <features.h>
|
||||
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
|
||||
ok
|
||||
#endif
|
||||
], enable_clocale_flag=gnu, enable_clocale_flag=generic)
|
||||
;;
|
||||
*)
|
||||
enable_clocale_flag=generic
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
dnl Set configure bits for specified locale package
|
||||
case x${enable_clocale_flag} in
|
||||
xgeneric)
|
||||
AC_MSG_RESULT(generic)
|
||||
|
1804
libstdc++-v3/configure
vendored
1804
libstdc++-v3/configure
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user