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
---
@@
+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
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
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
.:
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
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
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
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
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
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
.
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
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
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
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
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
.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
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
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
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
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
(_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
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
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
* 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
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
$@
-
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
?
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
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
/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
: 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
`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
'.
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
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
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
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
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
# 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
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
.
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
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
) 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
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
} 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
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
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
be interested indeed.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
, 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
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
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
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
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
) 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
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
[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
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
/
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
,${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
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
)
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
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
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
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
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
= $(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
,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
This message was sent using IMP, the Internet Messaging Program.
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.
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
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
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.
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
)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
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
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
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)'} =
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
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
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
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
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
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
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.
Hello
My make distcheck fails on Windows because of the following:
-
check_PROGRAMS = \
simple \
xml-simple \
parentness \
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],
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
84 matches
Mail list logo