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! -

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 Researc

Re: Installing data in heirarchical fashion

2007-11-20 Thread Benoit Sigoure
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

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 determi

Re: Another snag.. extension detection

2007-11-18 Thread Benoit Sigoure
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

Re: automake/autoconf problem

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

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: 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: 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. - co

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

2007-11-05 Thread Benoit Sigoure
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, --

Re: Generating 'cat' pages on make install

2007-11-04 Thread Benoit SIGOURE
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

Re: Conditional sources

2007-11-04 Thread Benoit SIGOURE
+= lib/uuid.c endif ? -- 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
$^ -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

Re: How to create optimized library?

2007-10-29 Thread Benoit SIGOURE
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

Passing --add-missing when rebuilding Makefile.in

2007-10-29 Thread Benoit SIGOURE
--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

Re: Cannot see CFLAGS

2007-10-23 Thread Benoit SIGOURE
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

Re: Cannot see CFLAGS

2007-10-22 Thread Benoit SIGOURE
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

Re: Version question and "No rule to make target" question

2007-10-22 Thread Benoit SIGOURE
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

Re: Version question and "No rule to make target" question

2007-10-22 Thread Benoit SIGOURE
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

Re: Version question and "No rule to make target" question

2007-10-22 Thread Benoit SIGOURE
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

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

Re: -pipe passed to gcc via Automake

2007-10-21 Thread Benoit SIGOURE
-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

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

Infinite recursion with `check_SCRIPTS = check'

2007-10-20 Thread Benoit SIGOURE
, 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

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 u

prog_LDADD at the end of the linking command line

2007-10-19 Thread Benoit SIGOURE
(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

Re: $(COMPILE)

2007-10-16 Thread Benoit SIGOURE
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

Re: Changing $libdir

2007-10-16 Thread Benoit SIGOURE
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: read-only git mirror of automake cvs repository

2007-10-08 Thread Benoit SIGOURE
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

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

2007-10-07 Thread Benoit SIGOURE
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

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

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

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: User defined variable to configure library headers location.

2007-09-14 Thread Benoit SIGOURE
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

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 fin

Re: Producing MS Developer Studio Project files

2007-09-05 Thread Benoit SIGOURE
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

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 t

Re: ifdef ... endif issue

2007-08-25 Thread Benoit SIGOURE
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

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},

Re: replacement of variable placeholders in files

2007-08-22 Thread Benoit SIGOURE
-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

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 chec

Re: multiple cpu's

2007-08-20 Thread Benoit SIGOURE
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

Re: Build a lib, then example programs

2007-08-09 Thread Benoit SIGOURE
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

Re: %-style pattern rules

2007-07-26 Thread Benoit SIGOURE
550 Invalid address in message header [trying without a GPG sig... that's weird] -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory

Re: automake failing nearly all tests

2007-07-20 Thread Benoit SIGOURE
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

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&#x

Re: Problems to include mysql.h in the Makefile

2007-07-17 Thread Benoit SIGOURE
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

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Benoit SIGOURE
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

Re: Adding extra rules to make

2007-06-21 Thread Benoit Sigoure
SUFFIXES :) Cheers, -- 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
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.

Re: automake and cl.exe

2007-05-29 Thread Benoit Sigoure
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

Re: Problem with distribution of bin_SCRIPTS

2007-05-29 Thread Benoit Sigoure
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

Re: Overwriting targets.

2007-04-23 Thread Benoit Sigoure
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

Re: renamed objects and other languages

2007-04-23 Thread Benoit Sigoure
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: renamed objects and other languages

2007-04-22 Thread Benoit Sigoure
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

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)'} = MAIN

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 abo

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

2007-03-19 Thread Benoit Sigoure
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

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: Desktop file and exec path

2007-02-08 Thread Benoit Sigoure
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

Re: Desktop file and exec path

2007-02-08 Thread Benoit Sigoure
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

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

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 start

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 alre

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.

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 bu

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], [-package-wide-f

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 \ destroy

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