Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 53778 invoked by uid 500); 14 Nov 2000 19:48:31 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 53740 invoked from network); 14 Nov 2000 19:48:31 -0000 X-Authentication-Warning: adsl-77-241-65.rdu.bellsouth.net: trawick set sender to trawickj@bellsouth.net using -f Sender: trawick@bellsouth.net To: new-httpd@apache.org Subject: Re: architecture-specific directories References: From: Jeff Trawick Date: 14 Nov 2000 14:46:00 -0500 In-Reply-To: rbb@covalent.net's message of "Tue, 14 Nov 2000 11:09:32 -0800 (PST)" Message-ID: Lines: 35 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N rbb@covalent.net writes: > This is a dependancy issue. Just change the dependancy to be > unix/networkio.h or run make depend in that directory. The problem is > happening because the dependancies were created on a unix box, where OSDIR > == DEFAULT_OSDIR. If you re-run the dependancies on a 390 box and commit > the changes this will go away and things will still work on Unix. The auto dependency generation only works with gcc, which I don't have on OS/390. Maybe the dependencies should be generated by this code, where I reversed the order of checking for DEFOSDIR vs OSDIR so that DEFOSDIR is preferred: cp Makefile.in Makefile.in.bak \ && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \ && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ && sed -e '1,$$s: $(DEFOSDIR)/: $$(DEFOSDIR)/:g' \ -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' \ -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' Makefile.new \ > Makefile.in \ && rm Makefile.new But this, like hand-editing I believe, assumes that the default OS dir is unix for any platform that uses this code. I really appreciate your help! I'm just a bit tired of staring at makefiles :) -- Jeff Trawick | trawick@ibm.net | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...