diff options
author | Kleis Auke Wolthuizen <github@kleisauke.nl> | 2021-06-04 12:12:02 +0200 |
---|---|---|
committer | Kleis Auke Wolthuizen <github@kleisauke.nl> | 2021-06-04 12:14:11 +0200 |
commit | 45a7fea828e1fbaca3c11d1110eec65890231fd8 (patch) | |
tree | b40471981083c51a09e56323b2d9bbdba9cddaea /configure.ac | |
parent | 807809d7dd9b09c0380b71d5d5ebee3c1439ca99 (diff) | |
download | lcms2-45a7fea828e1fbaca3c11d1110eec65890231fd8.tar.gz |
Ensure threadsafe alternative of gmtime is used
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index eec188b..5e49b35 100644 --- a/configure.ac +++ b/configure.ac @@ -80,6 +80,9 @@ AX_APPEND_COMPILE_FLAGS(["-fvisibility=hidden"]) # Motorola and SPARC CPUs), define `WORDS_BIGENDIAN'. AC_C_BIGENDIAN +# Check for functions that some compilers lack (or name differently) +AC_CHECK_FUNCS([gmtime_r _gmtime64_s]) + # Point to JPEG installed in DIR or disable JPEG with --without-jpeg. AC_ARG_WITH(jpeg, AS_HELP_STRING([--with-jpeg=DIR],[use jpeg installed in DIR]), |