From: Paul Eggert <eggert@cs.ucla.edu>
To: Emacs Development <emacs-devel@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>
Subject: HAVE_FTIME, src/m/vax.h, and src/m in general
Date: Sat, 19 May 2012 02:01:44 -0700 [thread overview]
Message-ID: <4FB76178.2030504@cs.ucla.edu> (raw)
I noticed that the macro HAVE_FTIME is no longer used, and
installed the following cleanup patch in the trunk. As a
result, src/m/vax.h is no longer needed, so I removed that
too. This changes a couple of Windows-related files in what
should be trivial ways so I'm mentioning this as a heads-up.
It strikes me that the src/m directory is obsolete, in the
sense that its presence is a revenant of a pre-autoconf way
of configuring things, and its functionality could easily be
moved elsewhere as part of further cleanup.
=== modified file 'ChangeLog'
--- ChangeLog 2012-05-19 07:20:16 +0000
+++ ChangeLog 2012-05-19 08:49:08 +0000
@@ -1,3 +1,9 @@
+2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * configure.in (machine): Do not set to 'vax', since src/m/vax.h
+ is being removed.
+ (AC_CHECK_FUNCS): Remove ftime.
+
2012-05-19 Glenn Morris <rgm@gnu.org>
* Makefile.in (install-arch-indep): Remove unneeded subshell.
=== modified file 'admin/CPP-DEFINES'
--- admin/CPP-DEFINES 2011-11-20 09:24:06 +0000
+++ admin/CPP-DEFINES 2012-05-19 08:49:08 +0000
@@ -120,7 +120,6 @@
HAVE_FPATHCONF
HAVE_FREXP
HAVE_FSYNC
-HAVE_FTIME
HAVE_GETCWD
HAVE_GETDOMAINNAME
HAVE_GETHOSTNAME
=== modified file 'admin/ChangeLog'
--- admin/ChangeLog 2012-05-02 07:12:52 +0000
+++ admin/ChangeLog 2012-05-19 08:49:08 +0000
@@ -1,3 +1,7 @@
+2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * CPP-DEFINES (HAVE_FTIME): Remove.
+
2012-05-02 Glenn Morris <rgm@gnu.org>
* bzrmerge.el (bzrmerge-skip-regexp): Add "Auto-commit".
=== modified file 'configure.in'
--- configure.in 2012-05-18 17:49:24 +0000
+++ configure.in 2012-05-19 08:49:08 +0000
@@ -466,7 +466,6 @@
m68k-*) machine=m68k ;;
powerpc-*) machine=macppc ;;
sparc*-) machine=sparc ;;
- vax-*) machine=vax ;;
esac
;;
@@ -479,7 +478,6 @@
i386-*) machine=intel386 ;;
powerpc-*) machine=macppc ;;
sparc*) machine=sparc ;;
- vax-*) machine=vax ;;
esac
;;
@@ -2777,7 +2775,7 @@
AC_CHECK_FUNCS(gethostname getdomainname \
rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
-random lrand48 logb frexp fmod rint cbrt ftime setsid \
+random lrand48 logb frexp fmod rint cbrt setsid \
strerror fpathconf select euidaccess getpagesize tzset setlocale \
utimes getrlimit setrlimit setpgid getcwd getwd shutdown getaddrinfo \
__fpending mblen mbrlen mbsinit strsignal setitimer ualarm \
=== modified file 'nt/ChangeLog'
--- nt/ChangeLog 2012-05-01 00:30:11 +0000
+++ nt/ChangeLog 2012-05-19 08:49:08 +0000
@@ -1,3 +1,7 @@
+2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * config.nt (HAVE_FTIME): Remove undef; not needed.
+
2012-05-01 Glenn Morris <rgm@gnu.org>
* config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
=== modified file 'nt/config.nt'
--- nt/config.nt 2012-05-02 07:20:29 +0000
+++ nt/config.nt 2012-05-19 08:49:08 +0000
@@ -221,7 +221,6 @@
#undef HAVE_FMOD
#undef HAVE_RINT
#undef HAVE_CBRT
-#undef HAVE_FTIME
#undef HAVE_RES_INIT /* For -lresolv on Suns. */
#undef HAVE_SETSID
#undef HAVE_FPATHCONF
=== modified file 'src/ChangeLog'
--- src/ChangeLog 2012-05-18 08:36:50 +0000
+++ src/ChangeLog 2012-05-19 08:49:08 +0000
@@ -1,3 +1,8 @@
+2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * m/vax.h: Remove; no longer needed since HAVE_FTIME is being removed.
+ * s/ms-w32.h (HAVE_FTIME): Remove; not needed.
+
2012-05-18 Eli Zaretskii <eliz@gnu.org>
Fix compilation with -DGLYPH_DEBUG=1 on MS-Windows.
=== removed file 'src/m/vax.h'
--- src/m/vax.h 2012-01-19 07:21:25 +0000
+++ src/m/vax.h 1970-01-01 00:00:00 +0000
@@ -1,23 +0,0 @@
-/* machine description file for vax.
-
-Copyright (C) 1985-1986, 2001-2012 Free Software Foundation, Inc.
-
-This file is part of GNU Emacs.
-
-GNU Emacs is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
-
-
-/* #define vax -- appears to be done automatically */
-
-#define HAVE_FTIME
=== modified file 'src/s/ms-w32.h'
--- src/s/ms-w32.h 2012-03-29 20:06:39 +0000
+++ src/s/ms-w32.h 2012-05-19 08:49:08 +0000
@@ -147,7 +147,6 @@
#define HAVE_FMOD 1
#undef HAVE_RINT
#undef HAVE_CBRT
-#define HAVE_FTIME 1
#undef HAVE_RES_INIT /* For -lresolv on Suns. */
#undef HAVE_SETSID
#undef HAVE_FPATHCONF
next reply other threads:[~2012-05-19 9:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-19 9:01 Paul Eggert [this message]
2012-05-19 12:36 ` HAVE_FTIME, src/m/vax.h, and src/m in general Eli Zaretskii
2012-05-19 18:53 ` Stefan Monnier
2012-05-20 18:19 ` Paul Eggert
2012-05-21 1:54 ` Stefan Monnier
2012-05-21 3:06 ` Paul Eggert
2012-05-21 15:53 ` Stefan Monnier
2012-05-22 7:08 ` bug#11538: Decommissioning src/m Paul Eggert
2012-05-22 12:48 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FB76178.2030504@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.