[PATCH] Byte-compile nobase_*_PYTHON files only once.

2013-09-17 Thread Benoit Sigoure
Byte-compiling was occurring inside of a loop, causing an O(n^2) number of byte-compilations instead of O(n). --- lib/am/python.am | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/am/python.am b/lib/am/python.am index 36f0b2d..06545b1 100644 ---

[PATCH] docs: Add references between the 2 sections on compiling Java.

2011-07-15 Thread Benoit Sigoure
@@ +2011-07-15 Benoit Sigoure tsuna...@gmail.com + + docs: Add references between the 2 sections on compiling Java. + * doc/automake.texi (Java Support, Java): Add cross-references. + 2011-07-08 Stefano Lattarini stefano.lattar...@gmail.com tests: fix weakness in 'tests

Re: Subdir prerequisites

2007-12-25 Thread Benoit Sigoure
pages :) Something as simple as SUBDIRS = . foo sounds like it could create an infinite recursion, but well, it does work. It won't create an infinite recursion. When you don't list `.' in SUBDIRS, it's implicitly listed last. Cheers and merry Christmas! -- Benoit Sigoure aka

Re: FYI: Quote @abs_top_builddir@ and @[EMAIL PROTECTED]

2007-11-26 Thread Benoit Sigoure
know for sure we want them in the mainline, we cherry-pick them in `master'. Somewhat like what git does for its own development. (more info can be found here: http://marc.info/? l=gitm=119569175608108w=2) -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig

Re: Installing data in heirarchical fashion

2007-11-20 Thread Benoit Sigoure
.: nobase_dist_pkgdata_DATA = images/vortex.pgm sounds/whirl.ogg See: http://www.gnu.org/software/automake/manual/html_node/ Alternative.html Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Creating makefile for using Linux-PAM-0.99.6.2

2007-11-20 Thread Benoit Sigoure
additional help, don't hesitate to post precise questions here, after checking the online manual :) http://www.gnu.org/software/autoconf/manual/ http://www.gnu.org/software/automake/manual/ http://www.gnu.org/software/libtool/manual.html Cheers, -- Benoit Sigoure aka Tsuna EPITA Research

Re: Introduce and use the %KEY?TRUE:FALSE% template token

2007-11-19 Thread Benoit Sigoure
the `---' and the diffstat. If you want to remove that commit, you can then git reset --hard HEAD~1. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Introduce and use the %KEY?TRUE:FALSE% template token

2007-11-19 Thread Benoit Sigoure
in master. It's safer. # inspection: git log; git show # publish: git push # finally, you should not need the branch any more: git branch -d my-ternary HTH. Untested. :) -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description

Re: Another snag.. extension detection

2007-11-18 Thread Benoit Sigoure
of AC_PROG_CC and AC_PROG_CXX? Can't you populate the right cache variables to set the results you want without going through the tests? It's a kludge, but it's less kludgy than what Ralf suggested, or so I think. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig

Re: Another snag.. extension detection

2007-11-18 Thread Benoit Sigoure
On Nov 18, 2007, at 6:42 PM, NightStrike wrote: On Nov 18, 2007 10:11 AM, Benoit Sigoure [EMAIL PROTECTED] wrote: On Nov 18, 2007, at 9:02 AM, NightStrike wrote: I hit another snag in my project. I am building a runtime as a component of a cross compiler. Configure has to determine

Re: automake/autoconf problem

2007-11-17 Thread Benoit Sigoure
. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: autoconf version control announcements

2007-11-11 Thread Benoit Sigoure
too? I find it very convenient. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

[PATCH] Don't create world-writable files.

2007-11-10 Thread Benoit Sigoure
There is one last occurrence in `distdir' but it seems to be there to work around buggy tar implementations. * Makefile.am (path-check): Here. * lib/am/distdir.am (distcheck): Here. * tests/defs.in (trap setup): Here. Signed-off-by: Benoit Sigoure [EMAIL

AM_LIBS / AM_LDADD

2007-11-06 Thread Benoit SIGOURE
Hi list, would anyone be against the introduction of AM_LIBS / AM_LDADD (before the release of 1.11) to be more consistent with the existing AM_*flags? -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: [PATCH] Document AM_MISSING_PROG.

