Prevent intl/plural.c being regenerated when building included libintlamule-svn-r11066
commiteba0b7ac753680264a77b3dff12f82665ff180d4
authorupstream svn <svn@amule.org>
Fri, 16 Oct 2020 17:42:11 +0000 (16 17:42 +0000)
committerDévai Tamás <gonosztopi@amule.org>
Fri, 16 Oct 2020 19:00:47 +0000 (16 19:00 +0000)
tree3079838cdc0bb3f832370b45e15ab99d3323bed1
parent7744fca103ef84bcd9d92792e5afb5d3957d44b5
Prevent intl/plural.c being regenerated when building included libintl

The Makefile included with libintl contains a rule to regenerate plural.c from
plural.y if necessary (it's not necessary unless we'd develop gettext itself).
Extracting files from a tarball or autopoint copying them in alphabetical order
makes plural.c slightly older than plural.y (because 'c' comes before 'y') and
that triggers the regeneration rule in the Makefile. In most cases that causes
compilation errors.

Therefore we try our best to prevent it from being regenerated by setting the
last modification time of plural.c to the current time (which must already be
older than the last modification time of plural.y).
.svn-revision
configure
configure.ac