summaryrefslogtreecommitdiff
path: root/binutils/config.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-10-13 09:43:29 +0000
committerNick Clifton <nickc@redhat.com>2006-10-13 09:43:29 +0000
commit94a6b686fbcc95474c21d88095b2adc5e70d676c (patch)
tree904524cfb86422835af24309e48bf8e35bf91889 /binutils/config.in
parentd355761bd4f5b31c71af0b3a360d52e0982f0062 (diff)
downloadbinutils-redhat-94a6b686fbcc95474c21d88095b2adc5e70d676c.tar.gz
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.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/config.in b/binutils/config.in
index ecafcff2b6..2194c7aac7 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