Correct configure.ac test and bump cache version to flush bad results.
Silence gcc format-truncation warning in refclock_leitch.c.
bk: 640ee3ceL_BmcdF25-OgmN5ARDl0SA
# the date YYYYMMDD optionally with -HHMM if there is more than one
# bump in a day.
-ntp_configure_cache_version=20120806
+ntp_configure_cache_version=20230313
# When the cache version of config.cache and configure do not
# match, NTP_CACHEVERSION will flush the cache.
struct nlist n;
n.n_un.n_name = 0;
]]
- )]
+ )],
[ntp_cv_struct_nlist_n_un=yes],
[ntp_cv_struct_nlist_n_un=no]
)]
version.c: $(ntpd_OBJECTS) ../libntp/libntp.a @LIBPARSE@ Makefile $(top_srcdir)/sntp/scm-rev
env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpd
-version.o: version.c
- env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o
-
$(srcdir)/Makefile.am:
@: do-nothing
{
struct leitchunit *leitch;
int fd232;
- char leitchdev[20];
+ char leitchdev[32];
/*
* Check configuration info.
version.c: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/sntp/scm-rev
env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpdate
-version.o: version.c
- env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o
-
include $(top_srcdir)/bincheck.mf
include $(top_srcdir)/check-libntp.mf
include $(top_srcdir)/depsver.mf
version.c: $(ntpdc_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/sntp/scm-rev
env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpdc
-version.o: version.c
- env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o
-
# I ran nl_in.c (attached, to be installed into ntpdc) through
# $(CC) -E nl_in.c | nl.pl > nl.c
nl.c: nl_in.c nl.pl Makefile.am ../config.h ../include/ntp_request.h ntpdc.h
version.c: $(ntpq_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/sntp/scm-rev
env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpq
-version.o: version.c
- env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o
-
include $(top_srcdir)/bincheck.mf
include $(top_srcdir)/check-libopts.mf
include $(top_srcdir)/check-libntp.mf
version.c: $(sntp_OBJECTS) ../libntp/libntp.a Makefile $(srcdir)/scm-rev
env CSET=`cat $(srcdir)/scm-rev` $(top_builddir)/../scripts/build/mkver sntp
-version.o: version.c
- env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o
-
check-autogen-version.def: FRC
@cd $(srcdir) \
&& test -r ../include/autogen-version.def \
version.c: $(ntp_keygen_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/sntp/scm-rev
env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntp-keygen
-version.o: version.c
- env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o
-
include $(top_srcdir)/bincheck.mf
include $(top_srcdir)/check-libntp.mf
include $(top_srcdir)/check-libopts.mf