summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2024-02-15 22:11:14 +0800
committerPo Lu <luangruo@yahoo.com>2024-02-15 22:13:04 +0800
commite058380324e462c234bb3407d504807f22d825b0 (patch)
tree6a47de50d03bef50d4c25188f37d3e3ec20bb8e9
parent3d6137116f6be8ee38f9f49c9811b97ef92e0e58 (diff)
downloademacs-e058380324e462c234bb3407d504807f22d825b0.tar.gz
Fix the MS-DOS build
* configure.ac (REQUIRE_GNUISH_STRFTIME_AM_PM): Move definition to... * src/conf_post.h (REQUIRE_GNUISH_STRFTIME_AM_PM): ...conf_post.h.
-rw-r--r--configure.ac2
-rw-r--r--src/conf_post.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c162f880e48..847fdbd54d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1566,8 +1566,6 @@ AC_DEFUN([gt_TYPE_WINT_T],
AC_DEFUN_ONCE([gl_STDLIB_H],
[AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
gl_NEXT_HEADERS([stdlib.h])])
-AC_DEFINE([REQUIRE_GNUISH_STRFTIME_AM_PM], [false],
- [Emacs does not need glibc strftime behavior for AM and PM indicators.])
# Initialize gnulib right after choosing the compiler.
dnl Amongst other things, this sets AR and ARFLAGS.
diff --git a/src/conf_post.h b/src/conf_post.h
index 83a0dd1b09b..f2353803074 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -471,3 +471,7 @@ extern int emacs_setenv_TZ (char const *);
#undef MB_CUR_MAX
#define MB_CUR_MAX REPLACEMENT_MB_CUR_MAX
#endif /* REPLACEMENT_MB_CUR_MAX */
+
+/* Emacs does not need glibc strftime behavior for AM and PM
+ indicators. */
+#define REQUIRE_GNUISH_STRFTIME_AM_PM false