[Privoxy-devel] new windows build system
Fabian Keil
fk at fabiankeil.de
Mon May 2 10:56:47 UTC 2016
Lee <ler762 at gmail.com> wrote:
> On 4/30/16, Fabian Keil <fk at fabiankeil.de> wrote:
> > Lee <ler762 at gmail.com> wrote:
> >
> >> On 4/28/16, Fabian Keil <fk at fabiankeil.de> wrote:
> >> > Lee <ler762 at gmail.com> wrote:
> >> >> and replacing AC_CANONICAL_HOST with AC_CANONICAL_SYSTEM in
> >> >> configure.in
> >> >
> >> > Did you try adding AC_CANONICAL_SYSTEM without removing
> >> > AC_CANONICAL_HOST?
> >>
> >> I don't remember if I tried it after updating config.guess &
> >> config.sub or not. And it turns out I shouldn't be using
> >> AC_CANONICAL_SYSTEM anyway - see
> >> https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
> >>
> >> *sigh* I need to keep better notes. What I added was
> >> AC_CONFIG_HEADER([config.h])
> >> dnl LR * AC_CANONICAL_HOST
> >> dnl LR * ac-canonical-host does not set up a compiler toolchain
> >> dnl LR * as in, it does not support cross-compiling???
> >>
> >> and I don't remember where I got the idea it doesn't set up a compiler
> >> toolchain.
> >
> > Does this mean the autoconf goo works as is?
>
> Yes - see attached. I've had too much weirdness with make not
> realizing something needs to be done that I did this from the 3.0.24
> source tarball to make sure there were no "leftovers" from previous
> attempts.
>
> For whatever it's worth, I'm _positive_ the cross-compiler build
> didn't work until I updated config.guess & config.sub; dunno what
> changed so that it works now. *sigh*
>
> & I guess it's not relevant now, but take a look at
> https://www.gnu.org/software/autoconf/manual/autoconf-2.66/html_node/Canonicalizing.html#Canonicalizing
>
> A cross-compiler toolchain doesn't "need to recognize some special
> environments based on their system type" ??
Not all toolchains rely on autoconf to get that information.
BTW, I'm not opposed to adding stuff to configure.in if it helps
with the cross-compilation, but I'm cautious about replacing stuff
with other stuff if the impact on other platforms is unclear.
Adding AC_CANONICAL_SYSTEM doesn't seem risky to me,
but using it as replacement for AC_CANONICAL_HOST
seemed strange as they aren't equivalent.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20160502/7ccb62ed/attachment.bin>
More information about the Privoxy-devel
mailing list