Package: libtool
Version: 2.2.6

(not sure if this is libtool or libltdl-dev first bug)

We are experiencing libtool errors due to ltdl.m4 macros containing this:

# _LT_BUILD_PREFIX
# ----------------
# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise
# to `${top_builddir}/'.
m4_define([_LT_BUILD_PREFIX],
[m4_ifdef([AC_AUTOCONF_VERSION],
   [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]),
          [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX],
                          [${top_build_prefix}],
                          [${top_builddir}/])],
          [${top_build_prefix}])],
   [${top_builddir}/])[]dnl
])


When built on Debian or Ubuntu with autoconf 2.63:
 ${top_build_prefix} equates to empty
 ${top_builddir} equates to the path needed
 _AC_HAVE_TOP_BUILD_PREFIX is not defined as far as I can tell.

yet ltdl attempts to expand to $top_build_prefix. This leads to path errors at link time when building out-of-tree.


Amos



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to