Re: icc dependency generation

2003-06-26 Thread Ralf Wildenhues
* Akim Demaille wrote on Thu, Jun 26, 2003 at 02:47:24PM CEST: On Thu, Jun 26, 2003 at 11:23:04AM +0200, Ralf Wildenhues wrote: Intel compiler icc version 7.1 handles the -MF option inconsistently. [...] Subsequently, the depcomp 'icc' mode will not be detected correctly during

KAI compiler dependency generation

2003-06-27 Thread Ralf Wildenhues
automake's depcomp script could be adjusted to recognize the dependency generation option of the KAI C++/C compiler, version 4.0. Don't know if this would be useful to people, as the compiler is not developed any more, but just in case: | $ KCC --c --output_dependencies deps/bar.baz -c -o

Re: KAI compiler dependency generation

2003-08-14 Thread Ralf Wildenhues
* I wrote on Fri, Jun 27, 2003 at 10:12:27AM CEST: automake's depcomp script could be adjusted to recognize the dependency generation option of the KAI C++/C compiler, version 4.0. Don't know if this would be useful to people, as the compiler is not developed any more, but just in case: [

distcheck failure: version.texi

2003-12-09 Thread Ralf Wildenhues
Hi there, With current CVS automake, 'make distcheck' fails on automake, because readonly file version.texi in readonly directory cannot be written to. I suppose the change from 2003-11-08 caused this, but as I don't understand all the implications, I won't suggest a fix. Regards, Ralf [ after

Re: distcheck failure: version.texi

2003-12-15 Thread Ralf Wildenhues
* Alexandre Duret-Lutz wrote on Tue, Dec 09, 2003 at 10:34:44PM CET: Ralf == Ralf Wildenhues [EMAIL PROTECTED] writes: Ralf With current CVS automake, 'make distcheck' fails on automake, On which OS? with which version of Make, sh, etc.? RedHat 9: linux 2.4.20, GNU make 3.79.1, bash

Re: Calling other external Makefiles and outside Make systems

2004-01-26 Thread Ralf Wildenhues
* Alexandre Duret-Lutz wrote on Mon, Jan 26, 2004 at 09:56:41PM CET: Ralf == Ralf Wildenhues [EMAIL PROTECTED] writes: Ralf A few issues that come to my mind possibly worth Ralf improving (not the documentation, but Auto{make,conf} Ralf with this respect) are Ralf - provide a way

Re: Calling other external Makefiles and outside Make systems

2004-01-26 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Tue, Jan 27, 2004 at 12:03:56AM CET: On Mon, 26 Jan 2004, Ralf Wildenhues wrote: Oh, yes, you're right. braino, sorry. This one is not about not changing the subpackage, but about saving space in the combined package. After all, auxiliary scripts

searching for libtool.m4 in tests/defs

2004-05-26 Thread Ralf Wildenhues
The Automake test suite (CVS HEAD version) explicitly looks for libtool.m4 in aclocaldir and a list of directories specified in the dirlist file there. Now recent CVS Libtool versions remove libtool.m4 from that location and add it to .../share/libtool/m4/ . This lead to many SKIPped tests in the

Re: searching for libtool.m4 in tests/defs

2004-05-27 Thread Ralf Wildenhues
* Gary V. Vaughan wrote on Thu, May 27, 2004 at 05:57:47PM CEST: Ralf Wildenhues wrote: *snip* | Automake, a Libtool or a user problem? Why is there no standard way to | ask a libtoolize for its corresponding m4 files (at least, one would | think, newer versions would improve this situation

Re: simple Q: linking against another static lib

2004-06-03 Thread Ralf Wildenhues
* joseph speigle wrote on Thu, Jun 03, 2004 at 03:56:31AM CEST: hope this arrives well, if it's too easy such is life. However, I found a good link for my problem which doesn't work. I want to statically compile into my final executable a library (libpqxx.a -- the c++ postgresql client

Re: Subdirectories: automake wants GNU mandatory files in every directory

2004-06-03 Thread Ralf Wildenhues
* Stephane Bortzmeyer wrote on Thu, Jun 03, 2004 at 12:32:06PM CEST: I use automake for a project with subdirectories (here a test with a dummy program). When I change a Makefile.am in a subdirectory, 'make' cannot rebuild the files because it runs automake with the --gnu option, which is

Re: Using two compilers

2004-06-07 Thread Ralf Wildenhues
* Juha Jäykkä wrote on Mon, Jun 07, 2004 at 11:10:53AM CEST: Hello! I found the following piece of conversation on how to compile parts of a program with a non-standard CC. It is from the automake list archives. I have exactly the same situation: a set of source files must be compiled with

Re: difference between link objects and librarys

2004-06-21 Thread Ralf Wildenhues
* David T Farning wrote on Mon, Jun 21, 2004 at 12:41:00AM CEST: I am unclear as to the difference between LIBADD and LDADD. Diffent resources seems to say different things. To make it clear: Whether to use *_LDADD or *_LIBADD, does not depend on what's to the right of it (may that be a

Re: rsync to copy files?

2004-06-24 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Thu, Jun 24, 2004 at 02:16:37AM CEST: On Wed, 23 Jun 2004, Warren Young wrote: Bob Friesenhahn wrote: I have learned that using 'rsync' to copy files improves the install time quite dramatically for repeat installs. *snip* Instead of chasing this solution, try

Re: rsync to copy files?

2004-06-24 Thread Ralf Wildenhues
Please reply to list only (I have Mail-Followup-To: set), or at least use the same message for both replies, so I don't have to reply twice. Thank you. * Volker Boerchers wrote on Thu, Jun 24, 2004 at 03:57:35PM CEST: On Thu, 24 Jun 2004, Ralf Wildenhues wrote: * Bob Friesenhahn wrote on Thu

Re: Installing libraries

2004-09-07 Thread Ralf Wildenhues
* Thomas Degris wrote on Tue, Sep 07, 2004 at 10:18:32AM CEST: I would like to know how do I install (by default) all the libraries in $prefix/lib/my_package instead of $prefix/lib. 2 Possibilities: - Use pkglib_ instead of lib_ (preferred). - Read up on the nobase_ prefix if your source

Re: How to revise automake.am

2004-09-10 Thread Ralf Wildenhues
* Zhi Qing Wu wrote on Fri, Sep 10, 2004 at 02:48:38PM CEST: I am not very familiar with automake. Its documentation has grown to be quite readable and understandable. I need to insert a class into an existing project (programed by someone else). I only have the the header file and

Re: How to revise automake.am

2004-09-14 Thread Ralf Wildenhues
* Zhi Qing Wu wrote on Fri, Sep 10, 2004 at 08:31:51PM CEST: Thanks for your quick reply. By following your advice, I did some changes to Makefile.am: The original Makefile.am: ... modpermisdir = $(libexecdir) modpermis_LTLIBRARIES = mod_permis.la mod_permis_la_SOURCES = mod_permis.cpp

Re: compile problem

2004-09-20 Thread Ralf Wildenhues
Alexandre Duret-Lutz writes: Gary == Gary V Vaughan [EMAIL PROTECTED] writes: Gary But for a project built with `make -j', we still need AM_PROG_CC_C_O Gary and _LT_COMPILER_C_O to understand each others' locks :-( Seems so. I thought it was not needed because when AM_PROG_CC_C_O decides

Re: Automake 1.9 problem?

2004-09-22 Thread Ralf Wildenhues
Alvaro Lopez Ortega writes: I have a little problem with the new automake release. It prints the following error messages: /usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in

Re: Automake and libltdl

2004-10-06 Thread Ralf Wildenhues
* Thomas Degris wrote on Mon, Oct 04, 2004 at 11:35:53PM CEST: I am using Automake (and autoconf) and libltdl in my package. I would like to know what is the best way to add a --enable-debug option to my configure.ac file to compile my package and the libltdl library with -ggdb3 flag (and

Re: Compiling large number of files

2004-10-06 Thread Ralf Wildenhues
* v p wrote on Thu, Oct 07, 2004 at 01:08:54AM CEST: Hi Guys, I have a question. I am using autotools to build my static library. The way I do it is, I have a Makefile.am as lib_LIBRARIES = libmylib.a libmylib_a_SOURCES = xyz.c abc.c etc. The problem is the number of source files is huge

Re: Forcing the linking language

2004-10-18 Thread Ralf Wildenhues
* Norman Gray wrote on Fri, Oct 15, 2004 at 11:19:21PM CEST: Is there any way of indicating to automake which language to use when linking a library? I'm assembling a (shared) library using convenience libraries: lib_LTLIBRARIES = libfoo.la libfoo_la_SOURCES = libfoo_la_LIBADD =

Re: Makefile not updated on Makefile.am change?

2004-11-22 Thread Ralf Wildenhues
* Christian Parpart wrote on Mon, Nov 22, 2004 at 12:05:13PM CET: recently, when I change the Makefile.am, the makefile am doesn't get regenerated on `make`. Somebody put AM_MAINTAINER_MODE in configure.ac? Is this usual, or what could be wrong? If the above: re-configure with

Re: Installing (everything in) a generated directory

2004-11-25 Thread Ralf Wildenhues
* Braden McDaniel wrote on Thu, Nov 25, 2004 at 01:00:23AM CET: I have the following Makefile.am: docdir = $(datadir)/doc/@[EMAIL PROTECTED]@PACKAGE_VERSION@ EXTRA_DIST = manual MAINTAINERCLEANFILES = manual/* html: manual installdirs-local: $(mkinstalldirs)

Re: RFC for new FAQ entry: Flag Variables Ordering

2004-11-30 Thread Ralf Wildenhues
* Alexandre Duret-Lutz wrote on Tue, Nov 30, 2004 at 01:49:07AM CET: There have been questions and even bug reports about this lately. So here is an attempt to document the difference between CFLAGS, AM_CFLAGS, and mumble_CFLAGS, how they are ordered, and how they should be (or not be) used.

Re: Support for precompiled C++ headers

2004-12-02 Thread Ralf Wildenhues
* Tom Tromey wrote on Thu, Dec 02, 2004 at 01:41:30AM CET: Roberto == Roberto Bagnara [EMAIL PROTECTED] writes: Roberto Can anyone point me to a C++ project that is working with Roberto precompiled headers and that is doing it with the currently Roberto available versions of automake and

Re: Error because README is missing

2004-12-06 Thread Ralf Wildenhues
* Paul Smith wrote on Sun, Dec 05, 2004 at 08:25:56PM CET: %% Akim Demaille [EMAIL PROTECTED] writes: ad Finally, note that you are allowed to ask config.status to perform ad substitutions on files it doesn't know[1]. In your case, I'm unsure ad binding the instantiation to configure

Re: Error because README is missing

2004-12-06 Thread Ralf Wildenhues
* Stepan Kasal wrote on Mon, Dec 06, 2004 at 10:03:27AM CET: Hello, On Mon, Dec 06, 2004 at 09:28:17AM +0100, Ralf Wildenhues wrote: AC_OUTPUT touch foo.in ./config.status --file foo why the ``touch''? (./config.status doesn't check the timestamps.) Oh, that was just copy-n-paste

Re: Newbie needs some help

2004-12-18 Thread Ralf Wildenhues
* Hong Li wrote on Sat, Dec 18, 2004 at 12:25:45AM CET: I am pretty new for Automake, autoconf.. Your question is an Autoconf one, actually. I have a project and I already have both linux and Unix verions. Now I wish to have a distribution using configure tools. it is pretty easy to go

Re: Automake and new tar

2004-12-28 Thread Ralf Wildenhues
Hi Robert, * Robert Collins wrote on Tue, Dec 28, 2004 at 12:35:48PM CET: On Thu, 2004-11-25 at 21:59 +0100, Christian Fredrik Kalager Schaller wrote: I am maintainer of a GNOME module called gnome-themes-extras containing a set of metathemes for the GNOME desktop. After upgrading my

Re: 'make ctags' and vim

2004-12-30 Thread Ralf Wildenhues
Hi Konstantin, * Konstantin Osipov wrote on Thu, Dec 23, 2004 at 07:52:28PM CET: I was playing with 'make ctags' goal of automake, but I couldn't make it generate a linked tree of tags files, as it happens with emacs-like `make tags', The only way to kind-of make all `tags' of the project

CCing list replies (was: Configuring automake says autoconf 2.58 or higher needed. Have au toconf 2.59 installed. What is/goes wrong?)

2005-01-16 Thread Ralf Wildenhues
Hi Alexandre, * Alexandre Duret-Lutz wrote on Sat, Jan 15, 2005 at 01:15:31PM CET: PS: I know this is not the first time, but I simply do not understand why you respond to bug reports without Cc: the reporter. We are all losers with this: you waste your time writing an answer

Re: Clean folders

2005-01-20 Thread Ralf Wildenhues
* Leonardo Boiko wrote on Thu, Jan 20, 2005 at 04:21:10PM CET: clean-local: rm -rf .build I'm having a similar problem. I want to create a convenience .am file with rules that many of our packages will use, to be included by Makefile.am's. I'm already using neat tricks people talked

Re: ... linker problems

2005-01-24 Thread Ralf Wildenhues
* Antonio Coralles wrote on Sat, Jan 22, 2005 at 12:08:32AM CET: I'm completley no to automake. Allthough it seems to be a great tool i've some problems switching a programm I'm writing on from hand-coded makefiles to GNU-automake. This program is written in c++ and uses the boost library,

Re: ... linker problems

2005-01-24 Thread Ralf Wildenhues
* Antonio Coralles wrote on Mon, Jan 24, 2005 at 06:07:08PM CET: Ralf Wildenhues wrote: * Antonio Coralles wrote on Sat, Jan 22, 2005 at 12:08:32AM CET: *snip* `.gnu.linkonce.t

Re: make dependencies not working for me...

2005-01-27 Thread Ralf Wildenhues
Hi Ed, Ralf, * Ralf Corsepius wrote on Fri, Jan 28, 2005 at 07:39:48AM CET: On Thu, 2005-01-27 at 09:42 -0700, Ed Hartnett wrote: Howdy all! I'm a developer working on netCDF, a freeware library for climate and Earth scientists. Recently I converted from our old time-honored and

Re: Running ./config.status

2005-02-04 Thread Ralf Wildenhues
* Noah Misch wrote on Fri, Feb 04, 2005 at 03:32:01PM CET: On Fri, Feb 04, 2005 at 02:49:29PM +0100, Ralf Corsepius wrote: On Fri, 2005-02-04 at 05:10 -0800, Noah Misch wrote: If you believe `man perlrun', some systems do not respect #! and start all scripts under csh.

Re: creating C++ libs contitionally

2005-03-01 Thread Ralf Wildenhues
Hi Mattias, * Mattias Barthel wrote on Wed, Feb 16, 2005 at 06:50:10PM CET: I am passing my Makefile.am's from 1.4 to 1.6. You should try to use a *recent* Automake. Like 1.9.x. Doing this I have encountered numerous incompatibility problems. Oh well. First when starting with 1.4, a

Re: Migriting from qmake to autotools

2005-03-07 Thread Ralf Wildenhues
Hi Juan Luis, * Juan Luis Baptiste wrote on Mon, Mar 07, 2005 at 08:05:06AM CET: In a first version of the project, all the sources where under a src directory, so writing a Makefile.am file was fairly trivial and the project compiled fine. Now, the sources under src have been grouped in

Re: Migriting from qmake to autotools

2005-03-07 Thread Ralf Wildenhues
* Juan Luis Baptiste wrote on Mon, Mar 07, 2005 at 09:50:29AM CET: On Mon 07 Mar 2005 02:46, Ralf Wildenhues wrote: Which Automake, g++ versions? automake 1.6.3 Quite old. Consider using 1.9.x. Should not be a showstopper for this problem, though. autoconf 2.59 g++ 3.4.1 source

Re: builddir vs. srcdir

2005-03-10 Thread Ralf Wildenhues
* Harald Dunkel wrote on Thu, Mar 10, 2005 at 09:27:34AM CET: Stepan Kasal wrote: On Tue, Mar 08, 2005 at 11:56:56PM +0200, Paul Pogonyshev wrote: foo.c foo.h : $(srcdir)/foo.list $(PARSE_LIST) $(PARSE_LIST) $(srcdir)/foo.list foo.h foo.c\ || (rm -f foo.c foo.h ; exit 1)

Re: Automake feature request

2005-03-10 Thread Ralf Wildenhues
Hi Ben, * Ben Elliston wrote on Wed, Mar 09, 2005 at 03:41:46AM CET: I approached the Libtool maintainers with this request, who convinced me that Automake was the right place to implement this. I would like Automake-generated Makefiles to pass --quiet to libtool when make is invoked with

Re: adding subdirectories

2005-03-11 Thread Ralf Wildenhues
* Baurjan Ismagulov wrote on Fri, Mar 11, 2005 at 11:39:58AM CET: One more question: how do I define that make alone should build zzz, and test1..testn should be built only when I do make check? Put them in check_PROGRAMS. Regards, Ralf

Re: creating C++ libs contitionally

2005-03-12 Thread Ralf Wildenhues
Hi Matthias, Please Cc: the automake list on replies, so others can help as well. * Mattias Barthel wrote on Tue, Mar 01, 2005 at 10:56:50AM CET: Ralf Wildenhues wrote: * Mattias Barthel wrote on Wed, Feb 16, 2005 at 06:50:10PM CET: I am passing my Makefile.am's from 1.4 to 1.6. You

Re: Including local macros with ACLOCAL_AMFLAGS

2005-03-15 Thread Ralf Wildenhues
Hi Rohnny, * Rohnny Moland wrote on Tue, Mar 15, 2005 at 10:46:13PM CET: I am trying to include my own local m4 macros to a project. In the automake documentation I read that the preferred way to do this would be to add the following line to the Makefile.am file: ACLOCAL_AMFLAGS = -I

Re: make uninstall could do rmdir

2005-03-16 Thread Ralf Wildenhues
Hi Stepan, * Stepan Kasal wrote on Wed, Mar 16, 2005 at 04:40:01PM CET: recently, I run make uninstall with a package I previously installed by make install. The package heavily uses the feature foodir = ... foo_HEADERS = ... and thus created many directories. After the

Re: config file location.

2005-03-24 Thread Ralf Wildenhues
Hi Guillaume, * Guillaume Rousse wrote on Thu, Mar 24, 2005 at 01:26:32PM CET: [ how to encode /etc ] So, am I supposed to use the sysconfdir macro, and have my configuration files installated in logical but unusual places by manual installation, or hardcode '/etc' path instead in my own

Re: Mixing BUILT_SOURCES, double quote include and separation of source and binary directory

2005-03-30 Thread Ralf Wildenhues
* Simon Perreault wrote on Wed, Mar 30, 2005 at 06:13:19PM CEST: On March 30, 2005 10:44, Ralf Wildenhues wrote: #include ../include/inc.h which is not portable, by the way (but I can see if you don't care about that part of the world). Why do you say that? That code is being ported

Re: Easy way to have a make target that omits some files?

2005-04-12 Thread Ralf Wildenhues
* Harald Dunkel wrote on Tue, Apr 12, 2005 at 08:24:45AM CEST: Kevin Teich wrote: I would like to add a target to our source tree that only installs certain files such 'make install' will install everything normally, but 'make release' will only install certain files. I would be

build order of `make' and template libs

2005-04-28 Thread Ralf Wildenhues
[ sorry for the cross-post, this concerns both tools ] SUSv3 states that `make' should update prerequisites to a target in the order in which they are given. However, I cannot find any reference to whether the resulting tree of out-of-date targets is traversed depth-first or breadth-first. Do

Re: Addint additional dependencies to a target

2005-04-28 Thread Ralf Wildenhues
Hi Ruediger, * Ruediger Ranft wrote on Thu, Apr 28, 2005 at 09:04:17AM CEST: currently I have a project where some C sources are automaticly generated by other programms during the build stage. So I added some rules like foo.c foo.h : foo.othersouce foocompiler

Re: Conditionally build a shared or convenience library

2005-05-12 Thread Ralf Wildenhues
Hi Mike, * Mike Heffner wrote on Wed, May 11, 2005 at 10:39:13PM CEST: lib_LTLIBRARIES= noinst_LTLIBRARIES= if FOO_STANDALONE lib_LTLIBRARIES+=libfoo.la else noinst_LTLIBRARIES+=libfoo.la endif Hmm, this works over here.

Re: Conditionally build a shared or convenience library

2005-05-12 Thread Ralf Wildenhues
I should have looked right away, sorry. * Ralf Wildenhues wrote on Thu, May 12, 2005 at 09:35:35AM CEST: * Mike Heffner wrote on Wed, May 11, 2005 at 10:39:13PM CEST: if FOO_STANDALONE lib_LTLIBRARIES+=libfoo.la else noinst_LTLIBRARIES+=libfoo.la

Re: Automake and makedepend

2005-05-13 Thread Ralf Wildenhues
* Harald Dunkel wrote on Fri, May 13, 2005 at 04:12:41PM CEST: Stan Guillory wrote: 2) Is there a way to force automake to set the depmode to makedepend? What happens if you run make CCDEPMODE=depmode=makedepend CXXDEPMODE=depmode=makedepend ? The answer to this question is

ideas for speeding up compile mode

2005-05-13 Thread Ralf Wildenhues
[ CC to automake because it is involved -- see below ] Have been thinking a little about speeding up compile mode. Unfortunately, there is no trivial trick like for link mode when what you do is compile thousands of tiny translation units -- the large constant involved with slow shell script

Re: Automake and makedepend

2005-05-13 Thread Ralf Wildenhues
* Stan Guillory wrote on Thu, May 12, 2005 at 07:56:17PM CEST: 1) Should the dependency tracking mechanism in automake work by default with Sun Forte C++ 5.4? I only have access to a different compiler version. What does yours do after this series of commands (in a junk directory): mkdir a

Re: Automake and makedepend

2005-05-14 Thread Ralf Wildenhues
Hi Stan, Please try to answer below the text you refer to, thanks. * Stan Guillory wrote on Fri, May 13, 2005 at 06:14:38PM CEST: Ralf Wildenhues [EMAIL PROTECTED] 5/13/2005 10:41:11 AM * Stan Guillory wrote on Thu, May 12, 2005 at 07:56:17PM CEST: 1) Should the dependency tracking

Re: ideas for speeding up compile mode

2005-05-18 Thread Ralf Wildenhues
Hi Bob, Scott, * Bob Friesenhahn wrote on Tue, May 17, 2005 at 11:08:52PM CEST: On Mon, 16 May 2005, Scott Kruger wrote: As someone who is just getting started in the whole GNU autotools world, I think keeping libtool outside of automake is one of the things that make it difficult to learn

Re: Copying headers, libraries from subdirs to top-level include, lib in make all

2005-05-20 Thread Ralf Wildenhues
Hi Fred, Sorry for the late answer, I overlooked your message earlier. I hope it's still of value to you. * Fred Proctor wrote on Thu, Apr 21, 2005 at 06:21:46PM CEST: I have code in some subdirectories, say src/{bottom,middle,top}, which when compiled yields libraries that I want copied up

Re: executable scripts produced by AC_OUTPUT?

2005-05-22 Thread Ralf Wildenhues
* Irek Szczesniak wrote on Sun, May 22, 2005 at 04:49:11AM CEST: In my configure.in the AC_OUTPUT macro produces the fsclien.sh script. This script does not get installed. I want this file to have the executable permission set. The file fsclient.sh.in has the right permissions, but

Re: conditionally linking to mingw32 library

2005-06-01 Thread Ralf Wildenhues
Hi Mark, * Mark Brand wrote on Wed, Jun 01, 2005 at 02:41:58PM CEST: to my situation, but I'm getting stuck. I have: configure.ac if test x$target_os == xmingw32; then Don't use the test operator `==' , it's unportable and completely superfluous, as `=' does string comparison just fine.

Re: Specifying AM_CPPFLAGS from within configure.ac

2005-06-03 Thread Ralf Wildenhues
Hi Jirko, Stepan, * Stepan Kasal wrote on Fri, Jun 03, 2005 at 08:44:48AM CEST: Regarding your macro MY_CXX_OPTION, if you want to be really portable, things can get even more scary. This thread[1] contains a couple more hints. :) I think the definition of your macro can be improved.

