Xref: utzoo comp.mail.elm:1066 comp.unix.wizards:14564 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!rutgers!psuvax1!vu-vlsi!dsinc!syd From: syd@dsinc.UUCP (Syd Weinstein) Newsgroups: comp.mail.elm,comp.unix.wizards Subject: How to tell if mail uses flock versus /name.lock Keywords: BSD, locking, mail Message-ID: <55@dsinc.UUCP> Date: 6 Feb 89 20:33:17 GMT Followup-To: comp.mail.elm Organization: Datacomp Systems, Inc., Huntingdon Valley, PA Lines: 22 In the 2.2 version of Elm, we are adding the ability to use the newer flock() style locking of the mailbox. However, this brings up a very important question. How can we tell, at compile time, which locking is use on a system. My desire is to make Configure automatically set the type of locking. But to do so, I need some way of telling. It can be the content of an include file, the presence or absence of a file, or the output of some simple c program or a system command. If I cannot find a way, I will have to ask the installer if their system uses flock. If I ask, I doubt if all installers will know the correct answer. If they get it wrong, they could loose a lot of mail. Please reply by email to syd@dsinc.UUCP and thanks for your help. -- ===================================================================== Sydney S. Weinstein, CDP, CCP Elm Coordinator Datacomp Systems, Inc. Voice: (215) 947-9900 {allegra,bpa,vu-vlsi}!dsinc!syd FAX: (215) 938-0235