mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
* lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
AC_RUN_IFELSE.
This commit is contained in:
parent
1b597ea9b3
commit
5c5c6ff00b
@ -1,3 +1,8 @@
|
||||
2002-10-27 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
|
||||
AC_RUN_IFELSE.
|
||||
|
||||
2002-10-27 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* doc/autoconf.texi: More AC_MSG_FAILURE promotion.
|
||||
|
@ -1748,7 +1748,7 @@ AC_DEFUN([_AC_FUNC_FORK],
|
||||
# -------------
|
||||
AC_DEFUN([_AC_FUNC_VFORK],
|
||||
[AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
|
||||
[AC_TRY_RUN([/* Thanks to Paul Eggert for this test. */
|
||||
[AC_RUN_IFELSE([AC_LANG_SOURCE([[/* Thanks to Paul Eggert for this test. */
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
@ -1840,7 +1840,7 @@ main ()
|
||||
|| fstat(fileno(stdout), &st) != 0
|
||||
);
|
||||
}
|
||||
}],
|
||||
}]])],
|
||||
[ac_cv_func_vfork_works=yes],
|
||||
[ac_cv_func_vfork_works=no],
|
||||
[ac_cv_func_vfork_works=cross])])
|
||||
|
@ -16,5 +16,9 @@ AT_CHECK_MACRO([AC_PREFIX_DEFAULT])
|
||||
AT_CHECK_AU_MACRO([AC_CHECKING])
|
||||
AT_CHECK_AU_MACRO([AC_COMPILE_CHECK])
|
||||
AT_CHECK_AU_MACRO([AC_ENABLE])
|
||||
AT_CHECK_AU_MACRO([AC_TRY_COMPILE])
|
||||
AT_CHECK_AU_MACRO([AC_TRY_CPP])
|
||||
AT_CHECK_AU_MACRO([AC_TRY_LINK])
|
||||
AT_CHECK_AU_MACRO([AC_TRY_RUN])
|
||||
AT_CHECK_AU_MACRO([AC_VALIDATE_CACHED_SYSTEM_TUPLE])
|
||||
AT_CHECK_AU_MACRO([AC_WITH])
|
||||
|
Loading…
Reference in New Issue
Block a user