autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: AC_PROG_CC problems on Windows with MKS Shell


From: Tim Van Holder
Subject: RE: AC_PROG_CC problems on Windows with MKS Shell
Date: Wed, 17 Jan 2001 21:56:08 +0100

> > Lars> A better fix would be to have AC_PATH_PROG (or whichever macro
> > Lars> it is that searches for the compiler) to also consider implied
> > Lars> exe- extensions on systems that use them, and add the extension
> > Lars> to the returned program name.
> > 
> > The real good fix will be to use test -x IMHO.  This ought to work in
> > this case, right?
> 
> ...assuming that you don't use it w/o checking that it works.
> 
> (of course if it happens to not work on a platform where you need
> a exe-extension, then you've only wasted time).
As part of my DJGPP patches (still being refined), I made this a variable
(ac_test_f), which defaults to '-f'. Site files can then override this
(so systems like DOS or NT can simply put ac_test_f='-x' in their
config.site and get the behaviour they want).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]