diff options
author | Nick Clifton <nickc@redhat.com> | 2006-10-13 09:43:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-10-13 09:43:29 +0000 |
commit | f9c026a85b129328be8ed9ce74f19fc0065454be (patch) | |
tree | 399caa063a9877ae0a03737895cb45214ca6a9d2 /binutils/config.in | |
parent | ec6e49f44cf16f200634edd04c6e55ab0e2436b0 (diff) | |
download | gdb-f9c026a85b129328be8ed9ce74f19fc0065454be.zip gdb-f9c026a85b129328be8ed9ce74f19fc0065454be.tar.gz gdb-f9c026a85b129328be8ed9ce74f19fc0065454be.tar.bz2 |
PR binutils/2876
* configure.in: Check for the mkstemp and mkdtemp functions.
* configure: Regenerate.
* config.in (HAVE_MKDTEMP): New potential define.
(MAKE_MKSTEMP): Likewise.
* bucomm.c (make_tempname): Use mkstemp if it is available.
* make_tempdir): New function: Create a temporary directory using mkdtemp, if
it is available.
* bucomm.h (make_tempdir): New prototype.
* objcopy.c (copy_archive): Use make_tempdir if it is available.
(strip_main): Produce an warning message if a temporary file could not be
(copy_main): Likewise.
* ar.c (write_archive): Likewise.
Diffstat (limited to 'binutils/config.in')
-rw-r--r-- | binutils/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/config.in b/binutils/config.in index ecafcff..2194c7a 100644 --- a/binutils/config.in +++ b/binutils/config.in @@ -82,6 +82,12 @@ /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H +/* Define to 1 if you have the `mkdtemp' function. */ +#undef HAVE_MKDTEMP + +/* Define to 1 if you have the `mkstemp' function. */ +#undef HAVE_MKSTEMP + /* Define to 1 if you have the `sbrk' function. */ #undef HAVE_SBRK |