Re: passing flags to C compiler but not to C++ compiler

2013-07-29 Thread Robert Boehne
On 07/29/13 10:55, Vincent Torri wrote: On Mon, Jul 29, 2013 at 5:17 PM, Robert Boehne wrote: On 07/27/13 16:26, Vincent Torri wrote: On Sat, Jul 27, 2013 at 10:24 PM, Robert Boehne wrote: On 07/27/13 00:32, Vincent Torri wrote: hello in my sources, i have both C and C++ files. Something

Re: passing flags to C compiler but not to C++ compiler

2013-07-29 Thread Robert Boehne
On 07/27/13 16:26, Vincent Torri wrote: On Sat, Jul 27, 2013 at 10:24 PM, Robert Boehne wrote: On 07/27/13 00:32, Vincent Torri wrote: hello in my sources, i have both C and C++ files. Something like my_lib_la_SOURCES = foo.c foo.cpp I want to pass, for example, -Wdeclaration-after

Re: passing flags to C compiler but not to C++ compiler

2013-07-27 Thread Robert Boehne
You add that flag to CXXFLAGS on the configure command line. configure CXXFLAGS=-Wdeclaration-after-statement Along with any other options you need. Vincent Torri wrote: >hello > >in my sources, i have both C and C++ files. Something like > >my_lib_la_SOURCES = foo.c foo.cpp > >I want to pass

Re: passing flags to C compiler but not to C++ compiler

2013-07-27 Thread Robert Boehne
he configure in the command, those settings will be saved in config.log so you can see what they were set to when you built. HTH, Robert Boehne

Re: libtool libraries requiring other libraries

2013-07-16 Thread Robert Boehne
cause they need to have everything listed in the proper order on the link line. If you add LT_INIT to configure.ac your problem should go away. HTH, Robert Boehne On 07/16/13 09:56, Steffen Sledz wrote: Sorry, if this is a faq, but i didn't found a clear answer searching around. Given situa

Re: Help with static linking

2013-05-31 Thread Robert Boehne
r in front of me, so YMMV, you should man ld to make sure those flags are correct. HTH, Robert Boehne Kip Warner wrote: >Hey lists, > >Sorry for posting on both autoconf and automake lists. I wasn't sure >which one would be more appropriate for this problem. > >I know

Re: install-strip variant that strips then installs?

2013-05-13 Thread Robert Boehne
uld not be portable. HTH, Robert Boehne Gavin Smith wrote: >On Tue, May 7, 2013 at 5:12 PM, Rhys Ulerich >wrote: >> I gather that 'make install-strip' installs and then strips binaries. >> Is there some variant that reverses the order? If not, any >> recomme

Re: problem with AM_PATH_PYTHON

2012-10-26 Thread Robert Boehne
On 10/26/12 09:04, Stefano Lattarini wrote: Hi Václav, sorry for the delay. On 10/15/2012 09:07 PM, Václav Zeman wrote: Hi. I am having a problem with AM_PATH_PYTHON. I have this in my configure.ac: AS_IF([test "x$with_python" = "xyes"], [AM_PATH_PYTHON([2.3], [:], [:]) AX_SWIG_PYTHON

Re: Cannot Create Executables (configure and -fPIC/-pic)

2012-08-21 Thread Robert Boehne
Jeffrey, If you look at config.log it will show you the test program that it was attempting to compile, and what errors that attempt generated. It seems like your compiler doesn't like "-fPIC -pic" and it has little to do with autotools. HTH, Robert On 08/21/12 17:06, Jeffrey Walton wrote:

Re: Dynamic package version numbers with Autoconf and Automake

2012-08-15 Thread Robert Boehne
On 08/15/12 08:45, Bob Friesenhahn wrote: On Wed, 15 Aug 2012, Miles Bader wrote: (3) The final version info is updated (using VCS info and/or autoconf version info) at make time using a script, and when it changes, only causes a source file (e.g., version.c) to change. This means tha

Re: should an empty "pkgdata_DATA" cause creation of $(pkgdatadir) by "make install"?

2012-03-13 Thread Robert Boehne
ld also be able to not create $(pkgdatadir) as well as a non-empty $(pkgdatadir). IMHO - whether this was by design or by accident isn't important. What's more important is that the behavior is intuitive, and this behavior (to me) is intuitive. Robert Boehne

Re: *simple* example using Autotest

2012-02-08 Thread Robert Boehne
On 02/07/12 16:46, Eric Blake wrote: On 02/07/2012 03:08 PM, Robert Boehne wrote: All, I'd like to start using Autotest in a project (that needs is badly) but the full-featured GNU M4 example is a bit hard to wrap my head around. Can anyone suggest another project I could look at

*simple* example using Autotest

2012-02-07 Thread Robert Boehne
All, I'd like to start using Autotest in a project (that needs is badly) but the full-featured GNU M4 example is a bit hard to wrap my head around. Can anyone suggest another project I could look at as an example, that has more basic/rudimentary Autotest use? Thanks, Robert

Re: Weird problem with LIBADD

2006-10-06 Thread Robert Boehne
an cheat by putting all the libraries in a circular dependency loop into a single library. Another potential method of cheating is to wait until runtime to load them (i.e. use dlopen). HTH, Robert Boehne References 1. http://wiki.azazil.net/GnuLibtoolProject/RoadMap

Re: Automake 1.7.2b uploaded (beta for 1.7.3)

2003-02-16 Thread Robert Boehne
t; in the local-install-files rule to transform ../foo to foo but is that portable enough to use? Probably of more concern to the readers is the conculsion that this problem wasn't Automake's fault. Thanks, Robert Alexandre Duret-Lutz wrote: > > >>> "Robert&qu

Re: Automake 1.7.2b uploaded (beta for 1.7.3)

2003-02-14 Thread Robert Boehne
why this is happening? I began to look into this problem because another maintainer has not been able to run "make distcheck" since he abandoned a much older Automake. Let me know if I can provide more information. Thanks, Robert Alexandre Duret-Lutz wrote: > > >>> &quo

Re: Automake 1.7.2b uploaded (beta for 1.7.3)

2003-02-13 Thread Robert Boehne
ow are the offending files ${infodir}/dir ${prefix}/share/libtool: install-sh missing mkinstalldirs Is this a bug or misuse? Robert Boehne ERROR: files left after uninstall: ./share/libtool/install-sh ./share/libtool/missing ./share/libtool/mkinstalldirs ./info/dir make[1]: *** [distuninstallchec

DEPDIR not set by current CVS Automake

2001-07-03 Thread Robert Boehne
this is a bug as it worked in previous versions of Automake. Thanks, Robert -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

Re: Auto-tools & Win32 & Borland C++ Builder

2001-05-23 Thread Robert Boehne
er seen a patch rejected because it wasn't for gcc, I think everyone's goal is to have a set of tools that work everywhere for every situation. Currently these tools will do the job for 95% of projects on 95% of platforms (or better) and there is nothing else that can claim that. << END_FLAME Cheers! Robert -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

Re: PATCH: Fix dependency tracking (revised)

2001-05-07 Thread Robert Boehne
Tom Tromey wrote: > > >>>>> "Robert" == Robert Boehne <[EMAIL PROTECTED]> writes: > > Robert> 2001-04-25 Robert Boehne <[EMAIL PROTECTED]> > Robert> * configure.in: Add _am_dep_true='@AMDEP_TRUE@' and AC_SUBS

Re: PATCH: Fix dependency tracking (revised)

2001-05-07 Thread Robert Boehne
Tom Tromey wrote: > > >>>>> "Robert" == Robert Boehne <[EMAIL PROTECTED]> writes: > > Robert> 2001-04-25 Robert Boehne <[EMAIL PROTECTED]> > Robert> * configure.in: Add _am_dep_true='@AMDEP_TRUE@' and AC_SUBS

PATCH: Fix dependency tracking (revised)

2001-04-25 Thread Robert Boehne
t;" when dependency tracking is off. ChangeLog entry: 2001-04-25 Robert Boehne <[EMAIL PROTECTED]> * configure.in: Add _am_dep_true='@AMDEP_TRUE@' and AC_SUBST it. * automake.in: (handle_dependencies) Replace @AMDEP_TRUE@ in $output_rules with @_am_dep_true@

PATCH: Fix dependency tracking

2001-04-23 Thread Robert Boehne
Here is a patch that fixes the problems I've been winging about. Part of the problem appears to be that @AMDEP_TRUE@ is AC_SUBST'd when automake is generated from automake.in, so I add a dummy variable and set it to '@AMDEP_TRUE@' and subst that into automake.in. Thanks,

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
Robert Boehne wrote: > > Alexandre Oliva wrote: > > > > On Apr 18, 2001, Robert Boehne <[EMAIL PROTECTED]> wrote: > > > > > .c.o: > > > source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ > > >

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
@_am_quote@' . $iter . '@_am_quote@' . "\n"); } Where did @AMDEP_TRUE@ go? -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
CVS version of aclocal.m4 doesn't match CVS m4/depend.m4, could that cause a problem? Robert Boehne wrote: > > Hello, > > There is a bit of a problem in CVS Automake (Today's) when > --disable-dependency-tracking is specified to configure. > If dependency track

Re: Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-23 Thread Robert Boehne
Alexandre Oliva wrote: > > On Apr 18, 2001, Robert Boehne <[EMAIL PROTECTED]> wrote: > > > .c.o: > > source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ > > depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo&

Bug when specifying --disable-dependency-tracking (AM_DEP_TRACK)

2001-04-18 Thread Robert Boehne
ncy-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$ena

Re: @_am_quote@ not replaced by 'configure'

2001-04-18 Thread Robert Boehne
Robert Boehne wrote: > > Hello! > > Current CVS sources of Automake leave @_am_quote@ > un-substituted in Makefile's causing make to fail > if dependencies are requested. > This is a recent problem, it's existed in CVS for > only a few days (don't know e

@_am_quote@ not replaced by 'configure'

2001-04-17 Thread Robert Boehne
ke libtool, etc. would help find these problems before they get checked in. The test could simply be skipped if there is no C/C++/F77/? compiler found. I would be more than happy to contribute the test as well. Any thoughts? Robert -- Robert Boehne Software Engineer Ricardo Sof

Re: depcomp w/ libtool leaves %% in Makefile.in

2001-04-11 Thread Robert Boehne
Ignore this, my email server is just very slow. Robert Robert Boehne wrote: > > Akim Demaille wrote: > > > > Please, edit depend2.am and replace > > > > if %?LIBTOOL?% > > > > endif %?LIBTOOL?% > > > > with > > > > if %?LIBTO

Re: depcomp w/ libtool leaves %% in Makefile.in

2001-04-11 Thread Robert Boehne
Akim Demaille wrote: > > Please, edit depend2.am and replace > > if %?LIBTOOL?% > > endif %?LIBTOOL?% > > with > > if %?LIBTOOL% > > endif %?LIBTOOL% > > (no ? at the end). It should make it, right? That fixed it! I've att

depcomp w/ libtool leaves %% in Makefile.in

2001-04-11 Thread Robert Boehne
x27;$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< endif %% . -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

depcomp not found if in aux_dir

2001-04-11 Thread Robert Boehne
E checking dependency style of g++... cp: /icarus/OCC/OCC/depcomp: No such file or directory /icarus/OCC/OCC/configure: ./depcomp: No such file or directory none -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

Re: SGI mode depcomp breaks when '.' appears in source filenames twice

2001-04-06 Thread Robert Boehne
or. > > I agree. That's all that matters. It probably doesn't generate "::" > rules, or run on Windows, or anything like that. > > I haven't read the patch yet. But if someone else with write access > thinks it is ok, that's good enough for me. It,

Re: SGI mode depcomp breaks when '.' appears in source filenames twice

2001-04-06 Thread Robert Boehne
perhaps other compilers that use the same scheme(?). If we had source for the SGI preprocessor we could find out for certain, but I doubt that '::' will appear anywhere in its output. I have attached a patch, made with the suggestions by Hari. Unfortunately it wasn't made with cvs

SGI mode depcomp breaks when '.' appears in source filenames twice

2001-04-05 Thread Robert Boehne
: #:fec : The problem is the appearance of 'ExprIntrp.tab.o:' on the second line, this is intended to be stripped out, and is if the sed command from depcomp is altered to sed 's/^[^\.]*\.tab.o://' But that, of course, is not the fix. Could a sed guru suggest a fix for this part

Re: Fixed? (Was: Conditionals in CVS Automake)

2001-03-27 Thread Robert Boehne
[EMAIL PROTECTED] wrote: > > I think I have it. It's a very stupid typo :( > > > >patchName: patch > Type: Plain Text (text/plain) Fixed. :) Thanks Akim! Robert -- Robert B

Re: Help with CVS (Was: Conditionals in CVS Automake)

2001-03-27 Thread Robert Boehne
Akim: I think the breakage was introduced on March 5. I wasn't able to narrow it down to any specific change though. None of them seemed to me like they were candidates. Robert Akim Demaille wrote: > > > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: > > Lars> On Tue, Mar 27, 2001 at 0

Re: Conditionals in CVS Automake

2001-03-26 Thread Robert Boehne
#" then there is no definition for $(am_helldl_OBJECTS), but it is used throughout Makefile.in. Does any of this set off alarm bells? Robert Robert Boehne wrote: > > Akim Demaille wrote: > > > > >>>>> "Robert" == Robert Boehne <[EMAIL PROT

Re: Conditionals in CVS Automake

2001-03-26 Thread Robert Boehne
Akim Demaille wrote: > > >>>>> "Robert" == Robert Boehne <[EMAIL PROTECTED]> writes: > > Robert> Hello all! I've found a problem with conditional compilation > Robert> in the CVS version of Automake that was introduced some time > Ro

Conditionals in CVS Automake

2001-03-22 Thread Robert Boehne
Could someone point me to the file(s) that could be the culprit(s)? I've not been able to track this down as I'm not that familiar with the entrails of Automake. Thanks, Rob -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 23

$ in source file names

2001-02-19 Thread Robert Boehne
pp' is in Makefile.am, am_progname_OBJECTS is empty. Is this not supported by Automake, or is it a bug? If Automake doesn't support $ in source file names, then I would suggest that it isn't an important requirement for Libtool. Robert Boehne Software Engineer Ricardo

ansi2knr breaks dependency generation

2001-01-10 Thread Robert Boehne
o get a little help with this, has anyone committed a supect patch that might do this? Robert -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

Re: How to install "config.h"

2000-10-30 Thread Robert Boehne
Assar Westerlund wrote: > > Robert Boehne <[EMAIL PROTECTED]> writes: > > I have a massive set of C++ libraries that use > > CVS libtool, autoconf and automake to build and install. > > Since users then need to have _all_ the header files > > they also

Re: How to install "config.h"

2000-10-26 Thread Robert Boehne
er than the csh scripts that are currently distributed -- no joke, csh! With that said, is pkginclude_HEADERS = config.h a reasonable solution? -- Robert Boehne Very tired Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

Re: More about dependencies...

2000-10-26 Thread Robert Boehne
... gcc > > checking dependency style of gcc... gcc > > > > Why is a ~/depcomp necessary in ~/ since I don't have any code there? > > Actually it is needed only there, and not in the source directories. > You just need one copy of the script per tree. 'automa

How to install "config.h"

2000-10-26 Thread Robert Boehne
n $(prefix) ? -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

Re: dependency files not from stdout

2000-09-28 Thread Robert Boehne
nd how this is set. I know what to do, I just can't find where to do it. ;) Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED]

dependency files not from stdout

2000-09-22 Thread Robert Boehne
it is not sent to stdout, the file would have to be copied to $tmpdepfile and then edited with "tr" like the SGI ouput is. Q1: Is it possible to do this in the current depmod framework? (I think it is, but I'm not sure what the issues from other scripts like libtool are) Q2: How is $d

Directory navigation

2000-08-29 Thread Robert Boehne
t" directory? Can I use a Makefile.am in one of the src/subpart directories to create a Makefile in @host@/obj/subpart ? I won't even mention the headaches that I will encounter when I go to link the C++ shared libraries... ;) -- Robert Boehne Software Engineer Ricardo Soft