Re: Specifying AM_CPPFLAGS from within configure.ac

2005-06-06 Thread Ralf Wildenhues
Hi Jirka, * Jirka Hanika wrote on Sat, Jun 04, 2005 at 10:12:18PM CEST: I've decided to send one more piece of reaction directly to you, because it doesn't belong to the automake list anymore and it might confuse the AC_COMPILER_OPTION thread on the autoconf list unless verbosely

Re: back to directory dependencies

2005-06-07 Thread Ralf Wildenhues
Hi Baurzhan, * Baurzhan Ismagulov wrote on Tue, Jun 07, 2005 at 01:12:45PM CEST: Now I want to integrate several project into the build system. The directory hierarchy looks like this: doc drv drv/d1 drv/d2 lib lib/l1 lib/l2 src1 src2 d1, d2, l1, l2, src1, src2 are existing

Re: back to directory dependencies

2005-06-08 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Wed, Jun 08, 2005 at 04:14:03AM CEST: On Tue, 7 Jun 2005, Ralf Wildenhues wrote: But I have another problem with SUBDIRS. As I mentioned in the previous thread, specifying -j starts building of l1 and src1 in parallel. l1 lasts longer, and src1 fails due to missing

conditional suffix rules do not work

2005-06-08 Thread Ralf Wildenhues
Hi there, It is not possible to override an internal suffix rule within an Automake conditional. Automake puts the conditional marker only on the first line of the self-output rule. Regards, Ralf touch foo.c cat configure.ac EOF AC_INIT(a,1,b) AM_INIT_AUTOMAKE(foreign) AC_PROG_CC