2007-11-05 Thread Benoit Sigoure
On Nov 5, 2007, at 8:14 PM, Ralf Wildenhues wrote: Hello Benoit, * Benoit SIGOURE wrote on Sun, Nov 04, 2007 at 08:44:50PM CET: --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -40,6 +40,7 @@ alpha.test \ alpha2.test \ amassign.test \ ammissing.test \ +ammissingprog.test \ amopt.test

Re: [PATCH] Document AM_MISSING_PROG.

2007-11-05 Thread Benoit Sigoure
. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: [PATCH] Document AM_MISSING_PROG.

2007-11-05 Thread Benoit Sigoure
On Nov 6, 2007, at 5:04 AM, Ralf Wildenhues wrote: * Benoit Sigoure wrote on Tue, Nov 06, 2007 at 01:24:11AM CET: On Nov 5, 2007, at 10:09 PM, Ralf Wildenhues wrote: Would be good to also have a test with a program that does not exist, i.e., a test that exposes all aspects of `missing's

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Benoit Sigoure
the software), which is typically the the situation where the source tree might be read-only, it won't bug you since the tarball you use already contains the pre-built HTML pages. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Benoit Sigoure
On Nov 5, 2007, at 9:46 PM, Jason Curl wrote: Benoit Sigoure wrote: On Nov 5, 2007, at 11:08 AM, Jason Curl wrote: In the end, everything works like a dream. Here's my solution for those who are interested, or who'd like to do something similar for their projects. - configure.ac

Re: Aw: Re: Generating 'cat' pages on make install

2007-11-05 Thread Benoit Sigoure
On Nov 6, 2007, at 5:22 AM, Ralf Wildenhues wrote: * Ralf Wildenhues wrote on Tue, Nov 06, 2007 at 05:11:13AM CET: * Benoit Sigoure wrote on Tue, Nov 06, 2007 at 01:31:42AM CET: --Makefile.am--- bin_PROGRAMS = foo foo_SOURCES = foo.c BUILT_SOURCES

Re: colorful tests

2007-11-04 Thread Benoit SIGOURE
(_process_option_list): Handle it. * lib/am/check.am (am__tty_colors): New variable. Use ... (check-TESTS): ... here. * NEWS: Mention color-tests. * tests/Makefile.in, lib/Automake/tests/Makefile.in: Regenerate. Thanks for taking care of this! -- Benoit Sigoure aka Tsuna EPITA

Re: colorful tests

2007-11-04 Thread Benoit SIGOURE
On Nov 4, 2007, at 7:17 PM, Ralf Wildenhues wrote: Hello Benoit, * Benoit SIGOURE wrote on Sun, Nov 04, 2007 at 06:50:08PM CET: On Nov 4, 2007, at 6:41 PM, Ralf Wildenhues wrote: I took the various bits of code from the parallel tests check.mk from Akim and tried to mangle that suitable

Re: prepare Automake's test suite for parallelization

2007-11-04 Thread Benoit SIGOURE
done -cd ./testSubDir +cd ./$testSubDir # Build appropriate environment in test directory. Eg create # configure.in, touch all necessary files, etc. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

[PATCH] Document AM_MISSING_PROG.

2007-11-04 Thread Benoit Sigoure
* TODO: Kill the relevant entry. * doc/automake.texi (Public macros): Document AM_MISSING_PROG. * tests/Makefile.am: Add the new test. * tests/ammissingprog.test: New. Signed-off-by: Benoit Sigoure [EMAIL PROTECTED] --- Please drop autoconf-patches when replying

Re: [PATCH] Document AM_MISSING_PROG.

2007-11-04 Thread Benoit SIGOURE
On Nov 4, 2007, at 8:22 PM, Benoit Sigoure wrote: * TODO: Kill the relevant entry. * doc/automake.texi (Public macros): Document AM_MISSING_PROG. * tests/Makefile.am: Add the new test. * tests/ammissingprog.test: New. Signed-off-by: Benoit Sigoure [EMAIL

Re: Generating 'cat' pages on make install

2007-11-04 Thread Benoit SIGOURE
$@ - You don't need to change Automake or whatever. It's pretty simple and self-contained. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Conditional sources

2007-11-04 Thread Benoit SIGOURE
? -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Generating 'cat' pages on make install

2007-11-04 Thread Benoit SIGOURE
people *want* the documentation, without the hassle of installing all the dependencies to build it. If you go for 2., consider providing a separate package that contains the pre- built documentation. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig

Re: How to create optimized library?

2007-10-30 Thread Benoit SIGOURE
/CXXFLAGS. [1] http://www.gnu.org/software/automake/manual/html_node/true.html Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Passing --add-missing when rebuilding Makefile.in

2007-10-30 Thread Benoit SIGOURE
: required file `./depcomp' not found Makefile.am: `automake --add-missing' can install `depcomp' make: *** [Makefile.in] Error 1 Would it be a problem if --add-missing was always passed to automake at this point? Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory

Re: Cannot see CFLAGS

2007-10-23 Thread Benoit SIGOURE
`zizzy_LDADD', not `zizzy_LIBADD' What should I do then? Do what automake tells you: use zizzy_LDADD. Actually you have to use foo_LDADD when `foo' is a program and foo_LIBADD when `foo' is a library (AFAIR). Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig

Re: Version question and No rule to make target question

2007-10-22 Thread Benoit SIGOURE
'. By the way, you should use AM_CFLAGS everywhere, for CFLAGS is reserved to the user. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Version question and No rule to make target question

2007-10-22 Thread Benoit SIGOURE
to be correct. This Makefile.am is in the folder src/ jz/gen right? Along with the sources `zizutil.c' and `zizzy.c', right? -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Version question and No rule to make target question

2007-10-22 Thread Benoit SIGOURE
it seems it should have been `zizutils.c'. By the way, you must also add the headers in _SOURCES so that they get properly distributed. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Cannot see CFLAGS

2007-10-22 Thread Benoit SIGOURE
that's where `LD' comes from). 2, why does the compiler trying to re-compile the library file (gen/ libzizzy.a ora/libzizora.a), but not to use them directly? I don't see where it's trying to re-compile the library. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory

Re: Infinite recursion with `check_SCRIPTS = check'

2007-10-21 Thread Benoit SIGOURE
On Oct 21, 2007, at 11:46 AM, Ralf Wildenhues wrote: Hello Benoit, * Benoit SIGOURE wrote on Sat, Oct 20, 2007 at 01:58:23PM CEST: Hello list, Due to a sudden lack of imagination, I wrote a testsuite named `check' and used it as a `check_SCRIPTS' which led to an infinite recursion of make

Re: -pipe passed to gcc via Automake

2007-10-21 Thread Benoit SIGOURE
# Speed GCC compilation up. if test $GCC = yes; then CFLAGS=$CFLAGS -pipe fi (the $GCC and $GXX variables are set by AC_PROG_{CC,CXX}) Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: -pipe passed to gcc via Automake

2007-10-21 Thread Benoit SIGOURE
On Oct 21, 2007, at 11:24 PM, Bob Friesenhahn wrote: On Sun, 21 Oct 2007, Benoit SIGOURE wrote: On Oct 21, 2007, at 7:13 PM, NightStrike wrote: If I wanted -pipe passed in to gcc all the time, do I put that in AM_CPPFLAGS or AM_CFLAGS? I usually do this in my configure.ac: AC_PROG_CXX

Infinite recursion with `check_SCRIPTS = check'

2007-10-20 Thread Benoit SIGOURE
. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: prog_LDADD at the end of the linking command line

2007-10-19 Thread Benoit SIGOURE
On Oct 19, 2007, at 7:16 PM, Ralf Wildenhues wrote: Hello Benoit, * Benoit SIGOURE wrote on Fri, Oct 19, 2007 at 06:48:25PM CEST: # Add boost libraries. AM_CXXFLAGS += $(BOOST_CPPFLAGS) AM_LDFLAGS += $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB) Don't put libs (-l...) in LDFLAGS, it messes up

prog_LDADD at the end of the linking command line

2007-10-19 Thread Benoit SIGOURE
) and Windows VC++, but not on Windows with MinGW! And, of course, if I manually run the link command with `libkernel.a' before `-lboost_thread-mt', it links fine. Thanks. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message

Re: [Bug-tar] GNU tar 1.19 on HP-UX

2007-10-18 Thread Benoit SIGOURE
a shell script, alter all the Makefile* in the tree like # find . -name 'Makefile*' |\ xargs perl -pi -e's/^check:/test check:/' and there was no more cursing :) Ahah. Doing this will lead to some unexpected breakage, some day. For sure. Be warned. Cheers, -- Benoit Sigoure aka

Re: Changing $libdir

2007-10-16 Thread Benoit SIGOURE
} is not known at configure time and should be overridable even after configure has been run) mylib_LIBRARIES = libfoo.a libfoo_a_SOURCES = foo.c ? -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: $(COMPILE)

2007-10-16 Thread Benoit SIGOURE
for C++ too (I haven't checked but I wouldn't be surprised). What does it actually get set to? To whatever command that can actually compile a C source file :) Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed

Re: read-only git mirror of automake cvs repository

2007-10-08 Thread Benoit SIGOURE
autotools with git- cvsimport and it always miserably failed (for various reasons, but mainly because cvsps is a really dirty hack and its code has lots of bugs, some of which I had to fix so that it eventually finishes but the resulting Git repository had lots of corrupted commits). -- Benoit

Re: support for lzma in automake?

2007-10-07 Thread Benoit SIGOURE
be interested indeed. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: files left in build directory after distclean using subdir-objects

2007-10-07 Thread Benoit SIGOURE
, would it be possible for you to shrink down the problem to a small configure script and Makefile.am so that others can try to reproduce it easily? Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Patch proposal: Add --clean options to unbootstrap a project.

2007-10-02 Thread Benoit SIGOURE
it? Either check for and reject cache names containing apostrophe, or (better yet) support the names. That's true but let's first get this change out of the way, I'll be glad to tackle this issue afterwards. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig

Re: Migration to Git?

2007-10-01 Thread Benoit SIGOURE
On Oct 1, 2007, at 8:59 AM, NightStrike wrote: On 9/30/07, Benoit SIGOURE [EMAIL PROTECTED] wrote: Hello, several GNU projects (including autoconf) have moved to Git, is there Just curious... why git over svn? Instead of going in lengthy threads, I think you should simply read

Migration to Git?

2007-09-30 Thread Benoit SIGOURE
Hello, several GNU projects (including autoconf) have moved to Git, is there any similar plan for automake and libtool? Is anyone in charge of this? Help needed? Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally

Re: Migration to Git?

2007-09-30 Thread Benoit SIGOURE
On Sep 30, 2007, at 5:59 PM, Ralf Wildenhues wrote: Hello Benoit, all, * Benoit SIGOURE wrote on Sun, Sep 30, 2007 at 04:08:46PM CEST: Hello, several GNU projects (including autoconf) have moved to Git, is there any similar plan for automake and libtool? Is anyone in charge of this? Help

Re: User defined variable to configure library headers location.

2007-09-14 Thread Benoit SIGOURE
) in your Makefile.am's. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Producing MS Developer Studio Project files

2007-09-06 Thread Benoit SIGOURE
On Sep 6, 2007, at 7:26 AM, Harald Dunkel wrote: Hi Benoit, Benoit SIGOURE wrote: [1] http://www.tsunanet.net/~tsuna/cccl [2] http://www.tsunanet.net/~tsuna/make-3.81-cygwin.patch http://www.tsunanet.net/~tsuna/make-3.81- cygwin_MAKE_expansion.patch Can't be bothered to find

Re: Producing MS Developer Studio Project files

2007-09-05 Thread Benoit SIGOURE
[2] http://www.tsunanet.net/~tsuna/make-3.81-cygwin.patch http://www.tsunanet.net/~tsuna/make-3.81- cygwin_MAKE_expansion.patch Can't be bothered to find the related posts on GNU Make W32 ML archive, sorry. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig

Re: AC_PROG_CC sets CFLAGS, what about AM_CFLAGS?

2007-08-27 Thread Benoit SIGOURE
On Aug 27, 2007, at 2:51 PM, Thien-Thi Nguyen wrote: () Benoit SIGOURE [EMAIL PROTECTED] () Mon, 27 Aug 2007 09:48:16 +0200 AM_CFLAGS is reserved for developers. It's not a problem if the user overrides the default value of CFLAGS since CFLAGS is reserved for the user. i understand

Re: ifdef ... endif issue

2007-08-25 Thread Benoit SIGOURE
/ Conditionals.html) and there is nothing such as ifdef. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: replacement of variable placeholders in files

2007-08-22 Thread Benoit SIGOURE
,${LOCALSTATEDIR},/usr/local/var,g' ./foo.in foo $ sh foo /usr/local/var -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: replacement of variable placeholders in files

2007-08-22 Thread Benoit SIGOURE
On Aug 22, 2007, at 1:41 PM, Benoit SIGOURE wrote: I think the line should be: $(SED) -e 's,$${LOCALSTATEDIR},${localstatedir},g' $(top_srcdir)/ conf/project.conf.in $@ As noted by Bernd Jendrissek, there should be a backslash in there: sed -e 's,\$${LOCALSTATEDIR},${localstatedir},g

Re: multiple cpu's

2007-08-20 Thread Benoit SIGOURE
) that produces a .log file. We can then benefit from the parallelism of make with implicit rules (exactly like for .c - .o). The file has slightly evolved since then but I can post an updated version if someone is interested. -- Benoit Sigoure aka Tsuna EPITA Research and Development

Re: multiple cpu's

2007-08-20 Thread Benoit SIGOURE
On Aug 20, 2007, at 5:15 PM, Jim Meyering wrote: Benoit SIGOURE [EMAIL PROTECTED] wrote: On Aug 12, 2007, at 11:09 PM, Ralf Wildenhues wrote: Hello Jim, * Jim Meyering wrote on Sun, Aug 12, 2007 at 12:46:20PM CEST: On a related note, it'd sure be nice if make -j4 check would run its

Re: Build a lib, then example programs

2007-08-09 Thread Benoit SIGOURE
whether this is intended but the _HEADERS primary is used to specify headers that must be installed. If you did not mean this, you do better just list the headers in the libdconn_a_SOURCES. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description

Re: Problems to include mysql.h in the Makefile

2007-07-20 Thread Benoit SIGOURE
On Jul 20, 2007, at 9:33 PM, Damian Montaldo wrote: On 7/17/07, Benoit SIGOURE [EMAIL PROTECTED] wrote: On Jul 17, 2007, at 8:22 PM, Damian Montaldo wrote: Hi, i'm having some problems to include mysql.h when i compile C source code. Hello Damian, I'm using this macro http://autoconf

Re: automake failing nearly all tests

2007-07-20 Thread Benoit SIGOURE
this was autoconf 2.6.1 or 2.61 (that's a common mistake). -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description: This is a digitally signed message part

Re: Problems to include mysql.h in the Makefile

2007-07-17 Thread Benoit SIGOURE
= $(MYSQL_CFLAGS) ... if you don't already use AM_CFLAGS and all the targets of this Makefile.am must use $(MYSQL_CFLAGS). If you already use AM_CFLAGS, then simply use `+=' instead of `='. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory PGP.sig Description

Re: Adding extra rules to make

2007-06-21 Thread Benoit Sigoure
, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory This message was sent using IMP, the Internet Messaging Program.

Re: Automake violations of the gnu coding conventions

2007-06-19 Thread Benoit Sigoure
been said. And then ask the developers of bar to provide you with a tarball :) -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory This message was sent using IMP, the Internet Messaging Program.

Re: Patch proposal: Add --clean options to unbootstrap a project.

2007-06-18 Thread Benoit Sigoure
Quoting Ralf Wildenhues [EMAIL PROTECTED]: Hello Benoit, * Benoit Sigoure wrote on Sun, Jun 17, 2007 at 01:16:35AM CEST: I've reviewed the patches I proposed back in March, completed them with tests, ChangeLog and NEWS entries. If they are accepted, I'll write the documentation. Please

Re: Problem distchecking CVS automake

2007-06-15 Thread Benoit Sigoure
Quoting Ralf Wildenhues [EMAIL PROTECTED]: Hello Benoit, Thanks for the report. * Benoit Sigoure wrote on Thu, Jun 14, 2007 at 01:44:45PM CEST: it looks like it's impossible to dist or distcheck automake after a fresh checkout, one has to run make all first. Is that a problem, rather than

Problem distchecking CVS automake

2007-06-14 Thread Benoit Sigoure
Config.pm +dist-hook: Config.pm + EXTRA_DIST = Config.in Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory This message was sent using IMP, the Internet Messaging Program.

Re: automake and cl.exe

2007-05-29 Thread Benoit Sigoure
and the library to set, which I will be doing in the Makefile.am Hi what about ./configure CXX=cl.exe ? -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory This message was sent using IMP, the Internet Messaging

Re: renamed objects and other languages

2007-04-23 Thread Benoit Sigoure
)aaa_SOURCES'. Only `foo.cc' AND `foo.h' must be there. And I'd put both `foo.h' and `foo.cc' in BUILT_SOURCES, because that's what they are. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory

Re: renamed objects and other languages

2007-04-23 Thread Benoit Sigoure
no sense to me to compile foo.x with g++ Is this a bug or a feature ? Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory

Re: Overwriting targets.

2007-04-23 Thread Benoit Sigoure
solution when the sub-directory needs to be invoked recursively before `.', does anyone have an idea? (better than overriding the recursion mechanism with a hand-crafted one) -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory

BUILT_SOURCES automagically made MAINTAINERCLEANFILES

2007-03-30 Thread Benoit Sigoure
Hello I've searched in the manual but the following behavior is not documented: # handle_clean ($MAKEFILE) # # Handle all 'clean' targets. sub handle_clean ($) { ... # Built sources are automatically removed by maintainer-clean. $clean_files{'$(BUILT_SOURCES)'} =

Re: Shouldn't the definition of maintainer-clean be changed?

2007-03-20 Thread Benoit Sigoure
Quoting Bruce Korb [EMAIL PROTECTED]: Not knowing the guts of this, my only complaint has to do with the help text for ``--clean'' and the lack of consistency WRT ``-c'' being an acceptable alias for it. Yeah you're right, the message should be consistent in the different programs. What

Re: Shouldn't the definition of maintainer-clean be changed?

2007-03-19 Thread Benoit Sigoure
Quoting Stepan Kasal [EMAIL PROTECTED]: In the course of the preceding year or two, whenever I heard about mainatiner-clean, it was misinterpreted this way. (That's why I reacted so hysterically when I saw your hint on the automake list.) Same thing here. Actually I discovered last year, by

Re: problem with a test that is expected to fail, on cygwin only...

2007-01-16 Thread Benoit Sigoure
Quoting Ralf Wildenhues [EMAIL PROTECTED]: * Brian Dessent wrote on Tue, Jan 16, 2007 at 03:33:27AM CET: Ed Hartnett wrote: TESTFILES = nctst tst_failure [...] TESTS = $(TESTFILES) run_nc_tests.sh XFAIL_TESTS = tst_failure [...] XFAIL: tst_failure [...] FAIL: tst_failure.exe Notice

Re: ``install -C'' / unnecessarily updating time stamps

2006-12-24 Thread Benoit Sigoure
Quoting Paul Eggert [EMAIL PROTECTED]: I like the basic idea for this. The patches would have to be contributed by someone who's signed the appropriate papers, since it's a nontrivial change. As soon as this thread started, I talked with Akim Demaille about this issue and he said he

Re: ``install -C'' / unnecessarily updating time stamps

2006-12-24 Thread Benoit Sigoure
Quoting Benoit Sigoure [EMAIL PROTECTED]: Quoting Paul Eggert [EMAIL PROTECTED]: I like the basic idea for this. The patches would have to be contributed by someone who's signed the appropriate papers, since it's a nontrivial change. As soon as this thread started, I talked with Akim

Re: c++ link order problems

2006-11-28 Thread Benoit Sigoure
Quoting Ralf Wildenhues [EMAIL PROTECTED]: Hello Dan, * Dan McMahill wrote on Tue, Nov 28, 2006 at 02:56:40PM CET: foo_SOURCES= src1.cc src4.cc src5.cc nodist_foo_SOURCES= src2.cc src3.cc and some extra suffix rules that specify how src2.cc and src3.cc are created (they are generated at

Re: c++ link order problems

2006-11-28 Thread Benoit Sigoure
Quoting Bob Proulx [EMAIL PROTECTED]: Dan McMahill wrote: Ralf Wildenhues wrote: Just curious: what's the reason for the ordering constraint? When static objects use inheritance, the base class must be initialized before anything can be derived from it. At least that's what I've been told.

EXEEXT messing up extension substitutions on win32.

2006-11-15 Thread Benoit Sigoure
Hello My make distcheck fails on Windows because of the following: - check_PROGRAMS = \ simple \ xml-simple \ parentness \

How to properly define package-wide flags.

2006-11-15 Thread Benoit Sigoure
Hello folks, In a recent discussion with Akim Demaille, we found out that we didn't set our package-wide flags the same way and he couldn't convince me that his way was safer/cleaner/etc so maybe you have an idea as to what's best practice: My approach is to AC_SUBST([AM_*FLAGS],

Re: Integrating Code Generator

2006-11-14 Thread Benoit Sigoure
Quoting Paulo J. Matos [EMAIL PROTECTED]: Hello, I'm quite curious how can I with autotools integrate a code generator during the make process. For example: a generator receives as input .gen files and produces .hh files which are then used for compilation. How can I integrate this generator by