Re: Patch to specify out-of-tree gdk-pixbuf-csource for cross compiling
- From: Sven Neumann <sven gimp org>
- To: Michael Natterer <mitch gimp org>
- Cc: Owen Taylor <otaylor redhat com>, gtk-devel-list gnome org
- Subject: Re: Patch to specify out-of-tree gdk-pixbuf-csource for cross compiling
- Date: 07 May 2002 18:51:45 +0200
Hi,
Michael Natterer <mitch gimp org> writes:
> Done. Unfortunately, I noticed that the stuff I did to the configure
> scripts won't work...
>
> What I did is:
>
> AM_CONDITIONAL(CROSS_COMPILING, test $build != $host)
>
> if test $CROSS_COMPILING; then
> (...)
>
>
> but CROSS_COMPILING expands to CROSS_COMPILING_TRUE and CROSS_COMPILING_FALSE
> in the generated configure...
>
> The following version would work but looks ugly...
>
> AM_CONDITIONAL(CROSS_COMPILING, test $build != $host)
>
> if test x$CROSS_COMPILING_FALSE = x; then
> (...)
what about something like this:
if test $build != $host; then
cross_compiling=yes
else
cross_compiling=no
fi
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
if test $cross_compiling = yes; then
...
fi
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]