Re: back to directory dependencies

2005-06-10 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Wed, Jun 08, 2005 at 05:23:58PM CEST: On Wed, 8 Jun 2005, Ralf Wildenhues wrote: ECANNOTREPRODUCE. Which GNU make version? Over here GNU make-3.80 does _not_ parallelize across SUBDIRs. I am using GNU make 3.80 on Solaris and FreeBSD, but the version delivered

Re: Why doesn't F9x support use AC_FC_SRCEXT?

2005-06-11 Thread Ralf Wildenhues
* Steven G. Johnson wrote on Thu, Jun 02, 2005 at 09:20:55PM CEST: Is there some reason why the automake Fortran 9x support does not use the AC_FC_SRCEXT macro to determine whether extra flags are needed to compile files with .f90 or .f95 extensions? *snip* PS. This would also give you a

Re: how to run a test file with command line options...

2005-06-17 Thread Ralf Wildenhues
Hi Ed, * Ed Hartnett wrote on Thu, Jun 16, 2005 at 10:09:05PM CEST: If I have some tests, and want to run them with command line options, how do I do it? You are using the Automake builtin support for tests. It's quite limited, and I believe it cannot do what you want. For example, I have

Re: Non recursive directory style.

2005-06-17 Thread Ralf Wildenhues
Hi Patrick, * Patrick Scheibe * SMC Trust wrote on Wed, Jun 15, 2005 at 09:20:56AM CEST: Is it possible to have a directory style like Root/ | +--Linux | +MSW | +src and to have all the autoconf, automake stuff in the Linux dir? First: What exactly is the

