Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-19 Thread Lars J. Aas
On Fri, Jan 19, 2001 at 08:41:46PM +0100, Tim Van Holder wrote: : As I'm an avid Emacs user (vi users: eat my shorts ;-P), I'd have used We just started a programming language war in the autopackage thread, and then you post "emacs is bigger than vi"? Wait till it's your turn... Lars J -- In

RE: AC_PROG_CC problems on Windows with MKS Shell

2001-01-19 Thread Tim Van Holder
> In lisp/scheme, you name predicates e.g. "is-integer?" or just "integer?". > The C convention is for Guile to use names like SCM_INTEGER_P(value) > where _P means it is a predicate. I don't think _P is something we > should use, and using "?" means changing the m4 word syntax, so it's > probabl

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-19 Thread Lars J. Aas
On Fri, Jan 19, 2001 at 04:19:24PM +0100, Akim Demaille wrote: : > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: : Lars> No, you got the idea, except *_IF() isn't good since it's a : Lars> predicate that "evaluates" to true or false, not a macro that : Lars> has IF and IF-NOT arguments to r

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-19 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> No, you got the idea, except *_IF() isn't good since it's a Lars> predicate that "evaluates" to true or false, not a macro that Lars> has IF and IF-NOT arguments to run depending on a test... I'm not sure what sense you'd give to true

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-19 Thread Lars J. Aas
On Fri, Jan 19, 2001 at 03:15:02PM +0100, Akim Demaille wrote: : Lars> I think I would prefer it if we used verbose names instead of : Lars> _X, _E, etc. then. Maybe also drop "TEST" and mark the macro : Lars> name as a predicate in some other way. I'd also consider : Lars> including FILE / DIR

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-19 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> These will of course be part of the "autoshell" API that comes Lars> with Autoconf, and not be just for internal use? Right. M4sh, pronounced Mash. Lars> I think I would prefer it if we used verbose names instead of Lars> _X, _E, e

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-19 Thread Lars J. Aas
On Thu, Jan 18, 2001 at 02:50:41PM +0100, Akim Demaille wrote: : I changed my mind :) I now favor this choice, but it has to be : implemented in M4sh, not Autoconf. Something like what was done for : AS_DIRNAME. : : AS_TEST_X(FILE) ? I'd say so. Lars? These will of course be part of the "aut

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-18 Thread Akim Demaille
> "Tim" == Tim Van Holder <[EMAIL PROTECTED]> writes: Tim> As part of my DJGPP patches (still being refined), I made this a Tim> variable (ac_test_f), which defaults to '-f'. Site files can then Tim> override this (so systems like DOS or NT can simply put Tim> ac_test_f='-x' in their config.s

RE: AC_PROG_CC problems on Windows with MKS Shell

2001-01-17 Thread Tim Van Holder
> > 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

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-17 Thread Thomas Dickey
On Wed, Jan 17, 2001 at 10:13:58AM +0100, Akim Demaille wrote: > > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: > > 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 system

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-17 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: 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

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-13 Thread Lars J. Aas
On Fri, Jan 12, 2001 at 03:25:50PM -0800, Wan-Teh Chang wrote: : "Lars J. Aas" wrote: : > : > On Thu, Jan 11, 2001 at 10:37:01AM -0800, Wan-Teh Chang wrote: : > : I am trying to use autoconf on Windows with the : > : MKS Toolkit, which consists of a Korn shell and : > : the usual Unix utilities.

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-12 Thread Thomas Dickey
On Fri, Jan 12, 2001 at 03:25:50PM -0800, Wan-Teh Chang wrote: > "Lars J. Aas" wrote: > > > > On Thu, Jan 11, 2001 at 10:37:01AM -0800, Wan-Teh Chang wrote: > > : I am trying to use autoconf on Windows with the > > : MKS Toolkit, which consists of a Korn shell and > > : the usual Unix utilities.

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-12 Thread Wan-Teh Chang
"Lars J. Aas" wrote: > > On Thu, Jan 11, 2001 at 10:37:01AM -0800, Wan-Teh Chang wrote: > : I am trying to use autoconf on Windows with the > : MKS Toolkit, which consists of a Korn shell and > : the usual Unix utilities. > > Woopie doo, yet another Windows environment :) Well, isn't this exact

Re: AC_PROG_CC problems on Windows with MKS Shell

2001-01-12 Thread Lars J. Aas
On Thu, Jan 11, 2001 at 10:37:01AM -0800, Wan-Teh Chang wrote: : I am trying to use autoconf on Windows with the : MKS Toolkit, which consists of a Korn shell and : the usual Unix utilities. Woopie doo, yet another Windows environment :) [...] : Now the fun part. AC_PROG_CC fails for me for : t

AC_PROG_CC problems on Windows with MKS Shell

2001-01-11 Thread Wan-Teh Chang
I am trying to use autoconf on Windows with the MKS Toolkit, which consists of a Korn shell and the usual Unix utilities. I first had to modify config.guess and config.sub to recognize the output of the 'uname' command of MKS. Currently, config.guess and config.sub seem to only recognize Cygwin