Date: Wed, 19 Feb 1997 13:25:20 -0700 (MST) From: David May To: Andy Eskilsson cc: djgpp AT delorie DOT com Subject: Re: Detecting djgpp before compiling. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 19 Feb 1997, Andy Eskilsson wrote: > I am messing around with bash and configure, porting python (check it > out! http://www.python.org) to msdos.. > python has been ported to DJGPP. I've got the patches that have to be applied to make it (which I will be happy to send to you - I don't remember where I got them from - saw an announcement on this list, actually, so you should be able to search for them using "python"). > Well one of the brick walls I banged my head to is stat, unfortunetaly > python doesn't use the constants defined in stat.h, but defines them > itself after 'de facto standard definitions' for example.. > > Python(UNIX) djgpp > S_IFDIR 0x4000 0x3000 > > (And no, I can't get python to use the constants in stat.h) Well one > solution to this problem would be to detect that I am using djgpp in > configure, either I compile somehing like #ifdef __djgpp__ retun 1 > #else return 0, or well is there any other solution? > > /Andy > David May ID Card Adminstrator Albuquerque TVI