Re: make distcheck fails for simple Makefile.am

2005-06-20 Thread Ralf Wildenhues
* Roger Leigh wrote on Sat, Jun 18, 2005 at 12:47:08PM CEST: In a simple Makefile.am: pamdir = /etc/pam.d pam_DATA = schroot EXTRA_DIST = $(pam_DATA) make distcheck fails: Make that pamdir = $(prefix)/etc/pam.d but you really should be using sysconfdir: pamdir =

Re: how to run a test file with command line options...

2005-06-20 Thread Ralf Wildenhues
* Harald Dunkel wrote on Mon, Jun 20, 2005 at 10:11:05AM CEST: Ed Hartnett wrote: check_PROGRAMS = tst_parallel TESTS = run_par_test.sh Where run_par_test.sh is: MP_TASKS_PER_NODE=4 MP_PROCS=4 poe ./tst_parallel Since Automake is based on Perl it should be pretty easy to do

Re: make distcheck fails for simple Makefile.am

2005-06-20 Thread Ralf Wildenhues
Hi Roger, * Roger Leigh wrote on Mon, Jun 20, 2005 at 11:11:10AM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: * Roger Leigh wrote on Sat, Jun 18, 2005 at 12:47:08PM CEST: pamdir = /etc/pam.d pam_DATA = schroot EXTRA_DIST = $(pam_DATA) make distcheck fails: Make

Re: Creating two libraries with same sourcefiles but diffrent defines

2005-06-21 Thread Ralf Wildenhues
Hi Thomas, * Roesner Thomas wrote on Tue, Jun 21, 2005 at 08:47:47AM CEST: lib_LIBRARIES = libavstd.a libavpcl.a libsources = avbed.c avpub.c libavstd_a_SOURCES = $(libsources) libavstd_a_CPPFLAGS = -DNORMAL $(AM_CPPFLAGS) libavpcl_a_SOURCES = $(libsources) libavpcl_a_CPPFLAGS

Re: Post installation activities

2005-06-22 Thread Ralf Wildenhues
* John Ling wrote on Wed, Jun 22, 2005 at 05:38:03PM CEST: Ralf Wildenhues wrote: * John Ling wrote on Wed, Jun 22, 2005 at 12:34:03AM CEST: Hello, I was wondering if it is possible to do post-install work on the install header directory after an install using some sort of target? I

Re: Cannot build, need help!

2005-06-23 Thread Ralf Wildenhues
Hi * SummoneR wrote on Thu, Jun 23, 2005 at 03:14:40PM CEST: Ralf Wildenhues wrote: * SummoneR wrote on Tue, Jun 21, 2005 at 07:40:30PM CEST: And if I continue with make make install and finally try to build Boinc: Bootstrapping configure script and makefiles: automake

Re: 'make dist' and m4 directory

2005-06-27 Thread Ralf Wildenhues
Hi Jeffrey, * Jeffrey Sheinberg wrote on Mon, Jun 27, 2005 at 01:27:35AM CEST: I intended to put some local macros into the m4/ directory. These macros would be needed for the ./configure script to work, therefore they need to be included into the dist tarball. But your m4 directory is

Re: broken make distclean...

2005-06-27 Thread Ralf Wildenhues
Hi Ed, David, * David Fang wrote on Sun, Jun 26, 2005 at 07:23:15PM CEST: I recently started seeing the following problem doing a make distclean: rm -rf ../libsrc/.deps ./.deps (Autotools amateur here, so please correct me nicely if I'm wrong! :) ) I'd say the above line is the

Re: back to directory dependencies

2005-06-28 Thread Ralf Wildenhues
Hi Baurzhan, * Baurzhan Ismagulov wrote on Tue, Jun 28, 2005 at 04:59:36PM CEST: On Tue, Jun 07, 2005 at 04:16:26PM +0200, Ralf Wildenhues wrote: d1, d2, l1, l2, src1, src2 are existing projects with Makefile or configure.ac / Makefile.am. I want to leave them as they are and write

Re: back to directory dependencies

2005-06-29 Thread Ralf Wildenhues
Hi Baurzhan, * Baurzhan Ismagulov wrote on Tue, Jun 28, 2005 at 08:46:53PM CEST: On Tue, Jun 28, 2005 at 06:31:57PM +0200, Ralf Wildenhues wrote: Hmm. I don't know whether AC_CONFIG_SUBDIRS can give you the flexibility you want here. If you unconditionally build both packages

Re: Include paths: no -I. please

2005-06-30 Thread Ralf Wildenhues
* overbored wrote on Fri, Jul 01, 2005 at 12:44:38AM CEST: Thus spake Ralf Wildenhues on 6/30/2005 7:23 AM: Quoting the manual: | `nostdinc' | This option can be used to disable the standard `-I' options which | are ordinarily automatically provided by Automake. It's

Re: AC_PROG_CC_C_O

2005-07-01 Thread Ralf Wildenhues
Hi Stepan, * Stepan Kasal wrote on Fri, Jul 01, 2005 at 01:13:09PM CEST: The macro has two uses: 1) in GNU make's configure.in 2) in Automake's AM_PROG_CC_C_O How do you know nobody else uses it? It's published. If yes, shouldn't we introduce a generalized macro, for example

