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

gEDA-user: [PATCH] Use libtool 1.5.x macros (AC_PROG_LIBTOOL instead of LT_INIT).



On Thu, 06 Aug 2009 23:09:41 +0100, Peter TB Brett <peter@xxxxxxxxxxxxx>
wrote:

> gEDA can be successfully compiled and installed in one pass, with none
> of the, "Install X, *then* you can compile Y," messing about that we
> currently have.  Check it out!
> 
>   git clone git://repo.or.cz/geda-gaf/peter-b.git
>   git checkout origin/build-system
>   ./autogen.sh && ./configure && make
> 

In addition to the problem Ivan encountered (i.e. my personal repo is
messed up), the branch currently requires Libtool 2.x.  The attached patch
makes it work with older libtool versions.

(Yeah, yeah, I should bring my SSH keys to work with me).

Peter

-- 
Peter Brett <peter@xxxxxxxxxxxxx>
Remote Sensing Research Group
Surrey Space Centre
From cdfbee594aebd6098c2fd29e08a86a4e3ce688f5 Mon Sep 17 00:00:00 2001
From: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date: Fri, 7 Aug 2009 15:24:39 +0100
Subject: [PATCH] Use libtool 1.5.x macros (AC_PROG_LIBTOOL instead of LT_INIT).

In the recent 2.x releases of libtool, AC_PROG_LIBTOOL has been
deprecated in favour of LT_INIT.  However, these were recent enough
that we should still support the older 1.5.x libtool releases.

This patch uses AC_PROG_LIBTOOL and similar macros instead of the new
LT_INIT syntax.

 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8370f96..960f966 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,10 @@ AC_CANONICAL_HOST
 
 AC_PROG_CC
 AC_PROG_CPP
-LT_INIT([disable-static win32-dll])
+
+AC_LIBTOOL_WIN32_DLL
+AC_DISABLE_STATIC
+AC_PROG_LIBTOOL
 
 AM_PROG_CC_C_O
 AX_GCC_FLAGS([-Wall])
-- 
1.6.3.3


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user