diff options
| author | Glenn Morris | 2013-10-23 19:15:16 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-10-23 19:15:16 -0700 |
| commit | eb9a36619e5ba70079fc098a38e2d8be721d5b0b (patch) | |
| tree | c83eae4694f8fb91bf8c0856ff37aab2977ff126 | |
| parent | 6f317c2faaa9aa00f2f9460e1d3dd45041583684 (diff) | |
| download | emacs-eb9a36619e5ba70079fc098a38e2d8be721d5b0b.tar.gz emacs-eb9a36619e5ba70079fc098a38e2d8be721d5b0b.zip | |
Attempt at a fix for mingw CPPFLAGS
* configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir.
* Makefile.in (abs_top_srcdir):
* lib-src/Makefile.in (abs_top_srcdir):
* lwlib/Makefile.in (abs_top_srcdir):
* nt/Makefile.in (abs_top_srcdir):
* oldXMenu/Makefile.in (abs_top_srcdir):
* src/Makefile.in (abs_top_srcdir):
New, set by configure.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Makefile.in | 1 | ||||
| -rw-r--r-- | configure.ac | 2 | ||||
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 1 | ||||
| -rw-r--r-- | lwlib/ChangeLog | 4 | ||||
| -rw-r--r-- | lwlib/Makefile.in | 1 | ||||
| -rw-r--r-- | nt/ChangeLog | 4 | ||||
| -rw-r--r-- | nt/Makefile.in | 1 | ||||
| -rw-r--r-- | oldXMenu/ChangeLog | 4 | ||||
| -rw-r--r-- | oldXMenu/Makefile.in | 1 | ||||
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/Makefile.in | 1 |
13 files changed, 33 insertions, 1 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-10-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir. | ||
| 4 | |||
| 5 | * Makefile.in (abs_top_srcdir): New, set by configure. | ||
| 6 | |||
| 1 | 2013-10-23 Glenn Morris <rgm@gnu.org> | 7 | 2013-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * configure.ac: Explicit error for non-ASCII directories. (Bug#15260) | 9 | * configure.ac: Explicit error for non-ASCII directories. (Bug#15260) |
diff --git a/Makefile.in b/Makefile.in index 7ad0bf13ae4..5fd926c4238 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -164,6 +164,7 @@ bitmapdir=@bitmapdir@ | |||
| 164 | # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. | 164 | # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. |
| 165 | srcdir=@srcdir@ | 165 | srcdir=@srcdir@ |
| 166 | abs_srcdir=@abs_srcdir@ | 166 | abs_srcdir=@abs_srcdir@ |
| 167 | abs_top_srcdir=@abs_top_srcdir@ # MinGW CPPFLAGS may use this | ||
| 167 | 168 | ||
| 168 | # Where the manpage source files are kept. | 169 | # Where the manpage source files are kept. |
| 169 | mansrcdir=$(srcdir)/doc/man | 170 | mansrcdir=$(srcdir)/doc/man |
diff --git a/configure.ac b/configure.ac index 145db6a85c4..e73775e69a7 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -4738,7 +4738,7 @@ CFLAGS=$SAVE_CFLAGS | |||
| 4738 | LIBS=$SAVE_LIBS | 4738 | LIBS=$SAVE_LIBS |
| 4739 | 4739 | ||
| 4740 | if test "${opsys}" = "mingw32"; then | 4740 | if test "${opsys}" = "mingw32"; then |
| 4741 | CPPFLAGS="$CPPFLAGS -DUSE_CRT_DLL=1 -I $srcdir/nt/inc" | 4741 | CPPFLAGS="$CPPFLAGS -DUSE_CRT_DLL=1 -I \${abs_top_srcdir}/nt/inc" |
| 4742 | # Remove unneeded switches from the value of CC that goes to Makefiles | 4742 | # Remove unneeded switches from the value of CC that goes to Makefiles |
| 4743 | CC=`echo $CC | sed -e "s,$GCC_TEST_OPTIONS,,"` | 4743 | CC=`echo $CC | sed -e "s,$GCC_TEST_OPTIONS,,"` |
| 4744 | fi | 4744 | fi |
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index fd4209ab225..35672f22d64 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-10-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (abs_top_srcdir): New, set by configure. | ||
| 4 | |||
| 1 | 2013-10-23 Glenn Morris <rgm@gnu.org> | 5 | 2013-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install) | 7 | * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install) |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 3aff16fed76..e4d104e0200 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -84,6 +84,7 @@ VPATH=@srcdir@ | |||
| 84 | 84 | ||
| 85 | # The top-level source directory, also set by configure. | 85 | # The top-level source directory, also set by configure. |
| 86 | top_srcdir=@top_srcdir@ | 86 | top_srcdir=@top_srcdir@ |
| 87 | abs_top_srcdir=@abs_top_srcdir@ # MinGW CPPFLAGS may use this | ||
| 87 | 88 | ||
| 88 | # ==================== Emacs-specific directories ==================== | 89 | # ==================== Emacs-specific directories ==================== |
| 89 | 90 | ||
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 5a1018f85e5..963b5baed1c 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-10-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (abs_top_srcdir): New, set by configure. | ||
| 4 | |||
| 1 | 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Makefile improvements. | 7 | Makefile improvements. |
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in index 40f4a405e97..c463efb05e2 100644 --- a/lwlib/Makefile.in +++ b/lwlib/Makefile.in | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | # and set up to be configured by ../configure. | 23 | # and set up to be configured by ../configure. |
| 24 | 24 | ||
| 25 | srcdir=@srcdir@ | 25 | srcdir=@srcdir@ |
| 26 | abs_top_srcdir=@abs_top_srcdir@ # MinGW CPPFLAGS may use this | ||
| 26 | VPATH=@srcdir@ | 27 | VPATH=@srcdir@ |
| 27 | @SET_MAKE@ | 28 | @SET_MAKE@ |
| 28 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 29 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
diff --git a/nt/ChangeLog b/nt/ChangeLog index 53381f1e8b5..12389607627 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-10-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (abs_top_srcdir): New, set by configure. | ||
| 4 | |||
| 1 | 2013-10-23 Glenn Morris <rgm@gnu.org> | 5 | 2013-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall): | 7 | * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall): |
diff --git a/nt/Makefile.in b/nt/Makefile.in index c29cc7e91ec..7606b31ef40 100644 --- a/nt/Makefile.in +++ b/nt/Makefile.in | |||
| @@ -76,6 +76,7 @@ VPATH=@srcdir@ | |||
| 76 | 76 | ||
| 77 | # The top-level source directory, also set by configure. | 77 | # The top-level source directory, also set by configure. |
| 78 | top_srcdir=@top_srcdir@ | 78 | top_srcdir=@top_srcdir@ |
| 79 | abs_top_srcdir=@abs_top_srcdir@ # MinGW CPPFLAGS may use this | ||
| 79 | 80 | ||
| 80 | # ==================== Emacs-specific directories ==================== | 81 | # ==================== Emacs-specific directories ==================== |
| 81 | 82 | ||
diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog index 21acbe83053..a8f19210561 100644 --- a/oldXMenu/ChangeLog +++ b/oldXMenu/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-10-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (abs_top_srcdir): New, set by configure. | ||
| 4 | |||
| 1 | 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Makefile improvements. | 7 | Makefile improvements. |
diff --git a/oldXMenu/Makefile.in b/oldXMenu/Makefile.in index 394bfb3ab50..f0c93e10cd4 100644 --- a/oldXMenu/Makefile.in +++ b/oldXMenu/Makefile.in | |||
| @@ -43,6 +43,7 @@ | |||
| 43 | ### Code: | 43 | ### Code: |
| 44 | 44 | ||
| 45 | srcdir=@srcdir@ | 45 | srcdir=@srcdir@ |
| 46 | abs_top_srcdir=@abs_top_srcdir@ # MinGW CPPFLAGS may use this | ||
| 46 | VPATH=@srcdir@ | 47 | VPATH=@srcdir@ |
| 47 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 48 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
| 48 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ | 49 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ |
diff --git a/src/ChangeLog b/src/ChangeLog index ad9888632fd..09d7c66c1cf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-10-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (abs_top_srcdir): New, set by configure. | ||
| 4 | |||
| 1 | 2013-10-23 Dmitry Antipov <dmantipov@yandex.ru> | 5 | 2013-10-23 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 6 | ||
| 3 | Adjust recent font-related changes to fix bug#15686. | 7 | Adjust recent font-related changes to fix bug#15686. |
diff --git a/src/Makefile.in b/src/Makefile.in index ce65b190334..29acb4e7380 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -28,6 +28,7 @@ SHELL = @SHELL@ | |||
| 28 | # Here are the things that we expect ../configure to edit. | 28 | # Here are the things that we expect ../configure to edit. |
| 29 | # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. | 29 | # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. |
| 30 | srcdir = @srcdir@ | 30 | srcdir = @srcdir@ |
| 31 | abs_top_srcdir=@abs_top_srcdir@ # MinGW CPPFLAGS may use this | ||
| 31 | ntsource = $(srcdir)/../nt | 32 | ntsource = $(srcdir)/../nt |
| 32 | abs_builddir = @abs_builddir@ | 33 | abs_builddir = @abs_builddir@ |
| 33 | VPATH = $(srcdir) | 34 | VPATH = $(srcdir) |