+1999-04-11 Nathan Bryant <bryant@cs.usm.maine.edu>
+ * configure.in: another OpenBSD fix. now it actually works.
+ * serv_chat.c: warning fix
+
Thu Apr 8 22:51:28 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* config.c: now requires a setup run for *any* rev level difference
* Updated docs & confs for 5.53b1 release
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
test -f /usr/local/include/gdbm.h && CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-AC_CHECK_HEADERS(curses.h fcntl.h limits.h termios.h strings.h sys/ioctl.h sys/select.h sys/time.h syslog.h unistd.h pthread.h gdbm.h utmp.h)
+AC_CHECK_HEADERS(curses.h fcntl.h limits.h termios.h strings.h sys/ioctl.h sys/select.h sys/time.h syslog.h unistd.h gdbm.h utmp.h)
+
+dnl some systems require -pthread, -D_REENTRANT, etc to be passed to cc if we
+dnl include pthread.h:
+save_CPPFLAGS=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $PTHREAD_DEFS"
+AC_CHECK_HEADERS(pthread.h)
+CPPFLAGS=$save_CPPFLAGS
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
fp = fopen(CC->temp, "wb");
fprintf(fp, "%c%c%c", 255, MES_NORMAL, 0);
fprintf(fp, "Psysop%c", 0);
- fprintf(fp, "T%ld%c", time(NULL), 0);
+ fprintf(fp, "T%ld%c", (long)time(NULL), 0);
fprintf(fp, "A%s%c", lun, 0);
fprintf(fp, "R%s%c", x_user, 0);
fprintf(fp, "O%s%c", config.c_logpages, 0);