aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/aclocal.m4
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2003-10-27 23:11:52 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2003-10-27 23:11:52 +0000
commit0c6b814ac9d0fb057a1ce3c02152690dc17b7c47 (patch)
tree20e394e3a9f58d8c0244048b7993fe7d2e11f434 /libstdc++-v3/aclocal.m4
parent0f09879bd2ea43ab16cb7f5aed9e4a636e263de4 (diff)
downloadgcc-0c6b814ac9d0fb057a1ce3c02152690dc17b7c47.zip
gcc-0c6b814ac9d0fb057a1ce3c02152690dc17b7c47.tar.gz
gcc-0c6b814ac9d0fb057a1ce3c02152690dc17b7c47.tar.bz2
re PR libstdc++/12778 (1022 bootstrap failure building libstdc++-v3/src/basic_file.cc)
2003-10-27 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12778 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r72994
Diffstat (limited to 'libstdc++-v3/aclocal.m4')
-rw-r--r--libstdc++-v3/aclocal.m411
1 files changed, 8 insertions, 3 deletions
diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4
index f55cbf4..ea472fd 100644
--- a/libstdc++-v3/aclocal.m4
+++ b/libstdc++-v3/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.7.7 -*- Autoconf -*-
+# generated automatically by aclocal 1.7.8 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
@@ -606,9 +606,13 @@ dnl
dnl Check whether LFS support is available.
dnl
AC_DEFUN(GLIBCXX_CHECK_LFS, [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
AC_CACHE_VAL(glibcxx_cv_LFS, [
AC_TRY_LINK(
- [#include <unistd.h>],
+ [#include <unistd.h>
+ #include <stdio.h>
+ ],
[fopen64("t", "w");
lseek64(1, 0, SEEK_CUR);],
[glibcxx_cv_LFS=yes],
@@ -617,6 +621,7 @@ AC_DEFUN(GLIBCXX_CHECK_LFS, [
if test $glibcxx_cv_LFS = yes; then
AC_DEFINE(_GLIBCXX_USE_LFS)
fi
+ AC_LANG_RESTORE
])
@@ -2004,7 +2009,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
# Call AM_AUTOMAKE_VERSION so it can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.7.7])])
+ [AM_AUTOMAKE_VERSION([1.7.8])])
# Helper functions for option handling. -*- Autoconf -*-