make maintainer-check

2010-05-26 Thread Lorenzo Bettini
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 Computer Science, DI

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 file

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-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 ( host_os

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

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

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
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-24 Thread Lorenzo Bettini
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 Lorenzo -- Lorenzo Bettini, PhD

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

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

suggestions about AC_CONFIG_MACRO_DIR

2009-04-21 Thread Lorenzo Bettini
-- 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://longlivemusic.blogspot.com http

Re: installing a whole directory

2009-04-16 Thread Lorenzo Bettini
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# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC

Re: Doxygen and Autotools

2009-04-14 Thread Lorenzo Bettini
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++ library which I'm

installing a whole directory

2009-04-14 Thread Lorenzo Bettini
'./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 Science, DI, Univ. Torino ICQ# lbetto

Doxygen and Autotools

2009-04-12 Thread Lorenzo Bettini
, 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 User # 158233

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 Science

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: 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 much more

Re: building a qt library

2008-11-30 Thread Lorenzo Bettini
Lorenzo Bettini wrote: SNIP 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

a problem with libtool (searching for libiconv.la)

2008-11-30 Thread Lorenzo Bettini
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, Univ. Torino ICQ# lbetto

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

Re: building a qt library

2008-11-29 Thread Lorenzo Bettini
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 BLOGS: http

building a qt library

2008-11-27 Thread Lorenzo Bettini
-- 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://longlivemusic.blogspot.com http

Re: %-style pattern rules

2007-08-08 Thread Lorenzo Bettini
). 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 Firenze ICQ

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 portably, i.e

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

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

make problem under freebsd

2003-03-09 Thread Lorenzo Bettini
? 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| | Dip

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 expected behavior in some versions of make that automatic

Re: problem with conditionals and \ separator in SOURCES

2001-04-18 Thread Lorenzo Bettini
-- +-+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD student in Computer Science| | Florence - Italy (Linux User # 158233) | | Home Page: http://w3.newnet.it/bettini | | http://infostud.dsi.unifi.it/~bettini | | Mail : [EMAIL

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 Lorenzo maintain two different program names and versions, and Lorenz

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 something like make install_java2html... Version numbers are up to you

building many programs into the same project

2001-03-17 Thread Lorenzo Bettini
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 (Linux