diff options
| author | Paul Eggert | 2012-06-25 18:05:39 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-06-25 18:05:39 -0700 |
| commit | cf38a720e81b545f90dc7be81891d94df6ed059a (patch) | |
| tree | 421932c3315e5ded7dab371d26820ed3172bfd23 /src | |
| parent | 414e642ca92b569cd74d26a2879e0e8fe9f8d6be (diff) | |
| download | emacs-cf38a720e81b545f90dc7be81891d94df6ed059a.tar.gz emacs-cf38a720e81b545f90dc7be81891d94df6ed059a.zip | |
Clean out last vestiges of the old HAVE_CONFIG_H stuff.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/Makefile.in | 5 | ||||
| -rw-r--r-- | src/gmalloc.c | 2 | ||||
| -rw-r--r-- | src/makefile.w32-in | 6 | ||||
| -rw-r--r-- | src/regex.c | 4 |
5 files changed, 10 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 913a5376f22..dec5ee328a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-06-26 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Clean out last vestiges of the old HAVE_CONFIG_H stuff. | ||
| 4 | * Makefile.in (ALL_CFLAGS): | ||
| 5 | * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H. | ||
| 6 | * gmalloc.c, regex.c: Include <config.h> unconditionally. | ||
| 7 | |||
| 1 | 2012-06-25 Dmitry Antipov <dmantipov@yandex.ru> | 8 | 2012-06-25 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 9 | ||
| 3 | * dispextern.h (xstrcasecmp): Define to library function | 10 | * dispextern.h (xstrcasecmp): Define to library function |
diff --git a/src/Makefile.in b/src/Makefile.in index 40cfe94c707..b0adf53a9b1 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -303,11 +303,8 @@ MKDEPDIR=@MKDEPDIR@ | |||
| 303 | ## -Demacs is needed to make some files produce the correct version | 303 | ## -Demacs is needed to make some files produce the correct version |
| 304 | ## for use in Emacs. | 304 | ## for use in Emacs. |
| 305 | ## | 305 | ## |
| 306 | ## -DHAVE_CONFIG_H is needed for some other files to take advantage of | ||
| 307 | ## the information in `config.h'. | ||
| 308 | ## | ||
| 309 | ## FIXME? MYCPPFLAGS only referenced in etc/DEBUG. | 306 | ## FIXME? MYCPPFLAGS only referenced in etc/DEBUG. |
| 310 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I$(srcdir) \ | 307 | ALL_CFLAGS=-Demacs $(MYCPPFLAGS) -I. -I$(srcdir) \ |
| 311 | -I$(lib) -I$(srcdir)/../lib \ | 308 | -I$(lib) -I$(srcdir)/../lib \ |
| 312 | $(C_SWITCH_MACHINE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ | 309 | $(C_SWITCH_MACHINE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ |
| 313 | $(GNUSTEP_CFLAGS) $(CFLAGS_SOUND) $(RSVG_CFLAGS) $(IMAGEMAGICK_CFLAGS) \ | 310 | $(GNUSTEP_CFLAGS) $(CFLAGS_SOUND) $(RSVG_CFLAGS) $(IMAGEMAGICK_CFLAGS) \ |
diff --git a/src/gmalloc.c b/src/gmalloc.c index 0df050e127a..3de3733d55f 100644 --- a/src/gmalloc.c +++ b/src/gmalloc.c | |||
| @@ -21,9 +21,7 @@ Fifth Floor, Boston, MA 02110-1301, USA. | |||
| 21 | The author may be reached (Email) at the address mike@ai.mit.edu, | 21 | The author may be reached (Email) at the address mike@ai.mit.edu, |
| 22 | or (US mail) as Mike Haertel c/o Free Software Foundation. */ | 22 | or (US mail) as Mike Haertel c/o Free Software Foundation. */ |
| 23 | 23 | ||
| 24 | #ifdef HAVE_CONFIG_H | ||
| 25 | #include <config.h> | 24 | #include <config.h> |
| 26 | #endif | ||
| 27 | 25 | ||
| 28 | #ifdef HAVE_PTHREAD | 26 | #ifdef HAVE_PTHREAD |
| 29 | #define USE_PTHREAD | 27 | #define USE_PTHREAD |
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index 01f8a1a4ac5..c9077cc84dd 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in | |||
| @@ -27,11 +27,7 @@ EMACSLOADPATH=$(CURDIR)/../lisp | |||
| 27 | # Size in MBs of the static heap in temacs.exe. | 27 | # Size in MBs of the static heap in temacs.exe. |
| 28 | HEAPSIZE = 27 | 28 | HEAPSIZE = 27 |
| 29 | 29 | ||
| 30 | # | 30 | LOCAL_FLAGS = -Demacs=1 -I../lib -I../nt/inc -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS) |
| 31 | # HAVE_CONFIG_H is required by some generic gnu sources stuck into | ||
| 32 | # the emacs source tree. | ||
| 33 | # | ||
| 34 | LOCAL_FLAGS = -Demacs=1 -DHAVE_CONFIG_H -I../lib -I../nt/inc -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS) | ||
| 35 | 31 | ||
| 36 | SRC = . | 32 | SRC = . |
| 37 | EMACS = $(BLD)/emacs.exe | 33 | EMACS = $(BLD)/emacs.exe |
diff --git a/src/regex.c b/src/regex.c index 7ef53c606c9..0b09e508b37 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -46,9 +46,7 @@ | |||
| 46 | # endif | 46 | # endif |
| 47 | #endif | 47 | #endif |
| 48 | 48 | ||
| 49 | #ifdef HAVE_CONFIG_H | 49 | #include <config.h> |
| 50 | # include <config.h> | ||
| 51 | #endif | ||
| 52 | 50 | ||
| 53 | #include <stddef.h> | 51 | #include <stddef.h> |
| 54 | 52 | ||