Request 200 was acted upon.
_________________________________________________________________________

         URL: https://rt.openpkg.org/id/200
      Ticket: [OpenPKG #200]
     Subject: Libtool, dependency on automake
  Requestors: [EMAIL PROTECTED]
       Queue: openpkg
       Owner: Nobody
      Status: new
 Transaction: Ticket created by [EMAIL PROTECTED]
        Time: Thu Jul 10 03:45:01 2003
_________________________________________________________________________

I've been working on a local project here using automake, autoconf, and
libtool, and have run into a bunch of warning messages from acinclude.m4
from libtool-1.5-20030416 running with automake-1.7.5-20030518.

I made a couple of minor tweaks to the libtool.spec file to (a) add a
dependency on automake, and (b) rebuild all aclocal.m4 and Makefile.in
files with ``aclocal'' and ``automake'' so they're in agreement with the
installed automake.  Updating the *demo databases is probably redundant,
but it seems to me that consistency is probably a Good Thing(tm).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When only cops have guns, it's called a ``police state''.
        -- Claire Wolfe, "101 Things To Do Until The Revolution"

--- libtool.spec.orig	Wed Jul  9 18:01:49 2003
+++ libtool.spec	Wed Jul  9 18:24:25 2003
@@ -33,7 +33,7 @@
 Group:        Development
 License:      GPL
 Version:      1.5
-Release:      20030416
+Release:      20030709
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
@@ -41,8 +41,8 @@
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, make
-PreReq:       OpenPKG, openpkg >= 20020206
+BuildPreReq:  OpenPKG, openpkg >= 20020206, make, automake
+PreReq:       OpenPKG, openpkg >= 20020206, automake
 AutoReq:      no
 AutoReqProv:  no
 
@@ -55,6 +55,19 @@
     %setup -q
 
 %build
+	# Automake is tied very tightly to automake so needs to have
+	# the current versions of aclocal.m4 and friends
+	for aclocal in `find . -name aclocal.m4 -print` ; do
+		dir=`dirname $aclocal`
+		(	cd $dir
+			aclocal
+			case "$dir" in #{(
+				*demo)	automake;;
+			esac #}
+		);
+	done
+	automake
+	autoconf
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
     ./configure \

Reply via email to