From fb242fd70a2c6809b4163605841c8a5b9a26089a Mon Sep 17 00:00:00 2001 From: thib Date: Thu, 25 Dec 2003 22:50:37 +0000 Subject: [PATCH] SunOS compatibility : added a test to define O_SYNC if necessary SunOS compatibility : added a test for pam/pam_appl.h --- config.h.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/config.h.in b/config.h.in index 39927e9..dd0ec9e 100644 --- a/config.h.in +++ b/config.h.in @@ -1,7 +1,7 @@ /* * FCRON - periodic command scheduler * - * Copyright 2000-2002 Thibault Godouet + * Copyright 2000-2004 Thibault Godouet * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: config.h.in,v 1.48 2003-07-14 10:53:22 thib Exp $ */ + /* $Id: config.h.in,v 1.49 2003-12-25 22:50:37 thib Exp $ */ /* *********************************************************** */ @@ -193,6 +193,11 @@ /* special user for the system fcrontab */ #undef SYSFCRONTAB +/* some systems (*BSD, ...) use O_FSYNC instead of O_SYNC for open() */ +#ifndef O_SYNC +#define O_SYNC O_FSYNC +#endif + /* Define to empty if the keyword does not work. */ #undef const @@ -323,6 +328,9 @@ /* Define if you have the header file. */ #undef HAVE_NDIR_H +/* Define if you have the header file. */ +#undef HAVE_PAM_PAM_APPL_H + /* Define if you have . */ #undef HAVE_SHADOW_H -- 2.40.0