[ntp:questions] disabling USE_UDP_SIGPOLL for an additional OS
loretta_1958 at yahoo.com
loretta_1958 at yahoo.com
Wed May 27 01:16:55 UTC 2009
I am porting ntp to LynxOS, and got an error upon attempting to start ntpd: init_socket_sig:ioctl(I_SET_SIG, S_INPUT) failed
I see that bug 1131 addressed this for another OS. I have verified by updating the config.h file, that removing the #define USE_UDP_SIGPOLL 1, will take care of the problem. What I haven't been able to determine is how to update the configure.ac file to remove this define.
I thought the change below would take care of it, but it did not.
I am invoking configure as follows: ./configure --host i386-elf-lynxos . . .
--------------------------
AC_CACHE_CHECK(if we can use SIGPOLL for UDP I/O, ac_cv_var_use_udp_sigpoll,
[ans=no
case "$ac_cv_hdr_def_sigpoll" in
yes)
case "$host" in
mips-sgi-irix*)
ans=no
;;
vax-dec-bsd)
ans=no
;;
*-pc-cygwin*)
ans=no
;;
*-sni-sysv*)
ans=no
;;
*-*-aix[[45]]*)
ans=no
;;
*-*-hpux*)
ans=no
;;
*-*-linux*)
ans=no
;;
*-*-lynxos*)
ans=no
;;
*-*-osf*)
ans=no
;;
*-*-qnx*)
ans=no
;;
*-*-sunos*)
ans=no
;;
*-*-ultrix*)
ans=no
;;
*-*-unicosmp*)
ans=no
;;
*) ans=yes
;;
esac
;;
esac
ac_cv_var_use_udp_sigpoll=$ans])
case "$ac_cv_var_use_udp_sigpoll" in
yes) AC_DEFINE(USE_UDP_SIGPOLL, 1, [Can we use SIGPOLL for UDP?]) ;;
esac
--
Thanks,
Loretta
More information about the questions
mailing list