Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-alt@g.o
From: Fabian Groffen <grobian@g.o>
Subject: Re: xvid on x86-macos?
Date: Tue, 3 Mar 2009 10:11:07 +0100
On 03-03-2009 02:29:21 -0600, Johan Hattne wrote:
> > Anyway, what is you host os version -- Tiger by chance? And the
> > corresponding error message would be nice to have (judging from the
> > patch I'd say missing _SC_NPROCESSORS_CONF).
> Yes, it is.  I don't have a Leopard yet.  Can't reproduce the exact
> error message at the moment, but you're right--_SC_NPROCESSORS_CONF
> isn't defined.

Tiger here as well.

> > About the patch: I would like to see the "#elif
> > defined(_SC_NPROCESSORS_CONF)" case in front of the self-coded one (i.e.
> > right after the _WIN32 case like before), since it's the xvid-default
> > and working on 10.5.
> Makes perfect sense to me. I wrongly assumed that you couldn't have
> __APPLE__ and __MACH__ and _SC_NPROCESSORS_CONF at the same time. Grobian?

Well, I found it a bit strange, but the best thing IMO would be to
configure check or #ifdef check for it.

Without configure-foo, probably something like

# if defined(__MACH__) || defined(__BSD__)
#  include <blah>
#  doit();
# else
#  error don't know how to get the number of processors, should Google for it
# endif

Fabian Groffen
Gentoo on a different level

xvid on x86-macos?
-- Johan Hattne
Re: xvid on x86-macos?
-- Heiko Przybyl
Re: xvid on x86-macos?
-- Johan Hattne
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: xvid on x86-macos?
Next by thread:
Re: gnulib.eclass implementation
Previous by date:
Re: xvid on x86-macos?
Next by date:
Re: gnulib.eclass implementation

Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.