Commit Graph

2 Commits

Author SHA1 Message Date
Zoltan Somogyi
0d7c8a7654 Specify pred or func for all pragmas.
*/*.m:
    As above.

configure.ac:
    Require the installed compiler to support this capability.
2021-06-16 15:23:58 +10:00
Peter Wang
bd7e672dec Replace MD4 implementation with MD5.
We used MD4 digests in the implementation of the `--track-flags'
feature. While there is no particular need to change, IIRC the only
reason I didn't use the more common MD5 algorithm is because I did not
know of a small portable implementation at the time.

compiler/md5.m:
compiler/Mercury.options:
    Add implementation of MD5 digest algorithm.
    The C code is public domain code, and apparently widely used.

compiler/md4.m:
    Delete this module.

compiler/libs.m:
    Include new module and delete old module.

compiler/make.m:
    Calculate MD5 digest for `.track_flags' files instead of MD4.
2021-06-05 13:15:19 +10:00