On Sun, Jan 08, 2006 at 10:02:25AM -0800, Luigi Rizzo wrote:
> Followup to my previous message.. I am a bit ashamed to ask, but
> can whoever came up with the configure.ac file in openpbx
> contact me via email ?
>
> I am trying to fix the FreeBSD case, and i am not too
> confident about the configure.ac coming from svn.
>
> In particular, the os-check based on the ${host} variable fails on
> FreeBSD - a quick web search (see e.g.
>
> http://roo.no-ip.org/howtos/autoconf.php
>
> seems to suggest that os-specific tweaks should be done based on
> AC_CANONICAL_TARGET
> and resulting $target_os etc macros.
>
Target and host will be equal unless building a cross compilation tool or
similar. I think it's common to use AC_CANONICAL_HOST instead of
AC_CANONICAL_TARGET when configuring a application that doesn't generate
code.
http://sources.redhat.com/autobook/autobook/autobook_259.html#SEC259
/Mikael
_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev