libtool-patches
[Top][All Lists]
Advanced

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

Re: libtool 1.4.3 vs. UnixWare/OpenUNIX


From: Bob Friesenhahn
Subject: Re: libtool 1.4.3 vs. UnixWare/OpenUNIX
Date: Tue, 25 Mar 2003 14:44:22 -0600 (CST)

> Here is an example of cvs update -> bootstrap -> testsuite run.
> The point is that I don't have any trouble with bootstrapping,
> aside from a warning message.  What is stopping the rest of
> you from running?

% cvs -d :pserver:address@hidden:/cvsroot/libtool co -d
   libtool-test libtool
% cd libtool-test
% ./bootstrap
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
Makefile.am: installing `./COPYING'
Makefile.am: installing `./INSTALL'
doc/Makefile.am:4: installing `doc/mdate-sh'
doc/Makefile.am:4: installing `doc/texinfo.tex'
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
configure.ac:69: installing `./config.guess'
configure.ac:69: installing `./config.sub'
Makefile.am: object `hello.lo' created both with libtool and without
Makefile.am: object `foo.lo' created both with libtool and without
Makefile.am: object `longer_file_name_hello.lo' created both with libtool and 
without
Makefile.am: object `longer_file_name_foo.lo' created both with libtool and 
without
configure.ac:31: required file `./config-h.in' not found
                                ^^^^^^^^^^^^^^^^^^^^^^^^

I have the following patch applied to my own copy (note that
AC_CONFIG_HEADERS is not portable to old Automake, which expects
AC_CONFIG_HEADER), but it is still not sufficient since I still have
to run autoheader by hand.  I then need to run configure, use Sun's
'make' to do the first 'make', and then I can use GNU make from then
on with no problems.  There must be a race condition in the
dependencies.

Index: bootstrap
===================================================================
RCS file: /cvsroot/libtool/libtool/bootstrap,v
retrieving revision 1.24
diff -u -r1.24 bootstrap
--- bootstrap   25 Feb 2003 00:30:28 -0000      1.24
+++ bootstrap   25 Mar 2003 20:40:50 -0000
@@ -41,7 +41,10 @@
   done

   $ACLOCAL
-  test $sub = libltdl && $AUTOHEADER
+  case $sub in libltdl | f77demo)
+    rm -f config-h.in
+    $AUTOHEADER ;;
+  esac
   eval $AUTOMAKE $AUTOMAKE_FLAGS
   $AUTOCONF
   cd $top_srcdir
Index: configure.ac
===================================================================
RCS file: /cvsroot/libtool/libtool/configure.ac,v
retrieving revision 1.14
diff -u -r1.14 configure.ac
--- configure.ac        22 Mar 2003 06:34:27 -0000      1.14
+++ configure.ac        25 Mar 2003 20:40:50 -0000
@@ -53,7 +53,7 @@
 ## Automake Initialisation. ##
 ## ------------------------ ##
 AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME, AC_PACKAGE_VERSION)
-
+AC_CONFIG_HEADERS(config.h)

 ## ------------------------------- ##
 ## Libtool specific configuration. ##

======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen






reply via email to

[Prev in Thread] Current Thread [Next in Thread]