From: Bernardo Innocenti Date: Mon, 9 Feb 2004 07:06:35 +0000 (+0100) Subject: crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. X-Git-Tag: releases/gcc-4.0.0~10248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19e9e4d1645adcc0182a92bda294f45021419be;p=thirdparty%2Fgcc.git crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. * configure: Regenerate. From-SVN: r77523 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4da5edd796af..885041db3e4c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-02-09 Bernardo Innocenti + + * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. + * configure: Regenerate. + 2004-02-08 Richard Henderson PR libstdc++/14026 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 8faed3be1b39..9fd8dc1e3edf 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 076063706fc3..2c395e2c355d 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)