aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-07-02 17:20:27 +0000
committerGerald Combs <gerald@wireshark.org>2009-07-02 17:20:27 +0000
commit72a20c1695d963755190c2975ecdab05ad67c0f3 (patch)
treef0d1a8503bfebe75fcb95ebbfc905154f58b21de /configure.in
parent9952ce524f3b196be80b175f6784438e856f7980 (diff)
Pull mkstemp() into tempfile.c. That's the only place we use it now, and
it's arguably the only place we _should_ use it. Add create_tempdir() to tempfile.c and use it to create a temp directory for IP maps. This should fix bug 3530. (This still doesn't work on IE 8 / Vista here. IE gives an access denied error in OpenLayers.js, but this is a separate issue). svn path=/trunk/; revision=28920
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 396c732d64..dea2305f9a 100644
--- a/configure.in
+++ b/configure.in
@@ -1448,14 +1448,7 @@ fi
AC_SUBST(STRNCASECMP_C)
AC_SUBST(STRNCASECMP_O)
-AC_CHECK_FUNC(mkstemp, MKSTEMP_O="",
- MKSTEMP_O="mkstemp.o")
-if test "$ac_cv_func_mkstemp" = no ; then
- MKSTEMP_C="mkstemp.c"
- MKSTEMP_O="mkstemp.o"
-fi
-AC_SUBST(MKSTEMP_C)
-AC_SUBST(MKSTEMP_O)
+AC_CHECK_FUNCS(mkstemp mkdtemp)
#
# XXX - if inet_aton isn't found, the build fails, with a complaint from