make maintainer-check

2010-05-26 Thread Lorenzo Bettini
thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com

portable $(notdir) function

2009-09-14 Thread Lorenzo Bettini
Hi In a Makefile.am I'd like to use $(notdir $<) but that's a GNU make extension... is there a way of achieving the same result in a portable way? Does automake provide a special variable/function for that? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Compute

Re: invoke pkg-config with --static

2009-05-23 Thread Lorenzo Bettini
Ralf Wildenhues wrote: Hi Lorenzo, * Lorenzo Bettini wrote on Sun, May 17, 2009 at 09:07:16AM CEST: Bob Friesenhahn wrote: On Sat, 16 May 2009, Lorenzo Bettini wrote: when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does

Re: invoke pkg-config with --static

2009-05-23 Thread Lorenzo Bettini
Ralf Wildenhues wrote: * Lorenzo Bettini wrote on Fri, May 22, 2009 at 03:48:49PM CEST: No I meant: if additional libraries are shown when building with shared library enable, this should do no harm, shouldn't it? In such case, one could simply not use .Private specification in .pc

Re: invoke pkg-config with --static

2009-05-22 Thread Lorenzo Bettini
Ralf Wildenhues wrote: * Lorenzo Bettini wrote on Sun, May 17, 2009 at 09:01:18PM CEST: Ralf Wildenhues wrote: * Lorenzo Bettini wrote on Sun, May 17, 2009 at 12:27:32PM CEST: Ralf Wildenhues wrote: You can just use pkg-config --static all the time, unless ( disable_static && (

Re: invoke pkg-config with --static

2009-05-17 Thread Lorenzo Bettini
Ralf Wildenhues wrote: * Lorenzo Bettini wrote on Sun, May 17, 2009 at 12:27:32PM CEST: Ralf Wildenhues wrote: * Lorenzo Bettini wrote on Sun, May 17, 2009 at 09:07:16AM CEST: Bob Friesenhahn wrote: On Sat, 16 May 2009, Lorenzo Bettini wrote: when ./configure is run with --disable-shared

Re: invoke pkg-config with --static

2009-05-17 Thread Lorenzo Bettini
Ralf Wildenhues wrote: Hi Lorenzo, * Lorenzo Bettini wrote on Sun, May 17, 2009 at 09:07:16AM CEST: Bob Friesenhahn wrote: On Sat, 16 May 2009, Lorenzo Bettini wrote: when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does

Re: Problems with linking multiple lex/yacc parsers into one executable

2009-05-17 Thread Lorenzo Bettini
s is the best way to do it: langdefscanner.cc: $(srcdir)/langdefscanner.ll $(LEX) $(LFLAGS) -o $@ $(srcdir)/langdefscanner.ll langdefparser.cc: $(srcdir)/langdefparser.yy $(YACC) -p langdef_ -o $@ $(srcdir)/langdefparser.yy --defines=$*.h and in the .ll I'm using the prefix option -- L

Re: invoke pkg-config with --static

2009-05-17 Thread Lorenzo Bettini
Bob Friesenhahn wrote: On Sat, 16 May 2009, Lorenzo Bettini wrote: when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does not select private libraries in the .pc file)? It seems that LT_INIT has been executed, the shell

Re: invoke pkg-config with --static

2009-05-17 Thread Lorenzo Bettini
Robert Collins wrote: On Sat, 2009-05-16 at 19:04 -0500, Bob Friesenhahn wrote: On Sat, 16 May 2009, Lorenzo Bettini wrote: when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does not select private libraries in the .pc file

invoke pkg-config with --static

2009-05-16 Thread Lorenzo Bettini
Hi when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does not select private libraries in the .pc file)? -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME

installcheck example

2009-04-25 Thread Lorenzo Bettini
Hi are there any installcheck examples? I mean an example that uses a Makefile.am with some installcheck targets? The hello package does not implement this target, unfortunately. thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto

