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.

Please apply something similar.

2008-01-18  Gary V. Vaughan  <[EMAIL PROTECTED]>

        * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Be sure to remove
        compiler file droppings.  For example, without this patche, it
        is impossible for 'make distcheck' to succeed with libtool HEAD
        on Mac OS 10.5

Cheers,
        Gary
  ---
   ChangeLog            |    0
   lib/autoconf/lang.m4 |    8 ++++++++
   2 files changed, 8 insertions(+)

  Index: b/ChangeLog
  from  Gary V. Vaughan  <[EMAIL PROTECTED]>

        * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Be sure to remove
        compiler file droppings.  For example, without this patche, it
        is impossible for 'make distcheck' to succeed with libtool HEAD
        on Mac OS 10.5

  Index: b/lib/autoconf/lang.m4
  ===================================================================
  --- a/lib/autoconf/lang.m4
  +++ b/lib/autoconf/lang.m4
  @@ -633,6 +633,14 @@ AC_MSG_FAILURE([cannot compute suffix of
   rm -f conftest.$ac_cv_objext conftest.$ac_ext])
   AC_SUBST([OBJEXT], [$ac_cv_objext])dnl
   ac_objext=$OBJEXT
  +
  +# Clean up potential compiler droppings:
  +ac_files="a.out.* a.exe.* a_out.exe.* b.out.* conftest.*"
  +for ac_file in $ac_files; do
  +  case $ac_file in
  +    _AC_COMPILER_OBJEXT_REJECT ) rm -rf $ac_file ;;
  +  esac
  +done
   ])# _AC_COMPILER_OBJEXT



--
  ())_.              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