From 658df8b8f7e964a4c0d0965595c7f59d31c1b770 Mon Sep 17 00:00:00 2001 From: pme Date: Tue, 6 Nov 2001 22:50:50 +0000 Subject: 2001-11-06 Phil Edwards * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in LANG_CPLUSPLUS mode. * aclocal.m4: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46815 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/acinclude.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3/acinclude.m4') diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 4a7f1df90ae..16dce0f9f6a 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -1500,8 +1500,10 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl esac], enable_long_long=GLIBCPP_ENABLE_LONG_LONG_DEFAULT)dnl - AC_MSG_CHECKING([for enabled long long I/O support]) + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_MSG_CHECKING([for enabled long long I/O support]) # iostreams require strtoll, strtoull to compile AC_TRY_COMPILE([#include ], [char* tmp; strtoll("gnu", &tmp, 10);],,[enable_long_long=no]) @@ -1513,6 +1515,8 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl AC_DEFINE(_GLIBCPP_USE_LONG_LONG) fi AC_MSG_RESULT($enable_long_long) + + AC_LANG_RESTORE ]) -- cgit v1.2.1