]> granicus.if.org Git - fcron/commitdiff
SunOS compatibility : added a test to define O_SYNC if necessary
authorthib <thib>
Thu, 25 Dec 2003 22:50:37 +0000 (22:50 +0000)
committerthib <thib>
Thu, 25 Dec 2003 22:50:37 +0000 (22:50 +0000)
SunOS compatibility : added a test for pam/pam_appl.h

config.h.in

index 39927e949942437591c3a59d0784ad5cc0f6880b..dd0ec9e33b40f5bc66ff8b6b7387e47ad03c6268 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * FCRON - periodic command scheduler 
  *
- *  Copyright 2000-2002 Thibault Godouet <fcron@free.fr>
+ *  Copyright 2000-2004 Thibault Godouet <fcron@free.fr>
  *
  *  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 $ */
 
 
 /* *********************************************************** */
 /* 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
 
 /* Define if you have the <ndir.h> header file.  */
 #undef HAVE_NDIR_H
 
+/* Define if you have the <pam/pam_appl.h> header file.  */
+#undef HAVE_PAM_PAM_APPL_H
+
 /* Define if you have <shadow.h>.  */
 #undef HAVE_SHADOW_H