Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 36586 invoked by uid 500); 26 Apr 2000 13:58:50 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 36575 invoked from network); 26 Apr 2000 13:58:49 -0000 Date: Wed, 26 Apr 2000 09:58:47 -0400 Message-Id: <200004261358.JAA11779@k5.localdomain> X-Authentication-Warning: k5.localdomain: trawick set sender to trawickj@bellsouth.net using -f From: Jeff Trawick To: new-httpd@apache.org In-reply-to: <200004260055.UAA09507@k5.localdomain> (message from Jeff Trawick on Tue, 25 Apr 2000 20:55:17 -0400) Subject: Re: auto configuration and full function prototypes Reply-to: trawickj@bellsouth.net References: <200004260055.UAA09507@k5.localdomain> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Greg Ames had the idea that I could first do a test to see if prototypes are broken, and if prototypes are broken then don't do any tests which depend on good prototypes. test for broken prototypes (and/or some compiler setting that allows the compile to succeed when an incorrect argument list is provided): #include void main(void) { char buf[1]; strcpy(buf,buf,buf,buf,buf,buf); } If it compiles, set ARG_CHECKING_IS_BROKEN. In subsequent tests that don't work properly with broken system prototypes, make sure the compile will work when ARG_CHECKING_IS_BROKEN is defined. -- Jeff Trawick | trawick@ibm.net | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...