This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Joachim, All, On Sunday 10 May 2009 16:30:41 Joachim Nilsson wrote: > I run Ubuntu, a Debian GNU/Linux derivative. Debian has a policy about > /bin/sh scripts that basically states that any such script be POSIX > compatible. To further complicate matters /bin/sh is by default /bin/dash > (Debian Almquist SHell) <rant> Better known as the "Deffective Annoying SHell". :-) </rant> > and it is rather picky about its syntax. No it is not picky. It is simply POSIX compliant, with no extensions (*). > With the new, very neat, configure check for libncurses the configure > script no longer runs on Debian or Ubuntu default installations. It > seems to boil down to the use of variable expansion in the following line: > lib="$( echo lib{ncursesw,ncurses,curses}.{so,a,dylib} )" Oh, that's not POSIX? Damned. Bashism again... :-( > Is it possible we could change the configure script to use /bin/bash > instead of /bin/sh? I think that solution would be the best in the > long run. No. ./configure *shall* be a POSIX compliant script. The real solution is to fix ./configure to use POSIX-only syntax. I can do that, but I would appreciate a patch ;-) Regards, Yann E. MORIN. (*) In fact, there might be non-POSIX extensions in dash, but dash is not incorporating every existing bashisms. YEM. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ | | --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |