Re: Build a lib, then example programs

2007-08-09 Thread Alexandre Duret-Lutz
S = -pthread LDADD = libdconn.a -lz lib_LIBRARIES = libdconn.a libdconn_a_SOURCES = ... noinst_PROGRAMS = udpclient udpclient_SOURCES = ... -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: request for pkglibexecdir

2006-10-15 Thread Alexandre Duret-Lutz
>>> "RW" == Ralf Wildenhues <[EMAIL PROTECTED]> writes: [...] RW> Thanks for the report. OK to install? This looks fine. Please install. [...] -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

GNU Automake 1.10 released

2006-10-15 Thread Alexandre Duret-Lutz
lls a "Hello World!" example package in $(docdir). This example is used throughout the new "Autotools Introduction" chapter of the manual. -- Alexandre Duret-Lutz pgpWfjgzpoY5Q.pgp Description: PGP signature

Re: nobase.test

2006-09-06 Thread Alexandre Duret-Lutz
ould be handled differently than install-sh? (I'm not being sarcastic here; I just don't care which way the balance tilts, as long as it clearly tilts.) -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: distdir unset in subdir Makefiles?

2006-08-28 Thread Alexandre Duret-Lutz
s. Is this intentional? Yes. When packages are nested the subpackage doesn't know the distdir value, it has to be passed by the parent. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: redirecting produced files

2006-08-28 Thread Alexandre Duret-Lutz
_id=%3c2006%2d08%2d12%2d23%2d45%2d50%2b6381%2badl%40gnu.org%3e especially section 2.2.6 about VPATH builds. [...] -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Automake 1.9b uploaded (beta for Automake 1.10)

2006-08-20 Thread Alexandre Duret-Lutz
DIR_P) at some point. - Automake installs an "Hello World!" example package in $(docdir). This example is used thorough the new "Autotools Introduction" chapter of the manual. -- Alexandre Duret-Lutz pgp6hItITC3oS.pgp Description: PGP signature

Re: AC_CONFIG_LIBOBJ_DIR

2006-08-16 Thread Alexandre Duret-Lutz
>>> "RW" == Ralf Wildenhues <[EMAIL PROTECTED]> writes: RW> IOW, are you asking when 1.10 will be ready? I hope I can release a beta for 1.10 this weekend. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: RFC: "Autotools Introduction" chapter draft (16 pages long)

2006-08-16 Thread Alexandre Duret-Lutz
>>> "BP" == Ben Pfaff <[EMAIL PROTECTED]> writes: BP> I did a quick job of proofreading as I read your chapter. (And so did Ralf.) Thanks a lot to both of you ! I'll post the complete patch momently on automake-patches. -- Alexandre Duret-Lutz Share

RFC: "Autotools Introduction" chapter draft (16 pages long)

2006-08-12 Thread Alexandre Duret-Lutz
are special variables that list programs that the resulting `Makefile' should build. In Automake speak, this `_PROGRAMS' suffix is called a "primary"; Automake recognises other primaries such as `_SCRIPTS', `_DATA', `_LIBRARIES', etc. corresponding to different type of files. The `bin' part of the `bin_PROGRAMS' tells `automake' that the resulting programs should be installed in BINDIR. Recall that the GNU Build System uses a set of variables to denote destination directories and allow users to customise these locations (*note Standard Directory Variables::). Any such directory variable can be put in front of a primary (omitting the `dir' suffix) to tell `automake' where to install the listed files. Programs need to be built from source files, so for each program `PROG' listed in a `_PROGRAMS' variable, `automake' will look for another variable named `PROG_SOURCES' listing its source files. There may be more that one source file: they will all be compiled and linked together. Automake also knows that source files need to be distributed when creating a tarball (unlike built programs). So a side-effect of this `hello_SOURCES' declaration is that `main.c' will be part of the tarball created by `make dist'. Finally here are some explanations regarding the top-level `Makefile.am'. SUBDIRS = src dist_doc_DATA = README `SUBDIRS' is a special variable listing all directories that `make' should recurse into before processing the current directory. So this line is responsible for `make' building `src/hello' even though we run it from the top-level. This line also causes `make install' to install `src/hello' before installing `README' (not that this order matters). The line `dist_doc_DATA = README' causes `README' to be distributed and installed in DOCDIR. Files listed with the `_DATA' primary are not automatically part of the tarball built with `make dist', so we add the `dist_' prefix so they get distributed. However for `README' it wouldn't have been necessary: `automake' automatically distribute any `README' file it encounters (the list of other files automatically distributed is presented by `automake --help'). The only important effect of this second line is therefore to install `README' during `make install'. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: Disable implicit RCS rule of GNU Make

2006-08-04 Thread Alexandre Duret-Lutz
r your Makefile{,.in,.am}. This GNUmakefile would look as follows : include Makefile % : RCS/%,v % : %,v This way GNU Make will uses these rules in addition to the ordinary Makefile. But Automake and other Make implementation never see them. [...] RH> CO = \# BTW, escaping # is not porta

Re: Broken makefile given Autoconf version mismatch

2006-04-20 Thread Alexandre Duret-Lutz
rule to rebuild one Makefile.in with a new Autoconf version, all the other Makefile.ins remain based on the other Autoconf version - if autoconf is called by the rebuild rule of configure then nothing guarantees that the existing Makefile.ins are compatible. -- Alexandre Duret-Lutz

Re: Broken makefile given Autoconf version mismatch

2006-04-20 Thread Alexandre Duret-Lutz
>>> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: adl> Here is my attempt at checking Autoconf version in aclocal.m4. adl> It would be nice if someone could suggest a better way to retrieve adl> the Autoconf version: Here is a second attem

Re: Broken makefile given Autoconf version mismatch

2006-04-16 Thread Alexandre Duret-Lutz
>>> "SK" == Stepan Kasal <[EMAIL PROTECTED]> writes: SK> Hello, SK> On Thu, Apr 13, 2006 at 08:52:48PM +0200, Alexandre Duret-Lutz wrote: >> Or can we tweak Autoconf to make its version more accessible? SK> what would be wrong with parsing `autocon

Re: Broken makefile given Autoconf version mismatch

2006-04-13 Thread Alexandre Duret-Lutz
t: I'd be fine with this, but it just looks like a complicated way to retrieve a version number. Any cunning idea ? Or can we tweak Autoconf to make its version more accessible ? 2006-04-13 Alexandre Duret-Lutz <[EMAIL PROTECTED]> * aclocal.in (trace_used_macros): R

Re: Broken makefile given Autoconf version mismatch

2006-04-13 Thread Alexandre Duret-Lutz
ange that it be only performed inside AM_INIT_AUTOMAKE. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: Cover Texts in the automake documentation

2006-04-09 Thread Alexandre Duret-Lutz
Eric: | Is there any way you might consider dropping the | Front and Back Cover Texts requirements from the manual? Sorry, this is the FSF policy. Not my call. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: Turning Off Compiler Optimization in Subdir

2006-04-09 Thread Alexandre Duret-Lutz
this Makefile.am: CXXFLAGS = @CXXFLAGS@ $(MYHACK) and then AC_SUBST MYHACK to either -O0 or nothing. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: how to make "make all" and "make distcheck" *both* work???

2006-04-09 Thread Alexandre Duret-Lutz
le that is just as | simple as my example Sure. See this tutorial http://www-src.lip6.fr/homepages/Alexandre.Duret-Lutz/autotools.html slides 86 (VPATH builds) and 87 (using a library like you did). -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: comment handling in aclocal ... bug or feature ?

2006-03-27 Thread Alexandre Duret-Lutz
#x27;m installing the following patch. 2006-03-25 Mike Frysinger <[EMAIL PROTECTED]> (tiny change) Alexandre Duret-Lutz <[EMAIL PROTECTED]> * aclocal.in ($m4_include_rx): Do not recognize `include', and adjust scan_configure_dep and scan_file accordin

Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-27 Thread Alexandre Duret-Lutz
libraries can be used to setup the kind of hierarchical layout you described, and they can be used to build static or shared libraries as well as when linking program - so I guess all you need is a libtool switch to ask for a relocatable output. Then you'd w

Re: Ada support

2006-03-25 Thread Alexandre Duret-Lutz
>>> "TM" == Tommi Mäkitalo <[EMAIL PROTECTED]> writes: TM> Can you tell me, where I might find these patches, since Vadim seems to be TM> offline. I would like to look at them. http://www.google.com/search?q=automake+ada+patch -- Alexandre Duret-Lutz Shared

Re: problems with TEXINFOS

2006-03-25 Thread Alexandre Duret-Lutz
which generate some of DM> these files into a maintainer-mode only section? If you show us your setup someone might be able to suggest changes that do not involve the infamous maintainer-mode. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: Ada support

2006-03-22 Thread Alexandre Duret-Lutz
adding support for new languages into VG> autoconf/automake/libtools? The developer's documentation is the code and the mailing list archives. If you plan in contributing to Automake, please start here: http://sources.redhat.com/automake/contribute.html I'll send you the assignment fo

Re: best aclocal include practice wanted

2006-03-07 Thread Alexandre Duret-Lutz
Did you read section "Handling Local Macros" of the Automake manual? -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: Copying a file after each subdirectory build

2006-03-04 Thread Alexandre Duret-Lutz
live with it and fetch headers and libraries from where they lie. Besides libtool libraries (assuming that's what you build) are not something I'd ever want to move in a build tree. Or maybe each of you subpackage could supply a script run by the top-level configure to build symlinks,

Re: problem with flex scanner && `make dist'

2006-03-04 Thread Alexandre Duret-Lutz
/input/scan.ll \ tf> $(srcdir)/util.cpp tf> parser_SOURCES = \ tf> $(srcdir)/input/grammar.ypp \ tf> $(srcdir)/input/scan.ll Those $(srcdir)/ prefixes everywhere seem pointless to me, I'd remove them. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: Adding BUILT_SOURCES to a multi-directory, non-recursive project

2006-03-04 Thread Alexandre Duret-Lutz
@if test ! -f \$@; then \ rm -f src/foo.cxx; \ $(MAKE) $(AM_MAKEFLAGS) src/foo.cxx; \ else :; fi DG> Should I even be using the .fl.cxx suffix DG> rules as I am doing at the moment, or should I be using SUFFIXES? SUFFIXES is something you use in addition to suffix rules to support weird extensions (not starting with one dot, or with more than one). Not your case. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: help2man

2006-02-04 Thread Alexandre Duret-Lutz
help2man --output=$@ $(top_builddir)/src/foo$(EXEEXT) BR> And finally, at the bottom of that section I may have found an error in BR> the documentation. Thanks, I'm installing this. 2006-02-05 Alexandre Duret-Lutz <[EMAIL PROTECTED]> * doc/automake.tex

Re: Portable moc/uic support - works for me

2006-02-02 Thread Alexandre Duret-Lutz
another implicit rule. Maybe your declaration of BUILT_SOURCES avoids such problems, but anyway I think it would be safer to write implicit rules that depend on existing files (*.ui) rather than built files (*.h) when possible. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: Incorrect directory creation with 'make dist' and EXTRA_DIST

2006-01-05 Thread Alexandre Duret-Lutz
o I've installed the following patch to gather everything in one place. 2006-01-05 Stepan Kasal <[EMAIL PROTECTED]> Alexandre Duret-Lutz <[EMAIL PROTECTED]> * automake.in (top_srcdir): New global. (generate_makefile): Compute it. (fi

Re: How does one compile in a "make check" test?

2005-12-26 Thread Alexandre Duret-Lutz
' \ INCDIR='$(top_srcdir)/src' \ $(SHELL) $(srcdir)/includes.test installcheck-local: CXX='$(CXX)' \ CPPFLAGS='-I$(includedir) -I$(pkgincludedir) $(LIBGSPN_CPPFLAGS) $(CPPF LAGS)' \ CXXFLAGS='$(AM_CXXFLA

Re: what's a good way to check a file size (as part of a "make check") from automake?

2005-12-26 Thread Alexandre Duret-Lutz
e of a file? Sorry for not answering this question (I don't know the answer), but why test only the size ? Isn't the contents important too ? If the file isn't too big I'd ship the expected result and compare it with `cmp'. If it's too big you can still compu

Re: -rpath and Automake

2005-11-29 Thread Alexandre Duret-Lutz
btool would build a convenience library (as documented). Whether libtool -rpath will eventually be passed down to the linker is libtool's decision; nothing automake should be concerned with. I'm not aware of any way to interfere with this, but perhaps you should check the archives of the

multiline substitutions (Was: Re: AM_SUBST_IGNORE = AC_SUBST without Makefile variable definition)

2005-10-20 Thread Alexandre Duret-Lutz
ne implementation of AC_SUBST offer a kind of horrible way to introduce a make rule in ALL Makefiles, since you could have DUMMY = @DUMMY@ substituted by DUMMY = mytarget: mydependency my rule Eww :) -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl

Re: [PATCH] RFC: Added wildcard support to dirlist parsing

2005-10-17 Thread Alexandre Duret-Lutz
>>> "SK" == Stepan Kasal <[EMAIL PROTECTED]> writes: SK> Alexandre, will you accept it? Sure. It just needs the usual stuff for a new feature: some documentation, and a test case that shows it (will continue to) works as documented. -- Alexandre Duret-Lutz

Re: conditionals

2005-09-13 Thread Alexandre Duret-Lutz
>>> "DM" == D M <[EMAIL PROTECTED]> writes: DM> Hello. DM> Is is perfectly legal to have following conditional in DM> Makefile.am: DM> if SOMETHING DM> install-data-local: DM> anything DM> endif Yes. -- Alexandre Dure

Re: build check_PROGRAMS

2005-09-13 Thread Alexandre Duret-Lutz
executing the dejagnu tests? Just add your own rule that depends on $(check_PROGRAMS): .PHONY: check-norun check-norun: $(check_PROGRAMS) and type `make check-norun' instead of `make check'. Or if you just need to disable the dejagnu tests occasionally, try something like make check

Re: EH: some warning message, please?

2005-09-13 Thread Alexandre Duret-Lutz
I$(MYLIB)/include HD> PreciousUtils_checker_LDADD = \ HD> -L$(MYLIB)/lib -lmylib Not with the current parser. I think if you just give up the habit to use tabs inside variables definitions you should be safe. (I use 2 spaces.) tabs are the only way for Automake to recognize rules.

Re: Portable prefix pattern rules

2005-09-13 Thread Alexandre Duret-Lutz
S", assuming this is a inference rule for *.idlC -> *.cpp However if you say SUFFIXES = .idl C.cpp .idlC.cpp: whatever then this will be correctly understood as a rule for *.idl -> *C.cpp So we could say that `.' is not magic as long as there are some SUFFIXES matches. -- Alexandre Duret-Lutz

Re: make depend problem with hello_SOURCES = ${SRCDIR}/hello.c

2005-09-13 Thread Alexandre Duret-Lutz
such part-of-file-name-variables are allowed, we also have to deal with the case where they are conditionally defined. -- Alexandre Duret-Lutz

Re: making tests dependent on the library that they test...

2005-07-27 Thread Alexandre Duret-Lutz
libnetcdf.la EH> ... EH> Is there a better way to do this? Specifically, one which doesn't EH> require me to explicitly list the dependency program for each and EH> every test program that depends on it. [...] I'm installing the following on HEAD and branch-1-9. 2005-07-2

Re: PING: depcomp for HP ia64 compilers

2005-07-27 Thread Alexandre Duret-Lutz
m someone having access to such a host. http://lists.gnu.org/archive/html/automake-patches/2005-07/msg9.html -- Alexandre Duret-Lutz

Re: [bug-gnulib] Re: libtool 2.1a failed mdemo-make.test on Solaris

2005-07-19 Thread Alexandre Duret-Lutz
>>> "Bruno" == Bruno Haible <[EMAIL PROTECTED]> writes: [...] Bruno> all-local $(libfoo_la_OBJECTS): $(ARGZ_H) Hmmm, why do you need this since $(ARGZ_H) is already in $(BUILT_SOURCES), and "all" depends on $(BUILT_SOURCES)? -- Alexandre Duret-Lutz

Automake 1.9.6 released

2005-07-10 Thread Alexandre Duret-Lutz
I'm pleased to announce the release of Automake 1.9.6. This is a bug-fix release, the list of bugs fixed is appended. You can find the new release here: ftp://ftp.gnu.org/gnu/automake/automake-1.9.6.tar.gz ftp://ftp.gnu.org/gnu/automake/automake-1.9.6.tar.gz.sig ftp://ftp.gnu.org/gnu

Re: I: adjust test suite for upcoming GNU Make 3.83

2005-07-10 Thread Alexandre Duret-Lutz
>>> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: [...] pds> I don't know whether automake currently works correctly pds> for Java with any other version of make, but this would pds> definitely cause that not to be the case going forward.

Re: I: adjust test suite for upcoming GNU Make 3.83

2005-07-10 Thread Alexandre Duret-Lutz
n filenames, including colons and pds> whitespace as well as dollar signs. Excellent! That seems to be the ticket, doesn't it? -- Alexandre Duret-Lutz

Re: Is nobase_include_HEADERS supposed to precreate directories?

2005-07-10 Thread Alexandre Duret-Lutz
sence of conditional headers, and impossible in presence of AC_SUBSTed headers. As for why $(includedir) is precreated, I don't know whether that is a feature or not (it makes a difference when nobase_include_HEADERS is empty). -- Alexandre Duret-Lutz

Re: Automake 1.9.5b uploaded (beta for 1.9.6)

2005-07-02 Thread Alexandre Duret-Lutz
-1.9.5b.tar.bz2.sig ftp://sources.redhat.com/pub/automake/automake-1.9.5b.tar.gz ftp://sources.redhat.com/pub/automake/automake-1.9.5b.tar.gz.sig ftp://sources.redhat.com/pub/automake/automake-1.9.5b.tar.bz2 ftp://sources.redhat.com/pub/automake/automake-1.9.5b.tar.bz2.sig -- Alexandre Duret-Lutz

Automake 1.9.5b uploaded (beta for 1.9.6)

2005-07-02 Thread Alexandre Duret-Lutz
m4_sinclude. (PR/450) * Other miscellaneous changes: - Update the GPL license, and the FSF postal address. - Anticipate for python2.5 in AM_PATH_PYTHON. - The manual should now compile without any warning from TeX. -- Alexandre Duret-Lutz pgplO3M3aELB1.pgp Description: PGP signature

Re: I: adjust test suite for upcoming GNU Make 3.83

2005-07-01 Thread Alexandre Duret-Lutz
ll defined from configure via a substitution, so Automake cannot do any preprocessing on its contents. -- Alexandre Duret-Lutz

Re: I: adjust test suite for upcoming GNU Make 3.83

2005-07-01 Thread Alexandre Duret-Lutz
he case going forward. I believe $-filenames works only with GNU make. -- Alexandre Duret-Lutz

Re: Automake: problem report about SUBDIRS

2005-06-30 Thread Alexandre Duret-Lutz
was no error message. But there was no SUBDIRS Harald> in the generated Makefile, either. The subdirs were not Harald> built. Thanks for the report. I'm installing the following fix on HEAD and branch-1-9. 2005-06-30 Alexandre Duret-Lutz <[EMAIL PROTECTED]> * au

Re: multiple AM_INIT_AUTOMAKEs cause problems

2005-06-30 Thread Alexandre Duret-Lutz
lowing would do the trick. if condition-for-no-dependency-tracking; then # disable dependency-tracking by default enable_dependency_tracking=${enable_dependency_tracking-no} fi (this would go before AM_INIT_AUTOMAKE) -- Alexandre Duret-Lutz

Re: using same automake conditional twice doesn't work?

2005-06-23 Thread Alexandre Duret-Lutz
Ed> list Thanks for the report. I'm installing the following fix on HEAD and branch-1-9. 2005-06-24 Alexandre Duret-Lutz <[EMAIL PROTECTED]> * lib/Automake/Variable.pm (define, _new): Remember the helper variable created for the last conditional += on each varia

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

2005-06-23 Thread Alexandre Duret-Lutz
test. I generally prefer the extra shell script because it allows me to run a single test easily. -- Alexandre Duret-Lutz

Re: Automake 1.9.6?

2005-06-23 Thread Alexandre Duret-Lutz
>>> "Kelley" == Kelley Cook <[EMAIL PROTECTED]> writes: Kelley> Is an automake 1.9.6 release planned? I hope to release a beta in couple of weeks, once I've processed my backlog. -- Alexandre Duret-Lutz

Re: make distcheck fails for simple Makefile.am

2005-06-23 Thread Alexandre Duret-Lutz
and the drivers in `cups-config Roger> --serverbin`/filter. 'make distcheck' has never worked because of Roger> this. The FAQ entry `Hard-Coded Install Paths' has some suggestions. -- Alexandre Duret-Lutz

Re: Cannot build, need help!

2005-06-23 Thread Alexandre Duret-Lutz
On Thu, Jun 23, 2005 at 03:27:18PM +0200, Ralf Wildenhues wrote: > 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 bu

Re: conditionally linking to mingw32 library

2005-06-03 Thread Alexandre Duret-Lutz
k> I must be missing something obvious. Maybe. It works fine for me. Could you post a complete test case with instructions to reproduce your problem? -- Alexandre Duret-Lutz

Re: texi2dvi: A more pleasant way to compile

2005-06-02 Thread Alexandre Duret-Lutz
like to see in many other tools. Akim> you will most probably not get rid of the silly list of Akim> hard coded extensions I would like to. Not now, of course. -- Alexandre Duret-Lutz

Re: texi2dvi: A more pleasant way to compile

2005-06-01 Thread Alexandre Duret-Lutz
for all `input.texi', instead of having to know how texi2dvi works internally. (I think that's an old idea from Akim.) -- Alexandre Duret-Lutz

Re: conditionally linking to mingw32 library

2005-06-01 Thread Alexandre Duret-Lutz
[[gethostbyname ("");]])], [], [LIBS=$my_ac_save_LIBS ws2_res=no]) AC_MSG_RESULT([$ws2_res]) ]) -- Alexandre Duret-Lutz

Re: spy.test on OpenBSD

2005-05-17 Thread Alexandre Duret-Lutz
rstand the problem with libtool7.test, but the Jacob> spy.test, I don't fully understand what's going wrong there, Jacob> as it seems to work if I run it by hand: [...] Those transient failures usually occur on NFS mounted directories, when the client's clock is not synchronized with that of the server. -- Alexandre Duret-Lutz

Re: m4_include: problem with relative paths

2005-05-14 Thread Alexandre Duret-Lutz
>>> "Irek" == Irek Szczesniak <[EMAIL PROTECTED]> writes: [...] Irek> I would appreciate your advice on how to fix this problem. I fixed something similar some weeks ago in CVS, so you might just wait for the next release. -- Alexandre Duret-Lutz

Re: make dist-gzip fails

2005-04-21 Thread Alexandre Duret-Lutz
e name using autoopts.c >> >> Bruce> Since there is no "autoopts_PROGRAM" variable, foo.c -> foo is a built-in rule in GNU Make. -- Alexandre Duret-Lutz

Re: I: adjust test suite for upcoming GNU Make 3.83

2005-03-16 Thread Alexandre Duret-Lutz
t;; \ | done this seems to imply that simply-expanded variables are re-expanded when they appear inside deferred variables. If I manually change `DATA = $(dist_my_DATA)' (this is not a real solution, because this line is generated by Automake) to `DATA := $(dist_my_DATA)', then the all-am rule passes, but the test fails later with make[1]: *** No rule to make target `helloorld', needed by `install-dist_myDATA'. Stop. -- Alexandre Duret-Lutz

Re: builddir vs. srcdir

2005-03-10 Thread Alexandre Duret-Lutz
>>> "Harald" == Harald Dunkel <[EMAIL PROTECTED]> writes: Harald> Whats about a more general case http://sources.redhat.com/automake/automake.html#Multiple-Outputs -- Alexandre Duret-Lutz

Re: builddir vs. srcdir

2005-03-09 Thread Alexandre Duret-Lutz
en if this location was the right one in the past, and building foo.c in the build directory is a recent change. In that case the dependency file still have the old info. The way to erase dependency info is distclean: make -k distclean; ./configure; make -- Alexandre Duret-Lutz

Re: adding subdirectories

2005-03-09 Thread Alexandre Duret-Lutz
z.la When you write zzz_LDADD = $(ZZZ_LIBS) libzzz.la automake generates zzz_DEPENDENCIES = libzzz.la automatically. Baurjan> Is there a way to specify that binaries should depend Baurjan> on the libraries they are linked with (i.e., that a Baurjan> general LDADD implies general DEPENDENCIES or Baurjan> generates the respective dependencies automatically)? This is what happens. -- Alexandre Duret-Lutz

Re: automake not working inspite of Makefile.am

2005-03-02 Thread Alexandre Duret-Lutz
>>> "David" == David Mohr <[EMAIL PROTECTED]> writes: David> shouldn't that be AC_CONFIG_FILES(Makefile)? I recent Automake release would have to you that along with the initial diagnostic you posted. Consider upgrading. -- Alexandre Duret-Lutz

Re: targets to handle gnu dist procedures?

2005-03-02 Thread Alexandre Duret-Lutz
d generate the directive file if needed. (The real motive for this script was that I didn't want to type my passphrase 4 times to upload Automake. Unfortunately gpg will not sign several files in batch, and I refuse to have my passphrase memorized by a long-lasting process such as an agent.) -- Alexandre Duret-Lutz

Re: cross-reference: nobase_include_HEADERS vs. mumbledir; mumble_HEADERS

2005-02-26 Thread Alexandre Duret-Lutz
"Uniform Leonardo> Naming Scheme" node? Thanks for the suggestion, I'm installing this on HEAD and branch-1-9. 2005-02-26 Alexandre Duret-Lutz <[EMAIL PROTECTED]> * doc/automake.texi (Alternative): Show how to rewrite nobase_ variables using custom dire

Re: AM_*FLAGS and autoconf

2005-02-16 Thread Alexandre Duret-Lutz
o this didn't feel outrageous. I don't understand this. AFAICT, `AC_SUBST([AM_CPPFLAGS])' followed by `AM_CPPFLAGS += -DFOO' works out of the box. (Precisely because &define_standard_variables does call &define_configure_variable for all AC_SUBSTed variables.) [...] -- Alexandre Duret-Lutz

Re: EXTRA_DIST vs. deep hierarchies of java sources

2005-02-16 Thread Alexandre Duret-Lutz
>>> "Dalibor" == Dalibor Topic <[EMAIL PROTECTED]> writes: [...] Dalibor> Is there some way to fix that, other than to use a Dalibor> dist-hook, or make dist in /tmp :) ? Yes: send a test-case to bug-automake@gnu.org so it can be fixed :) -- Alexandre Duret-Lutz

Re: How to maintain separate CHECKED and RELEASE builds

2005-02-15 Thread Alexandre Duret-Lutz
is found relative to the top source | directory. => use $(top_srcdir). [...] Brendan> AC_PROG_INSTALL Useless call. [...] Brendan> AC_CONFIG_FILES([Makefile\ Brendan> src/Makefile\ Brendan> src/pw/Makefile \ Brendan> ]) Useless backslashes. -- Alexandre Duret-Lutz

GNU Automake 1.9.5 released

2005-02-12 Thread Alexandre Duret-Lutz
I'm pleased to announce the release of Automake 1.9.5. This is a bug-fix release, the list of bugs fixed is appended. You can find the new release here: ftp://ftp.gnu.org/gnu/automake/automake-1.9.5.tar.gz ftp://ftp.gnu.org/gnu/automake/automake-1.9.5.tar.gz.sig ftp://ftp.gnu.org/gnu

Re: automake -a does not call libtoolize

2005-02-12 Thread Alexandre Duret-Lutz
(*note Using `autoreconf': | (autoconf)autoreconf Invocation.). If you do not want to remember what | to run and when, just learn the `autoreconf' command. Hopefully, | replacing existing `bootstrap.sh' or `autogen.sh' scripts by a call to | `autoreconf' should also free you from any similar incompatible change | in the future. Also, AC_PROG_LIBTOOL is the official name of the libtool macro. AM_PROG_LIBTOOL is deprecated. -- Alexandre Duret-Lutz

Re: Variable substitution @libexecdir@

2005-02-09 Thread Alexandre Duret-Lutz
On Wed, Feb 09, 2005 at 06:49:40AM -0800, Bill Moseley wrote: > On Wed, Feb 09, 2005 at 08:49:57AM +0100, Stepan Kasal wrote: > > Hi! > > > > [BTW, this would be more appropriate for the autoconf list.] > > and then configure outputs Makefile with substitutions: > > libexecdir = ${exec_prefix}/li

Re: Use of really long lines in Makefile.in

2005-02-08 Thread Alexandre Duret-Lutz
pear to be longer than some "human tolerance" threshold. Assume a generated file list and flatten any variable definition with more that 500 characters in a line. This way ordinary variables are still output exactly as defined. (I feeling a bit paranoid here; the above scheme is likely to be overkill.) -- Alexandre Duret-Lutz

Re: "include $(top_builddir)/aminclude.am" is ignored by automake

2005-02-08 Thread Alexandre Duret-Lutz
equire the Makefile fragment to be generated? IOW, why not simply `include common-rules.mk'? -- Alexandre Duret-Lutz

Re: "include $(top_builddir)/aminclude.am" is ignored by automake

2005-02-08 Thread Alexandre Duret-Lutz
s the old V7 tar format. This is the historical -- Alexandre Duret-Lutz

Re: check-news option

2005-02-08 Thread Alexandre Duret-Lutz
o put the license notice at the end. -- Alexandre Duret-Lutz

Re: "include $(top_builddir)/aminclude.am" is ignored by automake

2005-02-07 Thread Alexandre Duret-Lutz
#x27; needs to know the filename at run-time in order to check whether `Makefile.am' exists. (In the very hairy case that your setup requires such use of variables, you will have to tell Automake which `Makefile.in's to generate on the command-line.) To summarize: * Use literals for `Makefile's, and for other files whenever possible. * Use `$file' (or `${file}' without `AC_SUBST([file])') for files that `automake' should ignore. * Use `${file}' and `AC_SUBST([file])' for files that `automake' should not ignore. -- Alexandre Duret-Lutz

Re: Running ./config.status

2005-02-04 Thread Alexandre Duret-Lutz
CVS Autoconf at this date, and they have changed a bit. -- Alexandre Duret-Lutz

Re: "include $(top_builddir)/aminclude.am" is ignored by automake

2005-02-02 Thread Alexandre Duret-Lutz
On Wed, Feb 02, 2005 at 11:46:28AM +0100, Ralf Corsepius wrote: > MYDIR=$(top_builddir) > include $(MYDIR)/aminclude.am This should have the same effect as include $(top_builddir)/aminclude.am which Tom is trying to avoid because it is not portable. If you want to portably include (non-automake

Re: 5.9 The Future of `aclocal'

2005-02-02 Thread Alexandre Duret-Lutz
e> and the files COPYING, INSTALL, config.guess and Bruce> config.sub were not copied into the directory until I Bruce> directly invoked "automake" with the noted options: Bruce> automake --gnu --add-missing --copy --ignore-deps -Wall That would be a bug. Please show us how to reproduce it so it can be fixed. -- Alexandre Duret-Lutz

Re: 5.9 The Future of `aclocal'

2005-02-02 Thread Alexandre Duret-Lutz
ariable Stepan> in the top level Makefile.am. That would be in each Makefile.am: AUTOMAKE_OPTIONS is local, AM_INIT_AUTOMAKE is global. -- Alexandre Duret-Lutz

Re: "include $(top_builddir)/aminclude.am" is ignored by automake

2005-02-02 Thread Alexandre Duret-Lutz
each time a user run ./configure in the source tree it should cause automake to be rerun to update all dependent Makefile.ins. This implies your users must have automake installed. -- Alexandre Duret-Lutz

Re: Automake and dependency generation for Haskell

2005-01-30 Thread Alexandre Duret-Lutz
erable slow down. Why does it "re-read many files"? Shouldn't it just compare time stamps like make would do? (And if so, why would it be slower than make?) Anyway, an idea would be to write a depcomp than use --make and -M during the first compilation, and use only -M for later recompilation. That's would be an improvement for all but the first compilation. -- Alexandre Duret-Lutz

Re: aclocal: /usr/bin/m4: `m4_symbols' from frozen file not found in builtin table!

2005-01-29 Thread Alexandre Duret-Lutz
On Sat, Jan 29, 2005 at 11:12:49AM -0800, Bruce Korb wrote: > What does this mean? The same as the last time you asked, I guess. http://lists.gnu.org/archive/html/autoconf/2003-06/msg00085.html

Re: automake doesn't run first gcc command , depcomp problem ?

2005-01-28 Thread Alexandre Duret-Lutz
>>> "Jonas" == Jonas Geiregat <[EMAIL PROTECTED]> writes: Jonas> Hi, Hi, What versions of Autoconf & Automake do you use ? What does `autereconf -vfi -Wall' print? -- Alexandre Duret-Lutz

Re: libtool non standard library name

2005-01-28 Thread Alexandre Duret-Lutz
you should simply state so in your Makefile.am: http://sources.redhat.com/automake/automake.html#Libtool-Modules -- Alexandre Duret-Lutz

Re: automake/autoreconf: Incomprehensible error messages bugs

2005-01-25 Thread Alexandre Duret-Lutz
ind this. Things are moving, but slowly. Please see (in that order): http://lists.gnu.org/archive/html/bug-gnu-utils/2004-11/msg00099.html http://lists.gnu.org/archive/html/bug-hello/2004-12/msg8.html http://www-src.lip6.fr/homepages/Alexandre.Duret-Lutz/autotools.html -- Alexandre Duret-Lutz

Re: Clean folders

2005-01-23 Thread Alexandre Duret-Lutz
t Leonardo> could conflict with a possible ``clean-local'' in the Makefile.am. Leonardo> Any ideas? clean-local: rm -rf $(MYCLEANFILES) -- Alexandre Duret-Lutz

Re: Automake 1.9.4 won't pass all tests...

2005-01-17 Thread Alexandre Duret-Lutz
ams and their version automake required for Ben> installation. I know configure will generally tell you, Ben> but it would be nice to be able to check a file Ben> first. Just a thought. Perl >= 5.005_03 Autoconf >= 2.58 should be all we expect -- Alexandre Duret-Lutz

Re: Configuring automake says autoconf 2.58 or higher needed. Have au toconf 2.59 installed. What is/goes wrong?

2005-01-16 Thread Alexandre Duret-Lutz
>>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes: Ralf> On Sat, 2005-01-15 at 13:15 +0100, Alexandre Duret-Lutz wrote: >> PS: I know this is not the first time, but I simply do not >> understand why you respond to bug reports without Cc: the &

Re: make -k fails on cygwin

2005-01-15 Thread Alexandre Duret-Lutz
up recursive targets with GNU make. Option -C is neither portable nor standard. How about the following patch to Automake? The very last paragraph of check4.test shows how I was able to reproduce the problem with GNU make (without cygwin modifications). 2005-01-15 Alexandre Duret-Lutz

Re: Configuring automake says autoconf 2.58 or higher needed. Have au toconf 2.59 installed. What is/goes wrong?

2005-01-15 Thread Alexandre Duret-Lutz
>>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes: Ralf> On Thu, 2005-01-13 at 21:12 +0100, Alexandre Duret-Lutz wrote: >> >>> "Meussen" == Meussen Erik IT415 <[EMAIL PROTECTED]> writes: [...] Meussen> checking whether

Re: Conditional append

2005-01-13 Thread Alexandre Duret-Lutz
pan> Safety, I guess. http://sources.redhat.com/ml/bug-automake/2004/msg00656.html -- Alexandre Duret-Lutz

  1   2   3   4   5   6   7   8   9   10   >