From 1c0c1a126a8a5b4156751ec17fdea4720e1fc0b4 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Wed, 19 Sep 2012 13:50:04 +0100 Subject: [PATCH] build: Create the libtool file early as it's used by AS_GLIBCONFIG glib's configure.ac uses libtool to determine the extension of shared libraries. So let's generate the libtool file early in configure. Reviewed-by: Robert Bragg (cherry picked from commit ae457e0e2463bcec4f5891778e8ada9924f91be7) --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 656533573..72f081e05 100644 --- a/configure.ac +++ b/configure.ac @@ -170,6 +170,9 @@ dnl AC_PROG_LIBTOOL dnl LIBTOOL="$LIBTOOL --preserve-dup-deps" LT_PREREQ([2.2.6]) LT_INIT([disable-static]) +dnl when using libtool 2.x create libtool early, because it's used in the +dnl internal glib configure (as-glibconfig.m4) +m4_ifdef([LT_OUTPUT], [LT_OUTPUT]) dnl ================================================================ dnl See what platform we are building for