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!
-
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 Researc
es in nobase_dist_pkgdata_DATA, e.g.:
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
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 determi
ad
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 La
sing files.
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
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 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
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.
- co
ed, if you're
not a developer (so you're in the position "I want to deploy 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,
--
ted HTML pages right away.
2. Use an Automake conditional to fill the html_DATA variable only if
configure detected that man2html was available.
I prefer 1. better, since people *want* the documentation, without
the hassle of installing all the dependencies to build it. If you go
for
+= lib/uuid.c
endif
?
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
$^ -o $@
.3.html:
$(MAN2HTML) $^ -o $@
-
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
t targets
differently but from the same sources. I think you'll need this if
you want to build your libraries twice with different CFLAGS/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
--foreign
Makefile.am: 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
0: use `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
ily, `LDFLAGS' aren't used during the compilation, they're
only passed to the ``Link eDitor'' (I guess 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 direct
ke a typo. You wrote `zizutil.c' whereas 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
so my Makefile.am is
noinst_LIBRARIES = libzizzy.a
libzizzy_a_SOURCES = zizutil.c zizzy.c
Is my Makefile.am correct?
Yes, it seems 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
tests whether the current
compiler handles `-mlp64'.
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
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
-pipe"
fi
-or-
AC_PROG_CC
# 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: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
, and I guess it would be much better
with make -j2 distcheck.
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 u
(gcc3/gcc4), OSX
(Intel/PPC) 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
De
this works 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
Descripti
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
import the various 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 com
ad-mt.* -- for instance).
Anyways, 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
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
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
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
nd use $(SD_BASE_DIR) 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 fin
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 the related posts on GNU Make W32 ML
archive, sorry.
--
Benoit Sigoure aka Tsuna
EPITA Research and Development La
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 t
u.org/software/automake/manual/html_node/
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
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},
-safe mkdir -p... /opt/local/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
$ make foo
sed -e 's,${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 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 chec
nput file per test (say a .chk file)
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 ak
sure)
Moreover I don't know 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
550 Invalid address in
message header
[trying without a GPG sig... that's weird]
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
t to
check whether 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
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
i_SOURCES = ...
AM_CFLAGS = $(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 Labor
ime stamps
http://lists.gnu.org/archive/html/automake/2006-12/msg00053.html
install-sh -C
http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00070.html
Hope this helps.
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a
SUFFIXES :)
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
This message was sent using IMP, the Internet Messaging Program.
fix the timestamp as it has already
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.
s the path
to the compiler 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 I
heck
would have revealed this problem too.
The attached patch solves your problem. I also recommend passing the
`foreign' option to AM_INIT_AUTOMAKE so that you don't have to supply
all these empty files.
Cheers,
--
Benoit Sigoure aka Tsuna
which
is often the case).
I don't have a good 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
me to compile foo.x with g++
Is this a bug or a feature ?
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
not be listed in
`(nodist_)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
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)'} = MAIN
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 abo
Quoting Ralf Wildenhues <[EMAIL PROTECTED]>:
Hello everyone,
First, please be aware of another thread discussing a similar topic:
<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/9692/focus=9695>
* Benoit Sigoure wrote on Mon, Mar 19, 2007 at 12:39:32PM CET:
In a first time, I
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 Andreas Schwab <[EMAIL PROTECTED]>:
Benoit Sigoure <[EMAIL PROTECTED]> writes:
Although two ways of solving this issue have been proposed already, there is
also another way out: using an AC_CONFIG_FILES.
glpegsolitair
Quoting Enrico Sardi <[EMAIL PROTECTED]>:
I have a desktop file like this:
glpegsolitaire.desktop
--
[Desktop Entry]
Name=Peg Solitaire
Comment=A "Peg Solitaire" for Gnome
Exec=glpegsolitaire
Icon=glpegsolitaire.png
Terminal=false
T
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
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 start
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 alre
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.
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 bu
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], [-package-wide-f
Hello
My make distcheck fails on Windows because of the following:
-
check_PROGRAMS = \
simple \
xml-simple \
parentness \
destroy
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
69 matches
Mail list logo