+1999-04-07 Nathan Bryant <bryant@cs.usm.maine.edu>
+ * configure.in: updated help messages, OpenBSD support
+ * setup.c: if /etc/inittab doesn't exist, don't ask to create an entry
+ in it
+
1999-04-06 Nathan Bryant <bryant@cs.usm.maine.edu>
* Makefile.in, configure.in, getutline.c, sysdep.c:
fixes/bug workarounds for FreeBSD
AC_ARG_ENABLE(autologin, [ --disable-autologin disable autologin (default is enabled if possible)])
AC_ARG_ENABLE(chkpwd, [ --enable-chkpwd build 'chkpwd' (use this if you have shadow passwords)])
-AC_ARG_WITH(pam, [ --with-pam use PAM if present])
+AC_ARG_WITH(pam, [ --with-pam use PAM if present (see PAM.txt before you try this)])
+AC_ARG_WITH(kthread, [ --with-kthread use kernel threads (on FreeBSD) (not recommended yet)])
dnl By default, we only build the client (citadel and whobbs) unless we can
dnl figure out how to build with POSIX threads.
;;
dnl FreeBSD is similar to Digital UNIX:
*-*-freebsd*)
- AC_ARG_WITH(kthread, [ --with-kthread use kernel threads, not user])
if test "$with_kthread" = yes; then
SERVER_LDFLAGS=-kthread
else
check_pthread=no
PTHREAD_DEFS=-D_THREAD_SAFE
;;
+ *-*-openbsd*)
+ SERVER_LDFLAGS=-pthread
+ check_pthread=no
+ PTHREAD_DEFS=-pthread
+ ;;
*-*-cygwin32)
SUFFIX=.exe
;;
*/
infp = fopen("/etc/inittab", "r");
if (infp == NULL) {
- display_error(strerror(errno));
+ return;
}
else {
while (fgets(buf, 256, infp) != NULL) {