will find the correct default for the system.
bk: 4e303f0eunTAyUYCk-vKlfiE1tJcxg
* [Bug 1975] from 4.2.6p4-RC2: libntp/mktime.c won't work with 64-bit
time_t
* [Bug 1976] genLocInfo writes to srcdir break 'make distcheck'.
+* Do not force "legacy" when --with-locfile is not given, genLocInfo
+ will find the correct default for the system.
(4.2.7p196) 2011/07/27 Released by Harlan Stenn <stenn@ntp.org>
* DEFAULT INSTALLATION DIRECTORY CHANGES ON SOME OSes: to get the old
behavior, pass --with-locfile=legacy to 'configure'
[os-specific or "legacy"]
)],
[],
- [with_locfile=legacy]
+ [with_locfile=no]
)
-( SENTINEL_DIR="$PWD" && \
- cd $srcdir/$1 && \
- scripts/genLocInfo -f "$with_locfile" -d "$SENTINEL_DIR" ) > genLocInfo.i 2> genLocInfo.err
+( \
+ SENTINEL_DIR="$PWD" && \
+ cd $srcdir/$1 && \
+ case "$with_locfile" in \
+ yes|no|'') \
+ scripts/genLocInfo -d "$SENTINEL_DIR" \
+ ;; \
+ *) \
+ scripts/genLocInfo -d "$SENTINEL_DIR" -f "$with_locfile" \
+ ;; \
+ esac \
+) > genLocInfo.i 2> genLocInfo.err
. ./genLocInfo.i
case "$GENLOCINFO" in