On 2000-Feb-02 19:07:10 +1100, Bruce Evans <[EMAIL PROTECTED]> wrote:
>On Wed, 2 Feb 2000, Ollivier Robert wrote:
>> Wouldn't work. Autoconf finds the sched_* functions regardless of their
>> presence in the kernel config. file. Autoconf is a compile-time utility
>> whereas we'd need something more sophisticated to get this right.
>
>ntp would work if it were configured POSIXly.  autoconf cannot work.

Autoconf has the ability to build and execute test code, so autoconf
can determine the presence (or otherwise) of optional kernel features
in the build machine.  It (obviously) can't determine the runtime
feature set (but this is a generic cross-building problem).

IMHO, ntp should be configured to use POSIX extensions on the i386.
P1003_1B and _KPOSIX_PRIORITY_SCHEDULING are enabled in the GENERIC
i386 kernel (as of 2 weeks ago), so standard utilities should be free
to use it.  If the running kernel doesn't support P1003.1b, then ntpd
detects it at run-time, logs the fact and works around it.  The
sysadmin can chose to enable P1003.1b, rebuild ntp without P1003.1b or
ignore the messages.

The situation might be slightly different on the Alpha since it's not
clear to me whether P1003_1B is supported on the Alpha or not (it's
not mentioned in Alpha GENERIC, though all the code implementing
_KPOSIX_PRIORITY_SCHEDULING seems to be machine-independent).

Peter


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to