Re: suggestions about AC_CONFIG_MACRO_DIR

2009-04-24 Thread Lorenzo Bettini
t if I put library flags into Libs.private, these will show up only if pkg-config is invoked with --static (when building static libraries); however, this flag is not automatically detected if configure is invoked with --disable-share or -all-static in LDFLAGS, am I right? cheers Lorenz

Re: suggestions about AC_CONFIG_MACRO_DIR

2009-04-24 Thread Lorenzo Bettini
Ralf Wildenhues wrote: Hi Lorenzo, * Lorenzo Bettini wrote on Thu, Apr 23, 2009 at 09:20:05AM CEST: Ralf Wildenhues wrote: * Lorenzo Bettini wrote on Wed, Apr 22, 2009 at 08:15:01PM CEST: Yes I know, and these are those files; I was thinking of distributing since my macro (for my library

Re: suggestions about AC_CONFIG_MACRO_DIR

2009-04-23 Thread Lorenzo Bettini
Ralf Wildenhues wrote: Hello Lorenzo, * Lorenzo Bettini wrote on Wed, Apr 22, 2009 at 08:15:01PM CEST: Christian Rössel wrote: Lorenzo Bettini wrote: Braden McDaniel wrote: On 4/21/09 1:35 PM, Lorenzo Bettini wrote: aclocaldir = $(datadir)/aclocal aclocal_DATA = ax_boost_base.m4

Re: suggestions about AC_CONFIG_MACRO_DIR

2009-04-23 Thread Lorenzo Bettini
Braden McDaniel wrote: On 4/22/09 2:16 PM, Lorenzo Bettini wrote: Braden McDaniel wrote: On 4/22/09 12:13 PM, Lorenzo Bettini wrote: Braden McDaniel wrote: On 4/21/09 1:35 PM, Lorenzo Bettini wrote: Hi I started adding some m4 macros to my program, that I put in the m4 directory in my

Re: suggestions about AC_CONFIG_MACRO_DIR

2009-04-22 Thread Lorenzo Bettini
Braden McDaniel wrote: On 4/22/09 12:13 PM, Lorenzo Bettini wrote: Braden McDaniel wrote: On 4/21/09 1:35 PM, Lorenzo Bettini wrote: Hi I started adding some m4 macros to my program, that I put in the m4 directory in my sources, and that will be installed during the make install. I then

Re: suggestions about AC_CONFIG_MACRO_DIR

2009-04-22 Thread Lorenzo Bettini
Christian Rössel wrote: Lorenzo Bettini wrote: Braden McDaniel wrote: On 4/21/09 1:35 PM, Lorenzo Bettini wrote: Hi I started adding some m4 macros to my program, that I put in the m4 directory in my sources, and that will be installed during the make install. I then added aclocaldir

Re: suggestions about AC_CONFIG_MACRO_DIR

2009-04-22 Thread Lorenzo Bettini
Braden McDaniel wrote: On 4/21/09 1:35 PM, Lorenzo Bettini wrote: Hi I started adding some m4 macros to my program, that I put in the m4 directory in my sources, and that will be installed during the make install. I then added aclocaldir = $(datadir)/aclocal aclocal_DATA = ax_boost_base.m4

suggestions about AC_CONFIG_MACRO_DIR

2009-04-21 Thread Lorenzo Bettini
?]). What is the most used convention about this? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertr

Re: installing a whole directory

2009-04-17 Thread Lorenzo Bettini
Ralf Wildenhues wrote: * Lorenzo Bettini wrote on Thu, Apr 16, 2009 at 11:30:12AM CEST: the problem is that I should list all the files manually, and I'd need to install all the files generated by doxygen... Ralf Wildenhues wrote: ## This rule requires Autoconf 2.62 or newer. install

Re: installing a whole directory

2009-04-16 Thread Lorenzo Bettini
p -f", but then you still don't allow your users to override permissions, or owner, or use "install-sh -C" or so here). Hope that helps. I'll try this thanks! thanks also to Laura! cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# l

