From f4695bde760e9e4b9ea781a7719276a2ab53e45b Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 12 Nov 2007 19:44:05 +0000 Subject: [PATCH] Avoid warnings about conftest.dSYM directories on Mac OS X Leopard. * libltdl/m4/libtool.m4 (_LT_LINKER_BOILERPLATE) (_LT_LINKER_OPTION, _LT_CMD_GLOBAL_SYMBOLS): Remove conftest.dSYM directory. Report and analysis by Jeff Squyres and Peter O'Gorman. --- ChangeLog | 8 ++++++++ libltdl/m4/libtool.m4 | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7b5841d4..1a18dfd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-11-12 Ralf Wildenhues + + Avoid warnings about conftest.dSYM directories on Mac OS X Leopard. + * libltdl/m4/libtool.m4 (_LT_LINKER_BOILERPLATE) + (_LT_LINKER_OPTION, _LT_CMD_GLOBAL_SYMBOLS): Remove + conftest.dSYM directory. + Report and analysis by Jeff Squyres and Peter O'Gorman. + 2007-11-09 Ralf Wildenhues * libltdl/configure.ac: Drop the broken and long-disabled code diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 1eaebc79..34e6bfc0 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -870,7 +870,7 @@ ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` -$RM conftest* +$RM -r conftest* ])# _LT_LINKER_BOILERPLATE @@ -1338,7 +1338,7 @@ AC_CACHE_CHECK([$1], [$2], $2=yes fi fi - $RM conftest* + $RM -r conftest* LDFLAGS="$save_LDFLAGS" ]) @@ -3355,7 +3355,7 @@ _LT_EOF echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi - rm -f conftest* conftst* + rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then