emacs-devel
[Top][All Lists]
Advanced

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

removed some HAVE_* symbols from msdos/*.inp, nt/config.nt, src/s/ms-w32


From: Paul Eggert
Subject: removed some HAVE_* symbols from msdos/*.inp, nt/config.nt, src/s/ms-w32.h
Date: Sat, 19 May 2012 11:13:58 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

I installed the following further cleanup of unused symbols,
along with the corresponding routine removals from the
MS-DOS / NT / W32 files.

Come to think of it, these cleanup changes to the MS-DOS / NT / W32 files
are not strictly needed -- Emacs should build fine without them --
so it sounds like I should omit them in the future.  That'd be safer, and
less work for me, and Eli can batch the corresponding Windows cleanups if and 
when
it's convenient.  Of course there will be other configure-ish changes that
do require immediate updates to MS-DOS / NT / W32 files, but these
can remain higher priority.

=== modified file 'ChangeLog'
--- ChangeLog   2012-05-19 08:49:08 +0000
+++ ChangeLog   2012-05-19 18:04:49 +0000
@@ -1,5 +1,9 @@
 2012-05-19  Paul Eggert  <address@hidden>
 
+       * configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols,
+       getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm,
+       getsockopt, setsockopt, mremap, mempcpy.
+
        * configure.in (machine): Do not set to 'vax', since src/m/vax.h
        is being removed.
        (AC_CHECK_FUNCS): Remove ftime.

=== modified file 'admin/CPP-DEFINES'
--- admin/CPP-DEFINES   2012-05-19 08:49:08 +0000
+++ admin/CPP-DEFINES   2012-05-19 18:04:49 +0000
@@ -121,7 +121,6 @@
 HAVE_FREXP
 HAVE_FSYNC
 HAVE_GETCWD
-HAVE_GETDOMAINNAME
 HAVE_GETHOSTNAME
 HAVE_GETLOADAVG
 HAVE_GETPAGESIZE

=== modified file 'admin/ChangeLog'
--- admin/ChangeLog     2012-05-19 08:49:08 +0000
+++ admin/ChangeLog     2012-05-19 18:04:49 +0000
@@ -1,5 +1,7 @@
 2012-05-19  Paul Eggert  <address@hidden>
 
+       * CPP-DEFINES (HAVE_GETDOMAINNAME): Remove.
+
        * CPP-DEFINES (HAVE_FTIME): Remove.
 
 2012-05-02  Glenn Morris  <address@hidden>

=== modified file 'configure.in'
--- configure.in        2012-05-19 08:49:08 +0000
+++ configure.in        2012-05-19 18:04:49 +0000
@@ -1873,7 +1873,7 @@
   fi
 
   AC_CHECK_FUNCS(XrmSetDatabase XScreenResourceString \
-XScreenNumberOfScreen XSetWMProtocols)
+XScreenNumberOfScreen)
 fi
 
 if test "${window_system}" = "x11"; then
@@ -2773,15 +2773,15 @@
 AC_SUBST(BLESSMAIL_TARGET)
 
 
-AC_CHECK_FUNCS(gethostname getdomainname \
+AC_CHECK_FUNCS(gethostname \
 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
 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 \
-sendto recvfrom getsockopt setsockopt getsockname getpeername \
-gai_strerror mkstemp getline getdelim mremap fsync sync \
-difftime mempcpy mblen mbrlen posix_memalign \
+__fpending strsignal setitimer \
+sendto recvfrom getsockname getpeername \
+gai_strerror mkstemp getline getdelim fsync sync \
+difftime posix_memalign \
 getpwent endpwent getgrent endgrent \
 cfmakeraw cfsetspeed copysign __executable_start)
 

=== modified file 'msdos/ChangeLog'
--- msdos/ChangeLog     2012-04-21 09:48:42 +0000
+++ msdos/ChangeLog     2012-05-19 18:04:49 +0000
@@ -1,3 +1,8 @@
+2012-05-19  Paul Eggert  <address@hidden>
+
+       * sed2v2.inp (HAVE_MBLEN): Remove.
+       * sed2x.inp (HAVE_XSETWMPROTOCOLS): Remove.
+
 2012-04-21  Eli Zaretskii  <address@hidden>
 
        * sedleim.inp (RUN_EMACS): Replace BUILT_EMACS with EMACS.

=== modified file 'msdos/sed2v2.inp'
--- msdos/sed2v2.inp    2012-05-02 07:20:29 +0000
+++ msdos/sed2v2.inp    2012-05-19 18:04:49 +0000
@@ -46,7 +46,6 @@
 /^#undef HAVE_SETRLIMIT *$/s/^.*$/#define HAVE_SETRLIMIT 1/
 /^#undef HAVE_GETRUSAGE *$/s/^.*$/#define HAVE_GETRUSAGE 1/
 /^#undef HAVE_TM_GMTOFF *$/s/^.*$/#define HAVE_TM_GMTOFF 1/
-/^#undef HAVE_MBLEN *$/s/^.*$/#define HAVE_MBLEN 1/
 /^#undef HAVE_STRUCT_TIMEZONE *$/s/^.*$/#define HAVE_STRUCT_TIMEZONE 1/
 /^#undef HAVE_SIZE_T *$/s/^.*$/#define HAVE_SIZE_T 1/
 /^#undef HAVE_MKSTEMP *$/s/^.*$/#define HAVE_MKSTEMP 1/
@@ -119,4 +118,3 @@
 # might be defined in sys/config.h we include at the top of config.h.
 /^#undef BSTRING/s|#undef|# undef|
 /^#undef .*$/s|^.*$|/* & */|
