From 1dc12d937c22523039a606a57f2da0b816f1c643 Mon Sep 17 00:00:00 2001 From: Albert Chin-A-Young Date: Wed, 30 Jul 2003 18:40:25 +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 a6365cb6c..f83134b8d 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-24 Robert Millan * libtool.m4: More fixes for the new GNU/FreeBSD triplet. 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.2