diff options
author | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-09 07:06:35 +0000 |
---|---|---|
committer | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-09 07:06:35 +0000 |
commit | b67d6ee945362525d86a17bbf7936f13e9849154 (patch) | |
tree | 2618aafb1a3b64ce3a3dc4364ccf079b3e9c31e2 | |
parent | 0ad895fb32c2c5c5f2d8c146834d5ddee545839b (diff) | |
download | gcc-b67d6ee945362525d86a17bbf7936f13e9849154.tar.gz |
* crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77523 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rwxr-xr-x | libstdc++-v3/configure | 8 | ||||
-rw-r--r-- | libstdc++-v3/crossconfig.m4 | 8 |
3 files changed, 19 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4da5edd796a..885041db3e4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-02-09 Bernardo Innocenti <bernie@develer.com> + + * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. + * configure: Regenerate. + 2004-02-08 Richard Henderson <rth@redhat.com> PR libstdc++/14026 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 8faed3be1b3..9fd8dc1e3ed 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -52843,10 +52843,16 @@ echo "${ECHO_T}$enable_wchar_t" >&6 #define HAVE_INT64_T 1 _ACEOF - cat >>confdefs.h <<\_ACEOF + case "$target" in + *-uclinux*) + # Don't enable LFS with uClibc + ;; + *) + cat >>confdefs.h <<\_ACEOF #define _GLIBCXX_USE_LFS 1 _ACEOF + esac # For showmanyc_helper(). diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index 076063706fc..2c395e2c355 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -134,7 +134,13 @@ case "${host}" in # For LFS. AC_DEFINE(HAVE_INT64_T) - AC_DEFINE(_GLIBCXX_USE_LFS) + case "$target" in + *-uclinux*) + # Don't enable LFS with uClibc + ;; + *) + AC_DEFINE(_GLIBCXX_USE_LFS) + esac # For showmanyc_helper(). AC_CHECK_HEADERS(sys/ioctl.h sys/filio.h) |