bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X Leopard and conftest.dSYM directories


From: Ralf Wildenhues
Subject: Re: Mac OS X Leopard and conftest.dSYM directories
Date: Sun, 11 Nov 2007 18:51:56 +0100
User-agent: Mutt/1.5.17 (2007-11-08)

[ <http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/5811/focus=5817> ]

AFAICS Automake needs no changes.
Proposed patches for Libtool HEAD and branch-1-5.  OK?

Cheers,
Ralf

2007-11-11  Ralf Wildenhues  <address@hidden>

        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.

Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.120
diff -u -r1.120 libtool.m4
--- libltdl/m4/libtool.m4       12 Oct 2007 20:54:44 -0000      1.120
+++ libltdl/m4/libtool.m4       11 Nov 2007 17:48:47 -0000
@@ -870,7 +870,7 @@
 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 @@
        $2=yes
      fi
    fi
-   $RM conftest*
+   $RM -r conftest*
    LDFLAGS="$save_LDFLAGS"
 ])
 
@@ -3355,7 +3355,7 @@
     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



2007-11-11  Ralf Wildenhues  <address@hidden>

        Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
        * libtool.m4 (_LT_LINKER_BOILERPLATE, AC_LIBTOOL_LINKER_OPTION)
        (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Remove conftest.dSYM
        directory.
        Report and analysis by Jeff Squyres and Peter O'Gorman.

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.188
diff -u -r1.314.2.188 libtool.m4
--- libtool.m4  11 Oct 2007 17:25:06 -0000      1.314.2.188
+++ libtool.m4  11 Nov 2007 17:50:04 -0000
@@ -276,7 +276,7 @@
 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
 
 
@@ -700,7 +700,7 @@
        $2=yes
      fi
    fi
-   $rm conftest*
+   $rm -r conftest*
    LDFLAGS="$save_LDFLAGS"
 ])
 
@@ -4910,7 +4910,7 @@
     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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]