Re: automatic cross compiler search patch

2000-05-24 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> So, how about setting both of host and host_alias from the Alexandre> command-line arguments, just for the sake of backward Alexandre> compatibility? We should still recommend the use of Alexandre> *_alias before AC_CANO

Re: acgeneral.m4 & unsupported case patterns

2000-05-24 Thread Akim Demaille
> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: Akim>expr has a bad reputation Paul> Its syntax is awkward -- was that what you were thinking about? Nope, I was referring to the portability. And precisely about the syntax, is `match string expr' portable? Paul> expr is already men

Re: automatic cross compiler search patch

2000-05-24 Thread Alexandre Oliva
On May 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > I'll try to setup the AU_DEFUN trick later, in a different patch. Ok > I'll apply this one with host=host_alias etc. at the end of the option > handling. Thanks, -- Alexandre OlivaEnjoy GuaranĂ¡, see http://www.ic.unicamp.br/~oli

Re: acgeneral.m4 & unsupported case patterns

2000-05-24 Thread Earnie Boyd
--- Akim Demaille <[EMAIL PROTECTED]> wrote: -8<- > BTW, what is the right spelling? > Built-in, builtin, built in. What is the plural? > My 1963 Webster's Dictionary says that it's built-in and an adjective which means that it's not a noun so therefore doesn't have a plural. It would be built

Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Akim Demaille
Currently to find out if we are under one of these environments configure runs a compilation, typically to see if __CYGWIN__ is defined etc. Can't we do this kind of checks *without* compiling? IIUC correctly, for Autoconf to be really DJGPP aware, we'd need to change things which do not depend

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Eli Zaretskii
On 24 May 2000, Akim Demaille wrote: > Currently to find out if we are under one of these environments > configure runs a compilation, typically to see if __CYGWIN__ is > defined etc. > > Can't we do this kind of checks *without* compiling? For DJGPP, you can look for the variable DJDIR in the

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Earnie Boyd
--- Akim Demaille <[EMAIL PROTECTED]> wrote: > > Currently to find out if we are under one of these environments > configure runs a compilation, typically to see if __CYGWIN__ is > defined etc. > > Can't we do this kind of checks *without* compiling? IIUC correctly, > for Autoconf to be really

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Eli Zaretskii
On Wed, 24 May 2000, Earnie Boyd wrote: > Cygwin comes with uname which reports: > CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown > > For MinGW I have a uname hack which reports: > MINGW_WinNT DU147636 3 0 i686 unknown Sounds a bit dangerous to me: what if someone uses

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Alexandre Oliva
On May 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > Anybody would have solutions to provide? How about something like (totally untested): if (cd c:\\ && cd .. && test `pwd` = "C:\\") 2> /dev/null -- Alexandre OlivaEnjoy GuaranĂ¡, see http://www.ic.unicamp.br/~oliva/ Cygnus Solution

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Earnie Boyd
--- Eli Zaretskii <[EMAIL PROTECTED]> wrote: > > On Wed, 24 May 2000, Earnie Boyd wrote: > > > Cygwin comes with uname which reports: > > CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown > > > > For MinGW I have a uname hack which reports: > > MINGW_WinNT DU147636 3 0 i6

Re: acgeneral.m4 & unsupported case patterns

2000-05-24 Thread Felix Lee
Akim Demaille <[EMAIL PROTECTED]> wrote: > BTW, what is the right spelling? > Built-in, builtin, built in. What is the plural? www.m-w.com says 'built-in'. elision of hyphens is typical in language evolution, so 'builtin' may eventually become 'normal' english. no special plural noted for the

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Earnie Boyd
--- Alexandre Oliva <[EMAIL PROTECTED]> wrote: > On May 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > > > Anybody would have solutions to provide? > > How about something like (totally untested): > > if (cd c:\\ && cd .. && test `pwd` = "C:\\") 2> /dev/null > NO!! That is shell depend

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Alexandre Oliva
On May 24, 2000, Earnie Boyd <[EMAIL PROTECTED]> wrote: > --- Alexandre Oliva <[EMAIL PROTECTED]> wrote: >> On May 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >> >> > Anybody would have solutions to provide? >> How about something like (totally untested): >> if (cd c:\\ && cd .. && test

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Eli Zaretskii
On 24 May 2000, Alexandre Oliva wrote: > How about something like (totally untested): > > if (cd c:\\ && cd .. && test `pwd` = "C:\\") 2> /dev/null This should work with any DOS/Windows environment, it's not specific to any of the three (DJGPP, Mingw, or Cygwin). So it cannot reliably disti

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Earnie Boyd
BTW, since your supporting MinGW, the IFS value when searching the PATH needs to be ';' instead of ':'. Cheers, = --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimali

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Eli Zaretskii
On Wed, 24 May 2000, Earnie Boyd wrote: > > > Cygwin comes with uname which reports: > > > CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown > > > > > > For MinGW I have a uname hack which reports: > > > MINGW_WinNT DU147636 3 0 i686 unknown > > > > Sounds a bit dangerous

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Earnie Boyd
--- Alexandre Oliva <[EMAIL PROTECTED]> wrote: > On May 24, 2000, Earnie Boyd <[EMAIL PROTECTED]> wrote: > > > --- Alexandre Oliva <[EMAIL PROTECTED]> wrote: > >> On May 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > >> > >> > Anybody would have solutions to provide? > > >> How about some

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Earnie Boyd
--- Eli Zaretskii <[EMAIL PROTECTED]> wrote: > > On Wed, 24 May 2000, Earnie Boyd wrote: > > > > > Cygwin comes with uname which reports: > > > > CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown > > > > > > > > For MinGW I have a uname hack which reports: > > > > MINGW_Wi

Re: autoconf-1.4

2000-05-24 Thread Gordon Matzigkeit
> Emmanuel Dreyfus writes: ED> I need to get autoconf-1.4. Because this release is rather ED> old, I can't find it anymore on the Internet. Getting it from the ED> CVS is therefore my idea, but I can't figure out what tag should ED> I checkout. Please help! That's something that only the

Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2

2000-05-24 Thread Felix Lee
Alexandre Oliva <[EMAIL PROTECTED]>: > if (cd c:\\ && cd .. && test `pwd` = "C:\\") 2> /dev/null there doesn't have to be a c:. I've seen a system where the only disk is a hard drive named a:. --