diff options
| author | Juanma Barranquero | 2012-07-07 02:20:56 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2012-07-07 02:20:56 +0200 |
| commit | 07adc2c63b17a5829879886901cb731483a469cd (patch) | |
| tree | eac3be41bbf371c67e34ee95181cabd2e73d09ae | |
| parent | 82fd0d8bed18ab961c9060325de4f17ed0ad94c9 (diff) | |
| download | emacs-07adc2c63b17a5829879886901cb731483a469cd.tar.gz emacs-07adc2c63b17a5829879886901cb731483a469cd.zip | |
Update Windows port to gnulib changes in 2012-07-06T21:07:46Z!eggert@cs.ucla.edu.
* lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
Update dependencies.
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O),
$(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O).
($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
($(BLD)/c-strncasecmp.$(O)): New dependencies.
* src/makefile.w32-in (DISPEXTERN_H, $(BLD)/regex.$(O)):
Update dependencies.
* src/s/ms-w32.h [_MSC_VER]: Remove strcasecmp, strncasecmp.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 2 | ||||
| -rw-r--r-- | lib/makefile.w32-in | 25 | ||||
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/makefile.w32-in | 2 | ||||
| -rw-r--r-- | src/s/ms-w32.h | 6 |
7 files changed, 46 insertions, 8 deletions
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-07-07 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O), | ||
| 4 | $(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O). | ||
| 5 | ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O)) | ||
| 6 | ($(BLD)/c-strncasecmp.$(O)): New dependencies. | ||
| 7 | |||
| 1 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | * configure.in: Document --enable-gcc-warnings better. | 10 | * configure.in: Document --enable-gcc-warnings better. |
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 56f1551e8ba..16e24b194d5 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-07-07 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): | ||
| 4 | Update dependencies. | ||
| 5 | |||
| 1 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). | 8 | Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 854cda371e3..98d003ac366 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -363,6 +363,7 @@ $(BLD)/ctags.$(O) : \ | |||
| 363 | $(EMACS_ROOT)/src/s/ms-w32.h \ | 363 | $(EMACS_ROOT)/src/s/ms-w32.h \ |
| 364 | $(EMACS_ROOT)/lib-src/../src/config.h \ | 364 | $(EMACS_ROOT)/lib-src/../src/config.h \ |
| 365 | $(SRC)/ntlib.h \ | 365 | $(SRC)/ntlib.h \ |
| 366 | $(EMACS_ROOT)/lib/c-strcase.h \ | ||
| 366 | $(EMACS_ROOT)/lib/getopt.h | 367 | $(EMACS_ROOT)/lib/getopt.h |
| 367 | 368 | ||
| 368 | $(BLD)/ebrowse.$(O) : \ | 369 | $(BLD)/ebrowse.$(O) : \ |
| @@ -384,6 +385,7 @@ $(BLD)/etags.$(O) : \ | |||
| 384 | $(EMACS_ROOT)/src/s/ms-w32.h \ | 385 | $(EMACS_ROOT)/src/s/ms-w32.h \ |
| 385 | $(EMACS_ROOT)/lib-src/../src/config.h \ | 386 | $(EMACS_ROOT)/lib-src/../src/config.h \ |
| 386 | $(SRC)/ntlib.h \ | 387 | $(SRC)/ntlib.h \ |
| 388 | $(EMACS_ROOT)/lib/c-strcase.h \ | ||
| 387 | $(EMACS_ROOT)/lib/getopt.h | 389 | $(EMACS_ROOT)/lib/getopt.h |
| 388 | 390 | ||
| 389 | $(BLD)/hexl.$(O) : \ | 391 | $(BLD)/hexl.$(O) : \ |
diff --git a/lib/makefile.w32-in b/lib/makefile.w32-in index 78a0de0a0ef..f2853f10cb9 100644 --- a/lib/makefile.w32-in +++ b/lib/makefile.w32-in | |||
| @@ -23,7 +23,10 @@ ALL = gnulib | |||
| 23 | LOCAL_FLAGS = -I. -I../nt/inc -I../src | 23 | LOCAL_FLAGS = -I. -I../nt/inc -I../src |
| 24 | LIBS = | 24 | LIBS = |
| 25 | 25 | ||
| 26 | GNULIBOBJS = $(BLD)/dtoastr.$(O) \ | 26 | GNULIBOBJS = $(BLD)/c-ctype.$(O) \ |
| 27 | $(BLD)/c-strcasecmp.$(O) \ | ||
| 28 | $(BLD)/c-strncasecmp.$(O) \ | ||
| 29 | $(BLD)/dtoastr.$(O) \ | ||
| 27 | $(BLD)/dtotimespec.$(O) \ | 30 | $(BLD)/dtotimespec.$(O) \ |
| 28 | $(BLD)/getopt.$(O) \ | 31 | $(BLD)/getopt.$(O) \ |
| 29 | $(BLD)/getopt1.$(O) \ | 32 | $(BLD)/getopt1.$(O) \ |
| @@ -64,6 +67,26 @@ TAGS: FRC | |||
| 64 | EMACS_ROOT = .. | 67 | EMACS_ROOT = .. |
| 65 | SRC = . | 68 | SRC = . |
| 66 | 69 | ||
| 70 | $(BLD)/c-ctype.$(O) : \ | ||
| 71 | $(SRC)/c-ctype.c \ | ||
| 72 | $(SRC)/c-ctype.h \ | ||
| 73 | $(EMACS_ROOT)/src/s/ms-w32.h \ | ||
| 74 | $(EMACS_ROOT)/src/config.h | ||
| 75 | |||
| 76 | $(BLD)/c-strcasecmp.$(O) : \ | ||
| 77 | $(SRC)/c-strcasecmp.c \ | ||
| 78 | $(SRC)/c-strcase.h \ | ||
| 79 | $(SRC)/c-ctype.h \ | ||
| 80 | $(EMACS_ROOT)/src/s/ms-w32.h \ | ||
| 81 | $(EMACS_ROOT)/src/config.h | ||
| 82 | |||
| 83 | $(BLD)/c-strncasecmp.$(O) : \ | ||
| 84 | $(SRC)/c-strncasecmp.c \ | ||
| 85 | $(SRC)/c-strcase.h \ | ||
| 86 | $(SRC)/c-ctype.h \ | ||
| 87 | $(EMACS_ROOT)/src/s/ms-w32.h \ | ||
| 88 | $(EMACS_ROOT)/src/config.h | ||
| 89 | |||
| 67 | $(BLD)/dtoastr.$(O) : \ | 90 | $(BLD)/dtoastr.$(O) : \ |
| 68 | $(SRC)/dtoastr.c \ | 91 | $(SRC)/dtoastr.c \ |
| 69 | $(SRC)/ftoastr.c \ | 92 | $(SRC)/ftoastr.c \ |
diff --git a/src/ChangeLog b/src/ChangeLog index 3f8cbdff476..ef2d06dc5b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-07-07 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * makefile.w32-in (DISPEXTERN_H, $(BLD)/regex.$(O)): | ||
| 4 | Update dependencies. | ||
| 5 | |||
| 6 | * s/ms-w32.h [_MSC_VER]: Remove strcasecmp, strncasecmp. | ||
| 7 | |||
| 1 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). | 10 | Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). |
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index 021823cf5a4..5459224eb10 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in | |||
| @@ -412,6 +412,7 @@ DIR_H = $(NT_INC)/sys/dir.h \ | |||
| 412 | W32GUI_H = $(SRC)/w32gui.h \ | 412 | W32GUI_H = $(SRC)/w32gui.h \ |
| 413 | $(SYSTIME_H) | 413 | $(SYSTIME_H) |
| 414 | DISPEXTERN_H = $(SRC)/dispextern.h \ | 414 | DISPEXTERN_H = $(SRC)/dispextern.h \ |
| 415 | $(GNU_LIB)/c-strcase.h \ | ||
| 415 | $(SYSTIME_H) \ | 416 | $(SYSTIME_H) \ |
| 416 | $(W32GUI_H) | 417 | $(W32GUI_H) |
| 417 | FILEMODE_H = $(GNU_LIB)/filemode.h \ | 418 | FILEMODE_H = $(GNU_LIB)/filemode.h \ |
| @@ -1269,7 +1270,6 @@ $(BLD)/regex.$(O) : \ | |||
| 1269 | $(SRC)/category.h \ | 1270 | $(SRC)/category.h \ |
| 1270 | $(SRC)/regex.h \ | 1271 | $(SRC)/regex.h \ |
| 1271 | $(SRC)/syntax.h \ | 1272 | $(SRC)/syntax.h \ |
| 1272 | $(NT_INC)/unistd.h \ | ||
| 1273 | $(BUFFER_H) \ | 1273 | $(BUFFER_H) \ |
| 1274 | $(CHARACTER_H) \ | 1274 | $(CHARACTER_H) \ |
| 1275 | $(CONFIG_H) \ | 1275 | $(CONFIG_H) \ |
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index 866ffc9c048..1557edaa161 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -148,12 +148,6 @@ struct sigaction { | |||
| 148 | #define MAXPATHLEN _MAX_PATH | 148 | #define MAXPATHLEN _MAX_PATH |
| 149 | #endif | 149 | #endif |
| 150 | 150 | ||
| 151 | /* MinGW has these in its library; MSVC doesn't. */ | ||
| 152 | #ifdef _MSC_VER | ||
| 153 | #define strcasecmp(s1,s2) _stricmp(s1,s2) | ||
| 154 | #define strncasecmp(s1,s2) _strnicmp(s1,s2) | ||
| 155 | #endif | ||
| 156 | |||
| 157 | #ifdef HAVE_NTGUI | 151 | #ifdef HAVE_NTGUI |
| 158 | #define HAVE_WINDOW_SYSTEM 1 | 152 | #define HAVE_WINDOW_SYSTEM 1 |
| 159 | #define HAVE_MENUS 1 | 153 | #define HAVE_MENUS 1 |