diff options
author | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-06 22:50:50 +0000 |
---|---|---|
committer | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-06 22:50:50 +0000 |
commit | 658df8b8f7e964a4c0d0965595c7f59d31c1b770 (patch) | |
tree | 99de89d2d694acd6dc84c506638476db2cecaee9 /libstdc++-v3/acinclude.m4 | |
parent | 34224d90889595d0cf8a0dbff54821c0b5585738 (diff) | |
download | gcc-658df8b8f7e964a4c0d0965595c7f59d31c1b770.tar.gz |
2001-11-06 Phil Edwards <pme@gcc.gnu.org>
* 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
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
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 <stdlib.h>], [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 ]) |