Re: AC_PROG_CC_C_O

2005-07-01 Thread Ralf Wildenhues
* Ralf Corsepius wrote on Fri, Jul 01, 2005 at 03:20:22PM CEST: On Fri, 2005-07-01 at 14:33 +0200, Ralf Wildenhues wrote: * Stepan Kasal wrote on Fri, Jul 01, 2005 at 01:13:09PM CEST: The macro has two uses: 1) in GNU make's configure.in 2) in Automake's AM_PROG_CC_C_O How do

Re: Include paths: no -I. please

2005-07-02 Thread Ralf Wildenhues
* overbored wrote on Fri, Jul 01, 2005 at 11:53:22PM CEST: * overbored wrote on Fri, Jul 01, 2005 at 12:44:38AM CEST: Thus spake Ralf Wildenhues on 6/30/2005 7:23 AM: | `nostdinc' | This option can be used to disable the standard `-I' options which | are ordinarily automatically

Re: Is nobase_include_HEADERS supposed to precreate directories?

2005-07-06 Thread Ralf Wildenhues
Hi Jeremy, * Jeremy C. Reed wrote on Mon, Jul 04, 2005 at 06:58:43PM CEST: nobase_include_HEADERS = histedit.h editline/readline.h The Makefile.in (generated by automake 1.9.5) does: nobase_include_HEADERS = histedit.h editline/readline.h ... install-nobase_includeHEADERS:

Re: question about test dependencies on libraries in makefile.am

2005-07-08 Thread Ralf Wildenhues
Hi Ed, * Ed Hartnett wrote on Fri, Jul 08, 2005 at 07:28:38PM CEST: I have a slew of test programs, and my Makefile.am contains something like this: # These programs are all built for make check in this directory. check_PROGRAMS = tst_nc_converts tst_h_files tst_h_atts tst_h_vars \ #

Re: Is nobase_include_HEADERS supposed to precreate directories?

2005-07-11 Thread Ralf Wildenhues
Hi Alexandre, * Alexandre Duret-Lutz wrote on Sun, Jul 10, 2005 at 09:46:48AM CEST: Ralf == Ralf Wildenhues [EMAIL PROTECTED] writes: Ralf * Jeremy C. Reed wrote on Mon, Jul 04, 2005 at 06:58:43PM CEST: nobase_include_HEADERS = histedit.h editline/readline.h Should it also

