SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.32
SCCS-vsn: usr.sbin/sendmail/src/conf.h 8.29
-static char sccsid[] = "@(#)conf.c 8.31 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c 8.32 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
int sig;
setsig_t handler;
{
int sig;
setsig_t handler;
{
-#if defined(SYS5SIGNALS) || defined(BSD4_3)
+#if defined(SYS5SIGNALS) || defined(BSD4_3) || defined(_AUX_SOURCE)
return signal(sig, handler);
#else
struct sigaction n, o;
return signal(sig, handler);
#else
struct sigaction n, o;
# if defined(IRIX) || defined(apollo) || defined(_SCO_unix_)
# include <sys/statfs.h>
# else
# if defined(IRIX) || defined(apollo) || defined(_SCO_unix_)
# include <sys/statfs.h>
# else
-# if (defined(sun) && !defined(BSD)) || defined(__hpux) || defined(_CONVEX_SOURCE) || defined(NeXT)
+# if (defined(sun) && !defined(BSD)) || defined(__hpux) || defined(_CONVEX_SOURCE) || defined(NeXT) || defined(_AUX_SOURCE)
# include <sys/vfs.h>
# else
# include <sys/mount.h>
# include <sys/vfs.h>
# else
# include <sys/mount.h>
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)conf.h 8.28 (Berkeley) %G%
+ * @(#)conf.h 8.29 (Berkeley) %G%
# include <sys/param.h>
# include <sys/stat.h>
# include <sys/param.h>
# include <sys/stat.h>
# include <fcntl.h>
# include <signal.h>
# include <fcntl.h>
# include <signal.h>
# define BSD 1 /* pretend to be BSD based today */
# undef NEEDVPRINTF 1 /* need a replacement for vprintf(3) */
# define NEEDGETOPT 1 /* need a replacement for getopt(3) */
# define BSD 1 /* pretend to be BSD based today */
# undef NEEDVPRINTF 1 /* need a replacement for vprintf(3) */
# define NEEDGETOPT 1 /* need a replacement for getopt(3) */
+# define HASUNSETENV 1 /* has unsetenv(3) call */
# ifndef LA_TYPE
# define LA_TYPE LA_FLOAT
# endif
# ifndef LA_TYPE
# define LA_TYPE LA_FLOAT
# endif
+/*
+** Apple A/UX 3.0
+*/
+
+#ifdef _AUX_SOURCE
+# define BSD /* has BSD routines */
+# define HASSTATFS 1 /* has the statfs(2) syscall */
+# define HASUNAME 1 /* use System V uname(2) system call */
+# define HASUSTAT 1 /* use System V ustat(2) syscall */
+# define HASSETVBUF 1 /* we have setvbuf(3) in libc */
+# define FORK fork
+# ifndef _PATH_SENDMAILCF
+# define _PATH_SENDMAILCF "/usr/lib/sendmail.cf"
+# endif
+# ifndef LA_TYPE
+# define LA_TYPE LA_ZERO
+# endif
+#endif
+
+
/**********************************************************************
** End of Per-Operating System defines
/**********************************************************************
** End of Per-Operating System defines
#define STDERR_FILENO 2
#endif
#define STDERR_FILENO 2
#endif
-#ifdef HASFLOCK
-# include <sys/file.h>
-#endif
-
#ifndef LOCK_SH
# define LOCK_SH 0x01 /* shared lock */
# define LOCK_EX 0x02 /* exclusive lock */
#ifndef LOCK_SH
# define LOCK_SH 0x01 /* shared lock */
# define LOCK_EX 0x02 /* exclusive lock */