summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-02-21 18:51:17 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-02-21 18:51:17 +0000
commite4d95d836af0e84c51e9f8f5e7bac140d52b1f93 (patch)
tree79b6757453cc932f9c236c911234e5f5d1b51dce /configure.in
parentd6f6b30b3ec0c2323474a7d5c80795ba1e6cec25 (diff)
downloadlibapr-e4d95d836af0e84c51e9f8f5e7bac140d52b1f93.tar.gz
don't compile mktemp.c unless we have to; it doesn't compile everywhere
as it stands now (e.g., Tru64) Somebody with ReliantUNIX or some other box with no mkstemp() needs to try it out now. I wonder where the prototype for mkstemp() comes from on that platform. Regarding my configure.in changes: . The first parm to AC_CHECK_FUNCS() must be the name of the function. . We weren't using the have_mkstemp shell variable anywhere so I stopped setting it. If we need a symbol APR_HAVE_MKSTEMP later we will need to resurrect the have_mkstemp shell variable. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61276 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 634144b0c..78d8a7edd 100644
--- a/configure.in
+++ b/configure.in
@@ -273,7 +273,7 @@ if test "$native_mmap_emul" = "1"; then
fi
AC_CHECK_FUNCS(hstrerror)
AC_CHECK_FUNCS(memmove, [ have_memmove="1" ], [have_memmove="0" ])
-AC_CHECK_FUNCS(have_mkstemp, [ have_mkstemp="1" ], [have_mkstemp="0" ])
+AC_CHECK_FUNCS(mkstemp)
AC_SUBST(fork)
AC_SUBST(have_inet_addr)