installing a whole directory

2009-04-14 Thread Lorenzo Bettini
-c -m 644 './html' '/home/bettini/usr/local/share/doc/source-highlight/html' /usr/bin/install: omitting directory `./html' make[4]: *** [install-docDATA] Error 1 is there a way to achieve this? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Sc

Re: Doxygen and Autotools

2009-04-14 Thread Lorenzo Bettini
deal more specifically with the topic you're interested in (doxygen). A much-updated version of this book will be published later this year by No Starch Press. Regards, John On 4/12/2009 4:17 AM, Lorenzo Bettini wrote: Hi I've just started using doxygen for documenting a C++ lib

Doxygen and Autotools

2009-04-12 Thread Lorenzo Bettini
stand, the macro and the example do not deal with installation of doxygen generated documentation, do they? any suggestion for using doxygen with autotools? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux Use

checking for glib

2009-01-20 Thread Lorenzo Bettini
Hi I'd need to use the function g_find_program_in_path () in glib, if glib is found in the system... which is the best way of doing that? using the pkconfig or some specific macro provided by glib itself? many thanks in advance Lorenzo

problem with make distcheck

2008-12-12 Thread Lorenzo Bettini
Hi for a new project with autotools I'm using libraries not in standard directories; at configure time I pass the right arguments, but when I run make distchek it all fails: how can I pass arguments in this case? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Sc

Re: building a qt library

2008-12-01 Thread Lorenzo Bettini
Brian Dessent wrote: Lorenzo Bettini wrote: this approach does not seem to work: probably the qt-mt.pc shipped in the installation in cygwin is not correct since it uses -lresolv (libresolv) which is not installed... Install the minires-devel package then, which contains that library. Brian

Re: a problem with libtool (searching for libiconv.la)

2008-11-30 Thread Lorenzo Bettini
Bob Friesenhahn wrote: On Sun, 30 Nov 2008, Lorenzo Bettini wrote: now, this libiconv.la (which, actually, is not installed in my system) is not named anywhere in the libtool generated by configure, and, most of all, if I manually run the link command on the command line (i.e., without

a problem with libtool (searching for libiconv.la)

2008-11-30 Thread Lorenzo Bettini
less it involves constant data structures referencing symbols from auto-imported DLLs.Info: resolving QString::shared_null by linking to __imp___ZN7QString11shared_nullE (auto-import) what is going wrong? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI,

Re: building a qt library

2008-11-30 Thread Lorenzo Bettini
Lorenzo Bettini wrote: I was also thinking of using the pkg-config approach, since qt ships the .pc files this approach does not seem to work: probably the qt-mt.pc shipped in the installation in cygwin is not correct since it uses -lresolv (libresolv) which is not installed

Re: building a qt library

2008-11-30 Thread Lorenzo Bettini
Craig Sanders wrote: Lorenzo Bettini <[EMAIL PROTECTED]> wrote:> Craig Sanders wrote: Greetings Lorenzo. I have used the GNU Autotools in the past to build some simple projects which made use of the Qt Library. I prefer to use the GNU Autotools as I find them much more flexible and

Re: building a qt library

2008-11-29 Thread Lorenzo Bettini
e you even tried your project under cygwin? cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba B

building a qt library

2008-11-27 Thread Lorenzo Bettini
n advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longli

Re: %-style pattern rules

2007-08-08 Thread Lorenzo Bettini
rcdir). the problem is that I have the lang files in some directories and I must be able to process them from the directory I am in now... with %. there was no problem... but now I guess I have to write each rule explicitly... -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenz

Re: %-style pattern rules

2007-08-01 Thread Lorenzo Bettini
Andreas Schwab wrote: Lorenzo Bettini <[EMAIL PROTECTED]> writes: Ralf Wildenhues wrote: Hello Lorenzo, * Lorenzo Bettini wrote on Fri, Jul 27, 2007 at 05:18:48PM CEST: and what if I need two files (with two different extensions) depend on a single file? That is not possible portabl

Re: %-style pattern rules

2007-07-30 Thread Lorenzo Bettini
Ralf Wildenhues wrote: Hello Lorenzo, * Lorenzo Bettini wrote on Fri, Jul 27, 2007 at 05:18:48PM CEST: and what if I need two files (with two different extensions) depend on a single file? That is not possible portably, i.e., with inference rules. So either you can just choose to rely on

Re: %-style pattern rules

2007-07-27 Thread Lorenzo Bettini
BeN [F1233 121D312] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lorenzo Bettini wrote: about rules of the shape, e.g., %.txt: %.tt how else could I implement those make rules? I guess so called old-fashioned style of implicit rules would do: e.g: .SUFFIXES: .txt .tt all: t.txt

%-style pattern rules

2007-07-26 Thread Lorenzo Bettini
Hi after upgrading to automake 1.10 I get these warnings Makefile.am:47: `%'-style pattern rules are a GNU make extension about rules of the shape, e.g., %.txt: %.tt how else could I implement those make rules? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Sc

