fixed check for sstream and strstream
This commit is contained in:
parent
c26bfcde9c
commit
3eb9b1b912
1 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,13 @@ fi
|
||||||
dnl Check for system header files
|
dnl Check for system header files
|
||||||
AC_HEADER_STDC
|
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(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
|
AC_HEADER_TIME
|
||||||
|
|
||||||
dnl Check for existance of basename(), setlocale() and strftime()
|
dnl Check for existance of basename(), setlocale() and strftime()
|
||||||
|
|
Loading…
Reference in a new issue