Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 85537 invoked by uid 500); 4 Jun 2001 15:32:55 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 85515 invoked from network); 4 Jun 2001 15:32:52 -0000 From: "Victor J. Orlikowski" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15131.43556.191076.244246@critterling.garfield.home> Date: Mon, 4 Jun 2001 11:32:52 -0400 To: Jeff Trawick Cc: dev@apr.apache.org Subject: Re: cvs commit: apr configure.in In-Reply-To: References: <20010601025832.49851.qmail@apache.org> X-Mailer: VM 6.92 under Emacs 20.7.1 Reply-To: v.j.orlikowski@gte.net X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > this is glibc-specific, not Linux-specific, right? Yes. > Why are we turning on _BSD_SOURCE and _SVID_SOURCE here? What do they > have to do with pthread_rwlock_t? Only _XOPEN_SOURCE=500 is needed > for pthread_rwlock_t IIRC. _BSD_SOURCE is related to the combination > of _XOPEN_SOURCE=500 and either S_ISLINK or S_ISSOCK. I forget what > _SVID_SOURCE is for. > We need to turn on _BSD_SOURCE and _SVID_SOURCE, since they are normally on by default in glibc (check /usr/include/features.h), but setting _XOPEN_SOURCE=500 turns them off. Victor -- Victor J. Orlikowski ====================== v.j.orlikowski@gte.net orlikowski@apache.org vjo@us.ibm.com