emacs-devel
[Top][All Lists]
Advanced

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

HAVE_FTIME, src/m/vax.h, and src/m in general


From: Paul Eggert
Subject: HAVE_FTIME, src/m/vax.h, and src/m in general
Date: Sat, 19 May 2012 02:01:44 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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  <address@hidden>
+
+       * 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  <address@hidden>
 
        * 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  <address@hidden>
+
+       * CPP-DEFINES (HAVE_FTIME): Remove.
+
 2012-05-02  Glenn Morris  <address@hidden>
 
        * 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  <address@hidden>
+
+       * config.nt (HAVE_FTIME): Remove undef; not needed.
+
 2012-05-01  Glenn Morris  <address@hidden>
 
        * 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  <address@hidden>
+
+       * 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  <address@hidden>
 
        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



reply via email to

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