| Submitter | Dave Korn |
|---|---|
| Date | Oct. 15, 2010, 11:11 p.m. |
| Message ID | <4CB8DF87.8020105@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/68006/ |
| State | New |
| Headers | show |
Comments
On 16/10/2010 00:11, Dave Korn wrote: > $ diff -pu configure.ac .cf > --- configure.ac 2010-10-14 05:10:03.359375000 +0100 > +++ .cf 2010-10-16 00:09:47.921875000 +0100 > @@ -1735,6 +1735,11 @@ then > fi > ;; > > + *,*-*-mingw*) > + if test "x$with_headers" = x; then > + with_headers=yes > + fi > + ;; > i?86-*-*,x86_64-*-* \ > | powerpc*-*-*,powerpc64*-*-*) > CROSS="$CROSS -DNATIVE_CROSS" ;; > > > which ought to be just the same as testing $target only. Yeah, actually that's too simplistic, it doesn't enable NATIVE_CROSS when it could do. By the time you added an extra clause for that case ... may as well stick to your original plan. cheers, DaveK
2010/10/16 Dave Korn <dave.korn.cygwin@gmail.com>: > On 16/10/2010 00:11, Dave Korn wrote: > >> $ diff -pu configure.ac .cf >> --- configure.ac 2010-10-14 05:10:03.359375000 +0100 >> +++ .cf 2010-10-16 00:09:47.921875000 +0100 >> @@ -1735,6 +1735,11 @@ then >> fi >> ;; >> >> + *,*-*-mingw*) >> + if test "x$with_headers" = x; then >> + with_headers=yes >> + fi >> + ;; >> i?86-*-*,x86_64-*-* \ >> | powerpc*-*-*,powerpc64*-*-*) >> CROSS="$CROSS -DNATIVE_CROSS" ;; >> >> >> which ought to be just the same as testing $target only. > > Yeah, actually that's too simplistic, it doesn't enable NATIVE_CROSS when it > could do. By the time you added an extra clause for that case ... may as well > stick to your original plan. > > cheers, > DaveK > > > Ok, applied patch at revision 165538. Thanks, Kai
Patch
--- configure.ac 2010-10-14 05:10:03.359375000 +0100 +++ .cf 2010-10-16 00:09:47.921875000 +0100 @@ -1735,6 +1735,11 @@ then fi ;; + *,*-*-mingw*) + if test "x$with_headers" = x; then + with_headers=yes + fi + ;; i?86-*-*,x86_64-*-* \ | powerpc*-*-*,powerpc64*-*-*) CROSS="$CROSS -DNATIVE_CROSS" ;;