OSDN Git Service

* crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 07:06:35 +0000 (07:06 +0000)
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 07:06:35 +0000 (07:06 +0000)
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77523 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/crossconfig.m4

index 4da5edd..885041d 100644 (file)
@@ -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
index 8faed3b..9fd8dc1 100755 (executable)
@@ -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().
 
index 0760637..2c395e2 100644 (file)
@@ -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)