summaryrefslogtreecommitdiff
path: root/libstdc++-v3/crossconfig.m4
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-07 01:07:05 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-07 01:07:05 +0000
commitb7d0753ca9291fd9b88bbf5796f7bbfbafb9fcc6 (patch)
tree1ee9018224670e46376e16e6b7d67be0d5a9d673 /libstdc++-v3/crossconfig.m4
parent26e663758df155e7889c5691e27ab30f11452d91 (diff)
downloadgcc-b7d0753ca9291fd9b88bbf5796f7bbfbafb9fcc6.tar.gz
2004-07-06 Anssi Hannula <anssi.hannula@mbnet.fi>
PR libstdc++/15928 * crossconfig.m4: Add in bits for djgpp. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84185 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r--libstdc++-v3/crossconfig.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
index 57ab558b3a6..96bbdd84a1d 100644
--- a/libstdc++-v3/crossconfig.m4
+++ b/libstdc++-v3/crossconfig.m4
@@ -42,6 +42,22 @@ case "${host}" in
AC_DEFINE(HAVE_MMAP)
;;
+ *djgpp)
+ AC_CHECK_HEADERS([float.h ieeefp.h inttypes.h locale.h \
+ memory.h stdint.h stdlib.h strings.h string.h unistd.h \
+ wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
+ sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h])
+ GLIBCXX_CHECK_COMPILER_FEATURES
+ GLIBCXX_CHECK_LINKER_FEATURES
+ GLIBCXX_CHECK_MATH_SUPPORT
+ GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
+ GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
+ GLIBCXX_CHECK_WCHAR_T_SUPPORT
+ GLIBCXX_CHECK_STDLIB_SUPPORT
+ GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
+ AC_DEFINE(HAVE_WRITEV)
+ ;;
+
*-freebsd*)
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
machine/endian.h machine/param.h sys/machine.h sys/types.h \