aboutsummaryrefslogtreecommitdiff
path: root/libgcobol/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libgcobol/configure.ac')
-rw-r--r--libgcobol/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgcobol/configure.ac b/libgcobol/configure.ac
index a1e9513..4bb6905 100644
--- a/libgcobol/configure.ac
+++ b/libgcobol/configure.ac
@@ -231,6 +231,9 @@ elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
fi
LIBGCOBOL_CHECK_FLOAT128
+# struct tm tm_zone is a POSIX.1-2024 addition.
+AC_CHECK_MEMBERS([struct tm.tm_zone],,,[#include <time.h>])
+
if test "${multilib}" = "yes"; then
multilib_arg="--enable-multilib"
else