Re: Source files generation

2005-08-02 Thread Ralf Wildenhues
Hi Thomas, * Thomas Degris wrote on Sat, Jul 30, 2005 at 03:26:43PM CEST: lib_LTLIBRARIES = libtoto.la BUILD_SOURCE = src/toto01.cxx ^ ^^ dist_libtoto_la_SOURCES = src/toto.stc libtoto_la_SOURCES =src/toto01.cxx src/toto02.cxx src/toto.cpp src/toto01.cxx: src/toto.stc

Re: Dynamic linking with automake and libtool

2005-08-02 Thread Ralf Wildenhues
Hi James, * James Laird wrote on Mon, Aug 01, 2005 at 11:40:16PM CEST: Since all of the tests include the main library (using LDADD), they all depend on that library. Thus, when the main library is changed, all of the tests must be recompiled. It would be nice if, when the library is

Re: automake-1.9.6: wrong handling of self-defined directories

2005-08-03 Thread Ralf Wildenhues
Hi Adrian, * Adrian Bunk wrote on Tue, Aug 02, 2005 at 08:42:13PM CEST: I have the following Makefile.am: -- snip -- secondbindir = $(prefix)/bin2 bin_PROGRAMS = test1 secondbin_PROGRAMS = test2 install-exec-hook: cd $(DESTDIR)$(bindir) ln -fs test1 test11 cd

Fixing parallel install of libtool libs and its dependents

2005-08-10 Thread Ralf Wildenhues
A long-standing issue in Automake: Fixing the ordering issue of make install and maybe also parallel make install when shared (in the context of Automake: libtool-created) libraries are in use. First some history (please post more links if you find additional useful bits of information): Nice

Re: make AM_MISSING_PROG (more) portable

2005-08-10 Thread Ralf Wildenhues
Hi Stepan, * Stepan Kasal wrote on Wed, Aug 10, 2005 at 10:06:02AM CEST: On Mon, Aug 08, 2005 at 09:38:32AM +0200, Ralf Wildenhues wrote: well, first you read in the autoconf manual: | test ${var+set} = set || var='${indirection}' (aren't there, by the way, superfluous quotes

Re: how to extend the Makefile templates?

2005-08-16 Thread Ralf Wildenhues
Hi Harald, * Harald Dunkel wrote on Tue, Aug 16, 2005 at 12:39:46PM CEST: I would need some way to add recursive targets to all generated Makefiles, without asking every owner of every Makefile.am to append some include statement or some keyword to be replaced by AC_SUBST_FILE. Hmm. I

Re: Files used in EXTRA_DIST not working with distcheck

2005-08-17 Thread Ralf Wildenhues
Hi Joshua, * Joshua Moore-Oliva wrote on Wed, Aug 17, 2005 at 01:00:22AM CEST: I have two files, cspm.lex and cspm.y that due to circumstances out of my control need special processing. The only way I could get them into the package without automake automatically processing them was by using

Re: how to extend the Makefile templates?

2005-08-17 Thread Ralf Wildenhues
Hi Harald, * Harald Dunkel wrote on Wed, Aug 17, 2005 at 10:15:57AM CEST: Ralf Wildenhues wrote: * Harald Dunkel wrote on Tue, Aug 16, 2005 at 12:39:46PM CEST: I would need some way to add recursive targets to all generated Makefiles, without asking every owner of every Makefile.am

Re: 'make' reruns configure ?!

2005-09-05 Thread Ralf Wildenhues
Hi Kendrick, * Kendrick Smith wrote on Mon, Sep 05, 2005 at 03:46:07PM CEST: Can anyone tell me why an Automake-generated Makefile would rerun the 'configure' script when 'make' is invoked, and whether there's a (possibly heavy-handed) way to disable this behavior? Usually,

Re: top_srcdir and subpackages

2005-09-07 Thread Ralf Wildenhues
Hi Harlan, * Harlan Stenn wrote on Wed, Sep 07, 2005 at 02:12:43AM CEST: I have 2 auto* packages, and one subdir (sntp/) is a subpackage of the parent. I'm using autoconf 2.59 and automake 1.9.6. I see this: [EMAIL PROTECTED] grep '^top_srcdir' A.pogo/sntp/Makefile

Re: Mixing C and C++

2005-09-07 Thread Ralf Wildenhues
Hi Sam, * Adams Samuel D Contr AFRL/HEDR wrote on Wed, Sep 07, 2005 at 04:22:25PM CEST: I am writing a new program in C++ as it can use complex numbers and C does not have that functionality, but I am also trying to use a C library that I wrote before for another program that handles all of

Re: Problem with Automake, help requested!

2005-09-08 Thread Ralf Wildenhues
Hi Stephen, * Stephen Ellwood wrote on Thu, Sep 08, 2005 at 01:16:15AM CEST: Im currently writing a fairly nifty software project that makes use of GNU autotools extensively, although in a very basic way. My aim is to create a package manager in the style of RPM via automake. Im aiming to

  1   2   3   4   5   6   7   8   9   10   >