diff options
| author | Peter Rosin | 2013-07-09 21:06:25 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-07-09 21:06:25 +0300 |
| commit | 2aae948de5bf1ceda23c06310b331166532078e6 (patch) | |
| tree | db9a3a8ceb5be2b83ab0190ced0903b33d064d33 | |
| parent | 7b154deff5f593d056b54d81baf627dcea6bb149 (diff) | |
| download | emacs-2aae948de5bf1ceda23c06310b331166532078e6.tar.gz emacs-2aae948de5bf1ceda23c06310b331166532078e6.zip | |
Avoid nexted functions in AC_LANG_PROGRAM test for Windows headers.
configure.ac (HAVE_W32): Avoid nested functions (the second
argument of AC_LANG_PROGRAM is already expanded inside a
function).
Fixes: debbugs:14830
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | configure.ac | 4 |
2 files changed, 8 insertions, 2 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-07-09 Peter Rosin <peda@lysator.liu.se> (tiny change> | ||
| 2 | |||
| 3 | * configure.ac (HAVE_W32): Avoid nested functions (the second | ||
| 4 | argument of AC_LANG_PROGRAM is already expanded inside a | ||
| 5 | function). (Bug#14830) | ||
| 6 | |||
| 1 | 2013-07-09 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2013-07-09 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | Port recent close-on-exec changes to Cygwin (Bug#14821). | 9 | Port recent close-on-exec changes to Cygwin (Bug#14821). |
diff --git a/configure.ac b/configure.ac index 3830ee38cc9..bb140a86b1b 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -1635,8 +1635,8 @@ if test "${opsys}" = "mingw32"; then | |||
| 1635 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | 1635 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
| 1636 | #include <windows.h> | 1636 | #include <windows.h> |
| 1637 | #include <usp10.h>]], | 1637 | #include <usp10.h>]], |
| 1638 | [[void test(PIMAGE_NT_HEADERS pHeader) | 1638 | [[PIMAGE_NT_HEADERS pHeader; |
| 1639 | {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);}]])], | 1639 | PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader)]])], |
| 1640 | [emacs_cv_w32api=yes | 1640 | [emacs_cv_w32api=yes |
| 1641 | HAVE_W32=yes], | 1641 | HAVE_W32=yes], |
| 1642 | emacs_cv_w32api=no) | 1642 | emacs_cv_w32api=no) |