diff options
author | Akim Demaille <akim@epita.fr> | 2002-02-25 13:44:43 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2002-02-25 13:44:43 +0000 |
commit | 381fb12e1e6c2f028685d102386bc32725d14f48 (patch) | |
tree | ab5828104b0852358f37389ce5027b5565929405 /configure.in | |
parent | 10b6b2be55cd0d475ef74835efc2da05e4e09b90 (diff) | |
download | bison-381fb12e1e6c2f028685d102386bc32725d14f48.tar.gz |
* lib/tempname.c, lib/mkstemp.c, m4/mkstemp.m4: New, stolen from
Fileutils 4.1.5.
* configure.in: Invoke UTILS_FUNC_MKSTEMP.
* src/output.c (output_skeleton): Use mkstemp to create a real
temporary file.
Move the filling of `skeleton' and its muscle to...
(prepare): here.
(output): Move the definition of the prologue muscle to...
(prepare): here.
* src/system.h (DEFAULT_TMPDIR): New.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9e8d2d5b..2cf4e6ff 100644 --- a/configure.in +++ b/configure.in @@ -89,7 +89,8 @@ AC_FUNC_ALLOCA AC_FUNC_OBSTACK AC_FUNC_ERROR_AT_LINE AC_FUNC_STRNLEN -AC_CHECK_FUNCS(mkstemp setlocale) +UTILS_FUNC_MKSTEMP +AC_CHECK_FUNCS(setlocale) AC_CHECK_DECLS([free, stpcpy, strchr, strspn, strnlen, malloc, memchr, memrchr]) AC_REPLACE_FUNCS(stpcpy strchr strspn memchr memrchr) jm_FUNC_MALLOC |