From: Albert Chin-A-Young Date: Wed, 30 Jul 2003 18:40:25 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Correctly remove IRIX C++ X-Git-Tag: help~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc12d937c22523039a606a57f2da0b816f1c643;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Correctly remove IRIX C++ template files. --- 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*