acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in LANG_CPLUSPLUS mode.
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. From-SVN: r46815
This commit is contained in:
parent
e0e0032981
commit
f448ac15ff
4 changed files with 808 additions and 777 deletions
|
@ -1,3 +1,10 @@
|
|||
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.
|
||||
|
||||
2001-11-05 Phil Edwards <pme@gcc.gnu.org>
|
||||
|
||||
* porting.texi: Move...
|
||||
|
|
|
@ -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
|
||||
])
|
||||
|
||||
|
||||
|
|
6
libstdc++-v3/aclocal.m4
vendored
6
libstdc++-v3/aclocal.m4
vendored
|
@ -1512,8 +1512,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])
|
||||
|
@ -1525,6 +1527,8 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl
|
|||
AC_DEFINE(_GLIBCPP_USE_LONG_LONG)
|
||||
fi
|
||||
AC_MSG_RESULT($enable_long_long)
|
||||
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
|
||||
|
||||
|
|
1566
libstdc++-v3/configure
vendored
1566
libstdc++-v3/configure
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue