From 5a911ceb65165a4293830503afd257a9bd474bc7 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 6 Mar 2016 18:06:38 +0100 Subject: [PATCH] Fix building with older versions of libtool The libtool on RHEL5 doesn't set LTDEPS, therefore we failed to compile the builtin ltdl lib. It does however set LIBLTDL to the path of the if it is going to build an internal one. Use that. Fixes building from git on RHEL5 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e3ade4a8..c0c4be3d 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,7 @@ m4_ifdef([LT_PACKAGE_VERSION], ] ) -AM_CONDITIONAL([BUILD_INCLUDED_LTDL], [test "x$LTDLDEPS" != "x"]) +AM_CONDITIONAL([BUILD_INCLUDED_LTDL], [test "x${LIBLTDL}" = 'x${top_builddir}/libltdl/libltdlc.la']) AM_INIT_AUTOMAKE([tar-pax dist-bzip2 foreign]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -- 2.30.2