@@ -44,6 +44,8 @@ AC_VPRINTF
AC_ALLOCA
echo checking for BSD
test -f /vmunix && AC_DEFINE(BSD42)
-
+echo checking for HP-UX
+test -f /hp-ux && test -f /vmunix || MALLOC=malloc.o
+AC_SUBST(MALLOC)
AC_XENIX_DIR
AC_OUTPUT(Makefile)