-

=== modified file 'msdos/sed2x.inp'
--- msdos/sed2x.inp     2012-01-19 07:21:25 +0000
+++ msdos/sed2x.inp     2012-05-19 18:04:49 +0000
@@ -20,6 +20,5 @@
 /^#undef HAVE_X11 *$/s/undef/define/
 /^#undef HAVE_X_MENU *$/s/undef/define/
 /^#undef HAVE_XSCREENNUMBEROFSCREEN *$/s/undef/define/
-/^#undef HAVE_XSETWMPROTOCOLS *$/s/undef/define/
 /^#undef HAVE_SELECT *$/s/undef/define/
 

=== modified file 'nt/ChangeLog'
--- nt/ChangeLog        2012-05-19 08:49:08 +0000
+++ nt/ChangeLog        2012-05-19 18:04:49 +0000
@@ -1,5 +1,8 @@
 2012-05-19  Paul Eggert  <address@hidden>
 
+       * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
+       (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
+
        * config.nt (HAVE_FTIME): Remove undef; not needed.
 
 2012-05-01  Glenn Morris  <address@hidden>

=== modified file 'nt/config.nt'
--- nt/config.nt        2012-05-19 08:49:08 +0000
+++ nt/config.nt        2012-05-19 18:04:49 +0000
@@ -179,7 +179,6 @@
 #undef GETTIMEOFDAY_ONE_ARGUMENT
 #endif
 #undef HAVE_GETHOSTNAME
-#undef HAVE_GETDOMAINNAME
 #undef HAVE_DUP2
 #undef HAVE_RENAME
 #undef HAVE_CLOSEDIR
@@ -205,7 +204,6 @@
 #undef HAVE_XRMSETDATABASE
 #undef HAVE_XSCREENRESOURCESTRING
 #undef HAVE_XSCREENNUMBEROFSCREEN
-#undef HAVE_XSETWMPROTOCOLS
 
 #undef HAVE_MKDIR
 #undef HAVE_RMDIR
@@ -244,8 +242,6 @@
 
 #define HAVE_SENDTO 1
 #define HAVE_RECVFROM 1
-#define HAVE_GETSOCKOPT 1
-#define HAVE_SETSOCKOPT 1
 #define HAVE_GETSOCKNAME 1
 #define HAVE_GETPEERNAME 1
 #define HAVE_SNPRINTF 1

=== modified file 'src/ChangeLog'
--- src/ChangeLog       2012-05-19 08:49:08 +0000
+++ src/ChangeLog       2012-05-19 18:04:49 +0000
@@ -1,5 +1,7 @@
 2012-05-19  Paul Eggert  <address@hidden>
 
+       * s/ms-w32.h (HAVE_GETDOMAINNAME): Remove; not needed.
+
        * m/vax.h: Remove; no longer needed since HAVE_FTIME is being removed.
        * s/ms-w32.h (HAVE_FTIME): Remove; not needed.
 

=== modified file 'src/s/ms-w32.h'
--- src/s/ms-w32.h      2012-05-19 08:49:08 +0000
+++ src/s/ms-w32.h      2012-05-19 18:04:49 +0000
@@ -122,7 +122,6 @@
 
 #define HAVE_GETTIMEOFDAY 1
 #define HAVE_GETHOSTNAME 1
-#undef  HAVE_GETDOMAINNAME
 #define HAVE_DUP2 1
 #define HAVE_RENAME 1
 #define HAVE_CLOSEDIR 1




reply via email to

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