From: Jim Meyering Date: Mon, 20 Dec 2004 16:39:24 +0000 (+0000) Subject: Do the `cd' in a subshell. X-Git-Tag: v5.3.0~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d240b9d744e4def7cfd921c37a9f326bceadf40;p=thirdparty%2Fcoreutils.git Do the `cd' in a subshell. --- diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4 index 320e520928..4b036c927a 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 int main () @@ -37,6 +37,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP], gl_cv_func_mkstemp_limitations=yes, gl_cv_func_mkstemp_limitations=yes ) + ) ] ) fi