AC_PROG_CC
AC_PROG_CPP
AC_GCC_TRADITIONAL
-AC_CONST
AC_PROG_INSTALL
AC_PROG_YACC
AC_AIX
AC_MINIX
AC_ISC_POSIX
+AC_CONST
AC_RETSIGTYPE
AC_SIZE_T
AC_MAJOR_HEADER
echo checking for BSD
( test -f /vmunix || test -f /sdmach || test -f /../../mach ) && AC_DEFINE(BSD42)
echo checking for HP-UX
-test -f /hp-ux && test ! -f /vmunix && MALLOC=malloc.o
+test "`(uname -s) 2> /dev/null`" = 'HP-UX' && MALLOC=malloc.o
AC_SUBST(MALLOC)
AC_XENIX_DIR
AC_HAVE_LIBRARY(socket, [LIBS="$LIBS -lsocket"])