mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: Bernhard Walle <bernhard@bwalle.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] sitecopy: Fix build on non-Linux hosts
Date: Wed, 18 Jan 2012 11:23:31 +0100	[thread overview]
Message-ID: <201201181123.31333.jbe@pengutronix.de> (raw)
In-Reply-To: <4F169A2D.9070404@bwalle.de>

Hi Bernhard,

Bernhard Walle wrote:
> Am 18.01.2012 11:05, schrieb Juergen Beisert:
> > Can you send me the "config.log" file of the sitecopy package, after
> > *preparing* (prepare stage) it? Please run it one times without your
> > patch shown above.
> > I have no other system than Linux here, to check what the autotools
> > really detecting on different systems.
>
> Will do in the evening,

Thanks.

> but as I remember, it was the '-no-cpp-precomp' 
> compiler flag that caused the compilation failure:
>
>
> (from configure:)
>
> if test "$ne_cv_os_uname" = "Darwin"; then
>   CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
>   LDFLAGS="$LDFLAGS -flat_namespace"
>   # poll has various issues in various Darwin releases
>   if test x${ac_cv_func_poll+set} != xset; then
>     ac_cv_func_poll=no
>   fi
> fi

The correct fix should be something like

  if test "$host_os" = "Darwin"; then

I guess.

Testing the "ne_cv_os_uname" variable is for the build host only.
But that's why I asked you for the 'config.log' file. I want to see what the 
autotools do on your system.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-01-18 10:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 20:27 Bernhard Walle
2012-01-18 10:05 ` Juergen Beisert
2012-01-18 10:08   ` Bernhard Walle
2012-01-18 10:23     ` Juergen Beisert [this message]
2012-01-19  7:25       ` Bernhard Walle
2012-01-19  9:17         ` Juergen Beisert
2012-01-19 18:23           ` Bernhard Walle
2012-01-22 10:49 ` Michael Olbrich
2012-01-22 12:59   ` Bernhard Walle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201201181123.31333.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox