You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
537 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -26,7 +26,11 @@ VIPS_MAJOR_VERSION=vips_major_version()
  4. VIPS_MINOR_VERSION=vips_minor_version()
  5. VIPS_MICRO_VERSION=vips_micro_version()
  6. VIPS_VERSION=vips_version()
  7. -VIPS_VERSION_STRING="$VIPS_VERSION-$(date -u -r $srcdir/ChangeLog)"
  8. +if test "x$SOURCE_DATE_EPOCH" = "x"; then
  9. + VIPS_VERSION_STRING=$VIPS_VERSION-`date -u -r ChangeLog`
  10. +else
  11. + VIPS_VERSION_STRING=$VIPS_VERSION-`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`
  12. +fi
  13. # packages add to these as we find them
  14. VIPS_CFLAGS=""