From cdd860538dec11a07f4566b1bfacb186de4f166b Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 9 Sep 2002 08:27:18 +0000 Subject: [PATCH] * m4/init.m4: Execute cygpath in a sub-shell. --- ChangeLog | 4 ++++ aclocal.m4 | 2 +- m4/init.m4 | 2 +- tests/Makefile.in | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f5c6f44..1824b80a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-09-09 Alexandre Duret-Lutz + + * m4/init.m4: Execute cygpath in a sub-shell. + 2002-09-08 Alexandre Duret-Lutz * automake.in (macro_define): Warn about `:=' assignments. diff --git a/aclocal.m4 b/aclocal.m4 index ea4e123d..c456519f 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -71,7 +71,7 @@ fi # test whether we have cygpath if test -z "$CYGPATH_W"; then - if cygpath --version >/dev/null 2>/dev/null; then + if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo diff --git a/m4/init.m4 b/m4/init.m4 index 2dedfe30..1ceb8333 100644 --- a/m4/init.m4 +++ b/m4/init.m4 @@ -58,7 +58,7 @@ fi # test whether we have cygpath if test -z "$CYGPATH_W"; then - if cygpath --version >/dev/null 2>/dev/null; then + if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo diff --git a/tests/Makefile.in b/tests/Makefile.in index 81a8eda0..67b3943a 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -521,7 +521,7 @@ subdir = tests mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs CONFIG_CLEAN_FILES = defs DIST_SOURCES = -DIST_COMMON = Makefile.am Makefile.in configure.in defs.in +DIST_COMMON = Makefile.am Makefile.in defs.in all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am -- 2.43.5