configure.ac: fix --enable-reproducible-build to cope with update from libtool-2.4.6 to -2.4.7.

This commit is contained in:
Daniel Pouzzner
2022-03-29 07:53:43 -05:00
parent 194138f0b8
commit e9b941e16e

View File

@@ -376,7 +376,7 @@ then
fi fi
xxx_ranlib_flags=$(${RANLIB} --help 2>&1) xxx_ranlib_flags=$(${RANLIB} --help 2>&1)
AM_CFLAGS="$AM_CFLAGS -DHAVE_REPRODUCIBLE_BUILD" AM_CFLAGS="$AM_CFLAGS -DHAVE_REPRODUCIBLE_BUILD"
AS_CASE([$xxx_ar_flags],[*'use zero for timestamps and uids/gids'*],[AR_FLAGS="Dcr"]) AS_CASE([$xxx_ar_flags],[*'use zero for timestamps and uids/gids'*],[AR_FLAGS="Dcr" lt_ar_flags="Dcr"])
AS_CASE([$xxx_ranlib_flags],[*'Use zero for symbol map timestamp'*],[RANLIB="${RANLIB} -D"]) AS_CASE([$xxx_ranlib_flags],[*'Use zero for symbol map timestamp'*],[RANLIB="${RANLIB} -D"])
fi fi