432 |
m4_define([_AC_INIT_DEFAULTS], |
m4_define([_AC_INIT_DEFAULTS], |
433 |
[m4_divert_push([DEFAULTS])dnl |
[m4_divert_push([DEFAULTS])dnl |
434 |
|
|
|
AS_SHELL_SANITIZE |
|
|
|
|
435 |
# Name of the host. |
# Name of the host. |
436 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
437 |
# so uname gets run too. |
# so uname gets run too. |
1250 |
# Actually reserved by M4sh. |
# Actually reserved by M4sh. |
1251 |
m4_pattern_allow([^AS_FLAGS$]) |
m4_pattern_allow([^AS_FLAGS$]) |
1252 |
AS_INIT |
AS_INIT |
1253 |
|
AS_PREPARE |
1254 |
m4_ifval([$2], [_AC_INIT_PACKAGE($@)]) |
m4_ifval([$2], [_AC_INIT_PACKAGE($@)]) |
1255 |
_AC_INIT_DEFAULTS |
_AC_INIT_DEFAULTS |
1256 |
_AC_INIT_PARSE_ARGS |
_AC_INIT_PARSE_ARGS |
1753 |
# ------------------------------------------ |
# ------------------------------------------ |
1754 |
# The name of shell var CACHE-ID must contain `_cv_' in order to get saved. |
# The name of shell var CACHE-ID must contain `_cv_' in order to get saved. |
1755 |
# Should be dnl'ed. Try to catch common mistakes. |
# Should be dnl'ed. Try to catch common mistakes. |
1756 |
m4_define([AC_CACHE_VAL], |
m4_defun([AC_CACHE_VAL], |
1757 |
[m4_bmatch([$2], [AC_DEFINE], |
[m4_bmatch([$2], [AC_DEFINE], |
1758 |
[AC_DIAGNOSE(syntax, |
[AC_DIAGNOSE(syntax, |
1759 |
[$0($1, ...): suspicious presence of an AC_DEFINE in the second argument, ]dnl |
[$0($1, ...): suspicious presence of an AC_DEFINE in the second argument, ]dnl |
1760 |
[where no actions should be taken])])dnl |
[where no actions should be taken])])dnl |
1761 |
AS_VAR_SET_IF([$1], |
AS_VAR_SET_IF([$1], |
1766 |
# AC_CACHE_CHECK(MESSAGE, CACHE-ID, COMMANDS) |
# AC_CACHE_CHECK(MESSAGE, CACHE-ID, COMMANDS) |
1767 |
# ------------------------------------------- |
# ------------------------------------------- |
1768 |
# Do not call this macro with a dnl right behind. |
# Do not call this macro with a dnl right behind. |
1769 |
m4_define([AC_CACHE_CHECK], |
m4_defun([AC_CACHE_CHECK], |
1770 |
[AC_MSG_CHECKING([$1]) |
[AC_MSG_CHECKING([$1]) |
1771 |
AC_CACHE_VAL([$2], [$3])dnl |
AC_CACHE_VAL([$2], [$3])dnl |
1772 |
AC_MSG_RESULT_UNQUOTED([AS_VAR_GET([$2])])]) |
AC_MSG_RESULT_UNQUOTED([AS_VAR_GET([$2])])]) |