summaryrefslogtreecommitdiff
path: root/m4/mkstemp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/mkstemp.m4')
-rw-r--r--m4/mkstemp.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4
index 320e52092..4b036c927 100644
--- a/m4/mkstemp.m4
+++ b/m4/mkstemp.m4
@@ -16,7 +16,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
gl_cv_func_mkstemp_limitations,
[
mkdir conftest.mkstemp
- cd conftest.mkstemp
+ ( cd conftest.mkstemp
AC_TRY_RUN([
# include <stdlib.h>
int main ()
@@ -37,6 +37,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
gl_cv_func_mkstemp_limitations=yes,
gl_cv_func_mkstemp_limitations=yes
)
+ )
]
)
fi