mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
* acgeneral.m4 (AC_INCLUDES_DEFAULT): Force the newline to avoid
bad surprises. Reported by Jim.
This commit is contained in:
parent
722c1a86a0
commit
a7010bd78c
@ -1,3 +1,9 @@
|
||||
2001-01-18 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* acgeneral.m4 (AC_INCLUDES_DEFAULT): Force the newline to avoid
|
||||
bad surprises.
|
||||
Reported by Jim.
|
||||
|
||||
2001-01-18 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Require a perfect divert push/pop balance.
|
||||
|
@ -2306,8 +2306,15 @@ AC_CHECK_HEADERS(stdlib.h string.h memory.h strings.h inttypes.h unistd.h)
|
||||
# -------------------------------
|
||||
# If INCLUDES is empty, expand in default includes, otherwise in
|
||||
# INCLUDES.
|
||||
# In most cases INCLUDES is not double quoted as it should, and if
|
||||
# for instance INCLUDES = `#include <stdio.h>' then unless we force
|
||||
# a newline, the hash will swallow the closing paren etc. etc.
|
||||
# The usual failure.
|
||||
# Take no risk: for the newline.
|
||||
AC_DEFUN([AC_INCLUDES_DEFAULT],
|
||||
[m4_default([$1], [AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
|
||||
[m4_ifval([$1], [$1
|
||||
],
|
||||
[AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
|
||||
$ac_includes_default])])
|
||||
|
||||
|
||||
|
@ -2306,8 +2306,15 @@ AC_CHECK_HEADERS(stdlib.h string.h memory.h strings.h inttypes.h unistd.h)
|
||||
# -------------------------------
|
||||
# If INCLUDES is empty, expand in default includes, otherwise in
|
||||
# INCLUDES.
|
||||
# In most cases INCLUDES is not double quoted as it should, and if
|
||||
# for instance INCLUDES = `#include <stdio.h>' then unless we force
|
||||
# a newline, the hash will swallow the closing paren etc. etc.
|
||||
# The usual failure.
|
||||
# Take no risk: for the newline.
|
||||
AC_DEFUN([AC_INCLUDES_DEFAULT],
|
||||
[m4_default([$1], [AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
|
||||
[m4_ifval([$1], [$1
|
||||
],
|
||||
[AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
|
||||
$ac_includes_default])])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user