Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 11776 invoked by uid 500); 19 Apr 2001 07:00:59 -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 11570 invoked from network); 19 Apr 2001 07:00:57 -0000 Message-Id: <200104190701.DAA15771@melbourne-city-street.mit.edu> Date: Thu, 19 Apr 2001 00:00:51 -0700 From: Wilfredo Sanchez Content-Type: text/plain; format=flowed; charset=us-ascii Subject: Re: Clean up of DSO autoconfizification Cc: APR Developers To: Greg Stein X-Mailer: Apple Mail (2.387) In-Reply-To: <20010418154827.L31832@lyra.org> Mime-Version: 1.0 (Apple Message framework v387) Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Wednesday, April 18, 2001, at 03:48 PM, Greg Stein wrote: > I used an even cleaner solution in Python about a year and a half ago. > At > config time, I selected one of N files to compile and link in. Each > module > implemented a specific method. Yup. That's how perl does it as well. dynload_next.c should be dynload_dyld.c. :) Only snag I have with that is that although there are several #if foo things in dso.c, there is also a reasonably bit of shared code, and I think it's easier to make changes that effect all the implementations when you can see them all right there. But I can go either way on that. Anyway, I'll go ahead and commit. -Fred