AM_PROG_LIBTOOL in automake 1.7.3

2003-03-27 Thread Lorenzo Bettini
Hi Is this macro disappeared? Lorenzo -- +-+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD in Computer Science| | Dip. Sistemi e Informatica, Univ. di Firenze | | Tel +39 055 4796741, Fax

Re: make problem under freebsd

2003-03-09 Thread Lorenzo Bettini
Paul Smith wrote: %% Lorenzo Bettini <[EMAIL PROTECTED]> writes: lb> foo.o: foo.c lb> gcc -c $< -o $@ lb> in that $< is not expanded... lb> is this a known bug? Depends on what you mean by "bug". It's not a bug in that it's exp

make problem under freebsd

2003-03-09 Thread Lorenzo Bettini
t with with automake? I noticed that automake generated rules do not experience this problem... thanks in advance cheers Lorenzo -- +-----+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD student in Computer Science

Re: problem with conditionals and \ separator in SOURCES

2001-04-18 Thread Lorenzo Bettini
2 of WinCVS, and checked that option: now it's working :-) thanks a lot Lorenzo -- +-+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD student in Computer Science| | Florence - Italy (Linux User # 158233) | | Home Page: http

Re: problem with conditionals and \ separator in SOURCES

2001-04-10 Thread Lorenzo Bettini
7;t know whether the cvs automake does. It does > set `binmode' on its output, but it might not handle \r\n in its input > too well. > > Lorenzo, can you check this? I didn't understand this last point: what should I check? What is cvs automake? thanks Lorenzo -- +--

problem with conditionals and \ separator in SOURCES

2001-04-10 Thread Lorenzo Bettini
ygwin thanks in advance Lorenzo -- +---------+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD student in Computer Science| | Florence - Italy (Linux User # 158233) | | Home Page: http://w3.n

Re: building many programs into the same project

2001-04-09 Thread Lorenzo Bettini
Tom Tromey wrote: > > >>>>> "Lorenzo" == Lorenzo Bettini <[EMAIL PROTECTED]> writes: > > Lorenzo> I mean that, e.g., java2html could be 1.7 and cpp2html 1.3, > Lorenzo> though they are in the same package, and possibly do > Lorenzo> som

Re: building many programs into the same project

2001-04-09 Thread Lorenzo Bettini
Tom Tromey wrote: > > >>>>> "Lorenzo" == Lorenzo Bettini <[EMAIL PROTECTED]> writes: > > Lorenzo> I'd like to include two of my programs java2html and cpp2html > Lorenzo> into the same package (say src2...), but I would like to > Lor

building many programs into the same project

2001-03-17 Thread Lorenzo Bettini
sible with automake and autoconf (which I'm already using)? Many thanks in advance cheers Lorenzo -- +---------+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD student in Computer Science| | Florence - Italy