fixed check for sstream and strstream
fluxgen fluxgen
1 files changed,
7 insertions(+),
0 deletions(-)
jump to
M
configure.in
→
configure.in
@@ -26,6 +26,13 @@
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()