From 3eb9b1b912b6d1db160170075cf51597e64fd57a Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 17 Nov 2003 00:17:04 +0000 Subject: fixed check for sstream and strstream --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.in b/configure.in index 7af2c13..ac1b971 100644 --- a/configure.in +++ b/configure.in @@ -26,6 +26,13 @@ fi dnl Check for system header files AC_HEADER_STDC AC_CHECK_HEADERS(errno.h ctype.h dirent.h fcntl.h libgen.h locale.h nl_types.h process.h signal.h stdarg.h stdio.h time.h unistd.h sys/param.h sys/select.h sys/signal.h sys/stat.h sys/time.h sys/types.h sys/wait.h) + +AC_CHECK_HEADERS(sstream, , + [ AC_CHECK_HEADERS(strstream,, + [AC_MSG_ERROR([Your libstdc++ doesn't have the sstream or strstream classes])] + )] +) + AC_HEADER_TIME dnl Check for existance of basename(), setlocale() and strftime() -- cgit v0.11.2