emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e058380324e: Fix the MS-DOS build


From: Po Lu
Subject: master e058380324e: Fix the MS-DOS build
Date: Thu, 15 Feb 2024 09:13:30 -0500 (EST)

branch: master
commit e058380324e462c234bb3407d504807f22d825b0
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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.
---
 configure.ac    | 2 --
 src/conf_post.h | 4 ++++
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]