From 5231d9eb1814587261ec35801569ebcfc0f610e6 Mon Sep 17 00:00:00 2001 From: Albert Chin-A-Young Date: Wed, 30 Jul 2003 21:33:57 +0000 Subject: [PATCH] * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Correctly remove IRIX C++ template files. --- ChangeLog | 5 +++++ libtool.m4 | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1aec94eeb..a437372fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-07-30 Albert Chin-A-Young + + * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Correctly remove IRIX C++ + template files. + 2003-07-30 Christiaan Welvaart * tests/dryrun.test: Ignore any 'total' line from "ls -l" output. diff --git a/libtool.m4 b/libtool.m4 index 9f0ac9496..579b9471b 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -958,8 +958,11 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], fi fi chmod u+w . - $rm conftest* out/* - rmdir out + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* -- 2.47.3