[cogl/wip/standalone] build: Create the libtool file early as it's used by AS_GLIBCONFIG



commit 1ee4067a5bab83e23e185d2be10b457c5c74f9cb
Author: Damien Lespiau <damien lespiau intel com>
Date:   Wed Sep 19 13:50:04 2012 +0100

    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.

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 39d7694..ff99252 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,6 +160,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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]