dnl Switch to C++ mode and check for needed C++ headers
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADER(vector.h,,
AC_CHECK_HEADER(vector,,
AC_MSG_ERROR(You need to have the libstdc++ headers installed))
AC_LANG_RESTORE
AC_OUTPUT(
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <signal.h>
#include <climits>
#ifdef HAVE_ERRNO_H
#include <errno.h>
#else
extern int errno;
#endif
#include <sys/types.h>
#include <unistd.h>
#include <string.h>
msn_gcc_major_version=0
#include <sys/stat.h>
#include <fcntl.h>
#include "time-fix.h"