Hal Murray via devel <devel@ntpsec.org>: > > The output from waf -v is full of crap like this: > > -DHAVE_STRUCT_TIMEX=1', '-DHAVE_STRUCT_NTPTIMEVAL=1', > '-DHAVE_STRUCT_TIMEX_MODES=1', '-DHAVE_STRUCT_NTPTIMEVAL_TAI=1', > '-DNTP_SIZEOF_LONG=4', '-DNTP_SIZEOF_TIME_T=4', '-DOPEN_BCAST_SOCKET=1', > '-DHAVE_OPENSSL_EVP_H=1', '-DHAVE_OPENSSL_RAND_H=1', > '-DHAVE_OPENSSL_OBJECTS_H=1', '-DHAVE__UNWIND_BACKTRACE=1', > '-DHAVE_ADJTIMEX=1', '-DHAVE_BACKTRACE_SYMBOLS_FD=1', > '-DHAVE_CLOCK_GETTIME=1', '-DHAVE_CLOCK_SETTIME=1', '-DHAVE_GETRUSAGE=1', > '-DHAVE_NTP_ADJTIME=1', '-DHAVE_NTP_GETTIME=1', '-DHAVE_RES_INIT=1', > '-DHAVE_SCHED_SETSCHEDULER=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_ALLOCA_H=1', > '-DHAVE_ARPA_NAMESER_H=1', '-DHAVE_IFADDRS_H=1', '-DHAVE_LINUX_IF_ADDR_H=1', > '-DHAVE_LINUX_RTNETLINK_H=1', '-DHAVE_LINUX_SERIAL_H=1', > '-DHAVE_NET_ROUTE_H=1', '-DHAVE_SEMAPHORE_H=1', '-DHAVE_STDATOMIC_H=1', > '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_SYS_SYSCTL_H=1', '-DHAVE_SYS_TIMEPPS_H=1', > '-DHAVE_SYS_TIMEX_H=1', '-DHAVE_PPSAPI=1', '-DENABLE_DROPROOT=1', > '-DENABLE_EARLY_DROPROOT=1', '-DHAVE_WORKING_FORK=1', '-DHAVE_KERNEL_PLL=1', > '-DNEED_REUSEADDR_FOR_IFADDRBI > > Most if not all of that is in config.h > > Is there a reason for also providing it on the command line?
waf doesn't know that config.h exists; this is its way to pass configuration switches. The fact that we generate a config.h is really legacy behavior from autoconf and could be eliminated, but it's low on my priority list. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel