From: Alex Schroeder Message-Id: <9609251027.AA86405@rzurs10.unizh.ch> Subject: Re: strncasecmp!? To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) Date: Wed, 25 Sep 1996 12:27:08 +0200 (MEST) Cc: alex AT zool DOT unizh DOT ch, djgpp AT delorie DOT com In-Reply-To: from "Eli Zaretskii" at Sep 25, 96 11:31:22 am Content-Type: text Content-Length: 1134 > In general, this is the whole purpose of auto-configuration tools, such > as GNU Autoconf. However, I doubt that you could easily implement such a > beast on MSDOS, at least not as a general-purpose program. So, in this > case, I suggest something like that: I see your point. At least this way I could control the compile from the makefile, and even provide a default. Since we are already at it, I'd like to ask another question: I tried something on my makefile which I took from your makefile in the faq sources ;) : ifdef COMSPEC DOS blah else other bla endif This code does not work on the AIX, but does with make on my PC. It more or less "separator character needed on line x" and aborts. Looking at the manpage I found no reference on 'ifdef'. Is there a way to make this work on other versions of make? (perhaps ifdef can only be used on GNU make?) The only solution I find to this problem is to use eg. RM = del and clean: $(RM) something.tmp Alex. -- Grobbl. Noggl ARGH! ARGH! Gabbl. Nagga Frk'Tkl Kpfzt. alex AT zool DOT unizh DOT ch. Znamifktzgck. A. Schroeder, Buelachstr. 1c, CH-8057 Zuerich, Switzerland.