From 256705f4bd88d4a240f4661faea339e6bddef48f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 31 Oct 1998 15:15:26 +0000 Subject: Update. 1998-10-31 Ulrich Drepper * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to avoid ld test generating an unwanted file. --- aclocal.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'aclocal.m4') diff --git a/aclocal.m4 b/aclocal.m4 index 9613ec61b5..4da7ef89b4 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -100,11 +100,12 @@ cross_compiling=$ac_cv_prog_cc_cross AC_DEFUN(LIBC_PROG_FOO_GNU, [# Most GNU programs take a -v and spit out some text including # the word 'GNU'. Some try to read stdin, so give them /dev/null. -if $1 -v &1 | grep GNU > /dev/null 2>&1; then +if $1 -o conftest -v &1 | grep GNU > /dev/null 2>&1; then $2 else $3 -fi]) +fi +rm -fr contest*]) AC_DEFUN(LIBC_PROG_BINUTILS, [# Was a --with-binutils option given? -- cgit v1.2.3