I answered my own question. The code works correctly, I needed to run "autoreconf" and then "configure" to see the change in the generated config.h file
--- On Tue, 5/26/09, [email protected] <[email protected]> wrote: From: [email protected] <[email protected]> Subject: disabling USE_UDP_SIGPOLL for an additional OS To: [email protected] Date: Tuesday, May 26, 2009, 6:16 PM 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 _______________________________________________ questions mailing list [email protected] https://lists.ntp.org/mailman/listinfo/questions
