On 18 Jan 2008, at 05:44, Ralf Wildenhues wrote:
Hi Gary,

Hallo Ralf,

* Gary V. Vaughan wrote on Thu, Jan 17, 2008 at 08:16:46PM CET:
I'm not convinced that this is the cleanest way to achieve this, but
in any case the equivalent is needed in order for 'make distcheck'
to pass with current libtool HEAD.

Thanks for the report. The patch looks too broad. What about this one?

I thought it better to remove all of the file droppings we check for in
_AC_COMPILER_OBJEXT_REJECT, incase I move to an OS that drops one of the
other files and try to run make distcheck for libtool...

Note that it is actually an a.out.dSYM file that distcheck chokes on, so
removing conftest.dSYM is no help :-(

Also, see my other reply on this thread for more detail.

diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4
index f17aa8c..567240e 100644
--- a/lib/autoconf/lang.m4
+++ b/lib/autoconf/lang.m4
@@ -630,7 +630,8 @@ AS_IF([_AC_DO_VAR(ac_compile)],
done],
      [_AC_MSG_LOG_CONFTEST
AC_MSG_FAILURE([cannot compute suffix of object files: cannot compile])])
-rm -f conftest.$ac_cv_objext conftest.$ac_ext])
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+rm -rf conftest.dSYM])
AC_SUBST([OBJEXT], [$ac_cv_objext])dnl
ac_objext=$OBJEXT
])# _AC_COMPILER_OBJEXT

Cheers,
        Gary
--
  ())_.              Email me: [EMAIL PROTECTED]
  ( '/           Read my blog: http://blog.azazil.net
  / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to