If a local library was found and not installed, libtool will create a wrapper
script to call the binary from the .libs directory. This patch will remove
searching for local libraies so that the installed libraries are always used.
Signed-off-by: Rich Johnston <rjohnston@xxxxxxx>
---
m4/package_xfslibs.m4 | 6 ------
1 file changed, 6 deletions(-)
Index: b/m4/package_xfslibs.m4
===================================================================
--- a/m4/package_xfslibs.m4
+++ b/m4/package_xfslibs.m4
@@ -40,8 +40,6 @@ AC_DEFUN([AC_PACKAGE_NEED_LIBXFSINIT_LIB
exit 1
])
libxfs="-lxfs"
- test -f `pwd`/../xfsprogs/libxfs/libxfs.la && \
- libxfs="`pwd`/../xfsprogs/libxfs/libxfs.la"
test -f ${libexecdir}${libdirsuffix}/libxfs.la && \
libxfs="${libexecdir}${libdirsuffix}/libxfs.la"
AC_SUBST(libxfs)
@@ -56,8 +54,6 @@ AC_DEFUN([AC_PACKAGE_NEED_OPEN_BY_FSHAND
exit 1
])
libhdl="-lhandle"
- test -f `pwd`/../xfsprogs/libhandle/libhandle.la && \
- libhdl="`pwd`/../xfsprogs/libhandle/libhandle.la"
test -f ${libexecdir}${libdirsuffix}/libhandle.la && \
libhdl="${libexecdir}${libdirsuffix}/libhandle.la"
AC_SUBST(libhdl)
@@ -72,8 +68,6 @@ AC_DEFUN([AC_PACKAGE_NEED_ATTRLIST_LIBHA
exit 1
])
libhdl="-lhandle"
- test -f `pwd`/../xfsprogs/libhandle/libhandle.la && \
- libhdl="`pwd`/../xfsprogs/libhandle/libhandle.la"
test -f ${libexecdir}${libdirsuffix}/libhandle.la && \
libhdl="${libexecdir}${libdirsuffix}/libhandle.la"
AC_SUBST(libhdl)
|