Re: missing fi for compilation to .obj

2002-11-14 Thread Tom Tromey
> "Eric" == Eric Blake <[EMAIL PROTECTED]> writes: Eric> I don't have the automake sources in front of me, but the file to Eric> patch gets installed as /usr/share/automake/am/depend2.am. Eric> 2002-11-14 Eric Blake <[EMAIL PROTECTED]> Eric> * am/depend2.am: Add missing fi in c.obj rule.

automake buglet

2003-08-10 Thread Tom Tromey
I'm using 1.7.6a. My Makefile.am has: TEXINFO_TEX = ../gcc/doc/include/texinfo.tex My configure.in has: AC_CONFIG_AUX_DIR(..) I expected TEXINFO_TEX to override AC_CONFIG_AUX_DIR, but it doesn't: fleche. automake Makefile.am:61: required file `../texinfo.tex' not found Tom

Re: question about automake build

2003-08-14 Thread Tom Tromey
> "Alexandre" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: >> Take a look at the appended `make' output. Why are we building in >> `tests' twice? Alexandre> There are two different tests/ directories on HEAD... Duh, I can't read. Sorry about that. Tom

question about automake build

2003-08-14 Thread Tom Tromey
I haven't looked at this yet. Take a look at the appended `make' output. Why are we building in `tests' twice? Tom Making all in . make[1]: Entering directory `/home/tromey/gnu/Auto/automake/build' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/tromey/gnu/Auto/autom

precompiled header suggestion

2003-09-30 Thread Tom Tromey
Recently gcc added precompiled header support. This is mostly useful for C++, but C might benefit in some cases too. To use it, you make a special `.gch' file by compiling a bunch of .h files. Then you tell gcc to use it when compiling. Automake could usefully automate this. First, when buildi

Re: precompiled header suggestion

2003-10-01 Thread Tom Tromey
> "Rob" == Robert Collins <[EMAIL PROTECTED]> writes: >> Recently gcc added precompiled header support. This is mostly useful >> for C++, but C might benefit in some cases too. Rob> Are you planning on doing this, or just sketching the design and hoping Rob> for volunteer contributions? I'm

Re: How one could integrate Automake in an IDE ?

2003-10-10 Thread Tom Tromey
> "Alain" == Alain Magloire <[EMAIL PROTECTED]> writes: Alain> I'm curious on how the autoXXX tools like automake etc .. can Alain> be integrated nicely part of an IDE. So far what I've seen Alain> is not suitable enough ... Alain> If you know of a good integration, please send the URL. Th

Re: precompiled header suggestion

2003-10-10 Thread Tom Tromey
> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: adl> This sounds tricky. Adding such a file as a dependency of each .o file adl> means that _all_ of them will be updated whenever the .ghc changes. Good point. There are other possible approaches, though. For instance, for a give

Re: [SUGGESTION] Having 'make check' use AM_CPPFLAGS

2003-10-13 Thread Tom Tromey
> "Stephen" == Stephen Torri <[EMAIL PROTECTED]> writes: Stephen> TESTS = test_Foo Stephen> test_Foo_SOURCES = test_Foo.cpp As you discovered, you have to list test_Foo in a _PROGRAMS variable. I suggest check_PROGRAMS, as this is what `check' is made for. An entry in TESTS doesn't suffice;

Re: [PATCH] ylwrap

2003-10-24 Thread Tom Tromey
> "Didier" == dc <[EMAIL PROTECTED]> writes: Didier> I've made a patch several months ago concerning ylwrap, and Didier> posted it on http://savannah.gnu.org/patch/?group=automake , Didier> but it seems that it wasn't included yet. Since there wasn't Didier> any response so far, I joined the

Re: [PATCH] ylwrap

2003-10-24 Thread Tom Tromey
Tom> Alexandre, is ylwrap still maintained in the automake repository? adl> Yes. Do you think we should mention Automake in the headings of adl> all similar auxiliary files? Sure, but it doesn't matter much to me. A note in HACKING would suffice as well. Tom

Re: .Po / .Plo Question

2003-10-29 Thread Tom Tromey
> "Asim" == Asim Suter <[EMAIL PROTECTED]> writes: Asim> 1) Which tool/script/program generates .Po/.Plo files ? And at what Asim> stage ? They are initially created, as empty files, by configure when building the various Makefiles. Then, they are updated as a side effect of compilation. As

Re: defining xxx_PROGRAMS conditionally?

2003-11-11 Thread Tom Tromey
> "Harlan" == Harlan Stenn <[EMAIL PROTECTED]> writes: Harlan> And where is CVS automake these days? Is it still on Harlan> sourceware.cygnus.com? That machine was renamed to "sources.redhat.com" long ago. But yes, that is where it is hosted. Tom

Re: how to add dependencies to an auto-generated rule?

2003-11-11 Thread Tom Tromey
> "Jeff" == Jeff Rizzo <[EMAIL PROTECTED]> writes: Jeff> Ideally, I'd like to add a dependency on the file VERSION for the rule Jeff> for $(srcdir)/autoconf.h.in ... is there any way to do this? Doesn't it work to just write the dependency in Makefile.am? $(srcdir)/autoconf.h.in: VERSIO

Re: Adding a manpage to a autoconf/automake project (fwd)

2003-11-11 Thread Tom Tromey
> "Frank" == Frank Aune <[EMAIL PROTECTED]> writes: Frank> In my ROOT/Makefile.am I got so far: Frank> AUTOMAKE_OPTIONS = foreign 1.4 Frank> SUBDIRS = src Frank> I think I should then add in my ROOT/Makefile.am Frank> man_MANS = manpagename.8 Frank> where manpagename.8 resides in ROOT/man/ Pe

Re: Makefile dependency

2003-11-19 Thread Tom Tromey
> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes: Ralf> => automake-1.7's AM_MAINTAINER_MODE deactivates regeneration of Ralf> Makefile's. Ralf> I am inclined to interpret this as a bug and/or regression from earlier Ralf> versions of automake. I agree. The rule for maintainer mode wa

Re: AM_INIT_AUTOMAKE comes from an older version of automake

2003-11-24 Thread Tom Tromey
> ">" == Piyush Kumar Garg <[EMAIL PROTECTED]> writes: >> configure.in:12: old Automake version. You should recreate aclocal.m4 >> configure.in:12: with aclocal and run automake again. >> I am using RHL8.0. I also tried upgrading automake to 1.7.9 and >> autoconf to 2.57. It doesn't work. It

Re: Newbie Request for Help (make dist problem)

2003-12-09 Thread Tom Tromey
> "Scott" == J Scott Amort <[EMAIL PROTECTED]> writes: Scott> - include Scott> - src Scott>- subdir1 Scott>- subdir2 Scott> - extra Scott> - build Scott>- src Scott> The configure.ac, Makefile.am, etc. files are located in the Scott> src subdirectory of the build directory at the

Re: Non-recursive make & maintenance issue

2003-12-09 Thread Tom Tromey
> "Jirka" == Jirka Hanika <[EMAIL PROTECTED]> writes: Jirka> My view is that these (and other) problems disappear if you use a Jirka> per-directory Makefile.am; but I also see the benefits (esp. compilation Jirka> speed) of a non-recursive Makefile. So the solution could be to support Jirka>

Re: SUBDIRs and slashes

2003-12-09 Thread Tom Tromey
> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: "Marty" == Marty Leisner <[EMAIL PROTECTED]> writes: adl> [...] Marty> common/Makefile.am:1: directory should not contain `/' Marty> Just wondering for some thoughts on this matter...is Marty> there any reason to insist on sing

Re: Non-recursive make & maintenance issue

2003-12-09 Thread Tom Tromey
> "Bob" == Bob Friesenhahn <[EMAIL PROTECTED]> writes: Bob> In other words, dealing with junk like Bob> apps_build_postgres_src_build_postgres_SOURCES Bob> is very tiring and failure prone. Is there a reason why it can't Bob> simply be Bob> apps/build-postgres/src/build-postgres_SOURCES ? Ye

Re: [MAD SCIENCE EXPERIMENT]: Replace some libtool functionality with handcoded C

2003-12-09 Thread Tom Tromey
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> the *_OBJECT definitions assume the absence of shell-active Alexandre> characters in filenames, which is probably a safe Alexandre> assumption for Makefiles. It isn't unreasonable for a Java .class file's name to contain

Re: Emulating GNU Make conditionals, or: Is there a nice way to automatically set CFLAGS when make is run?

2003-12-11 Thread Tom Tromey
> "Dalibor" == Dalibor Topic <[EMAIL PROTECTED]> writes: Dalibor> They use make -DCHECK=1 to enable adding of special debuggin flags, Dalibor> for example, and make -DPROF=1 to add another set of flags to enable a Dalibor> build fro profiling. You can always add your own targets: debuggi

automake -vs- huge projects

2003-12-16 Thread Tom Tromey
Tom Fitzsimmons (CCd) has been working on upgrading libgcj to use newer auto* tools. This has gone swimmingly, except one problem with automake. A little background. libgcj is pretty big. It has 2,243 ".java" files at the moment. Previously it has been using its own slightly hacked automake 1.

Re: automake -vs- huge projects

2003-12-16 Thread Tom Tromey
> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: adl> Couldn't we use the (existing) .java.o: inference rule in this adl> case? Actually, is there a difference between `%.o: %.java' and adl> `.java.o:' beside portability? -- I'm not asking about the adl> general % construction, ju

Re: automake -vs- huge projects

2003-12-16 Thread Tom Tromey
> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: adl> Furthermore, generally it does not work to compile both the .o adl> and .lo objects of a source file (in the last example Automake adl> is expected to warn that these files are being built both with adl> and without Libtool), so

Re: Usage

2003-12-24 Thread Tom Tromey
> "John" == John Darrington <[EMAIL PROTECTED]> writes: John> One particular problem is the way in which they modify each other's John> input files. After a while, your Makefile.am looks like this: John> SUBDIRS= intl m4 intl m4 intl m4 intl m4 intl m4 intl m4 John> intl m4 intl m4 Rep

Re: SUBDIR_OBJECTS option

2003-12-30 Thread Tom Tromey
> "John" == jling <[EMAIL PROTECTED]> writes: John> I read in one thread the mention of a SUBDIR_OBJECTS option in John> automake. Supposedly this would prevent intermediate object files from John> ending up in the directory of the Makefile (I'm trying to use a non- John> recursive Makefil

Re: automake -vs- huge projects

2003-12-30 Thread Tom Tromey
>>>>> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: adl> I've found this: adl> 1999-11-22 Tom Tromey <[EMAIL PROTECTED]> adl> * automake.in (handle_single_transform_list): Generate explicit adl> rule for subdir

Re: automake -vs- huge projects (1st patch)

2004-01-02 Thread Tom Tromey
> "Tom" == Thomas Fitzsimmons <[EMAIL PROTECTED]> writes: [ suggestions ] Tom> Anyway, this patch brings us closer to using automake-1.8 for libgcj. Tom> Thanks! I think all the patches are in now. Could you try CVS automake and see how big the resulting Makefile.in is? Tom

Re: .cpp to .c

2004-01-02 Thread Tom Tromey
> "Bob" == Bob Lockie <[EMAIL PROTECTED]> writes: Bob> I have: Bob> arson_SOURCES = arson.cpp Bob> in Makefile.am Bob> and this is changed in Makefile.in Bob> arson_SOURCES = arson.c Bob> Any idea why my .cpp is changed to .c? No, that shouldn't happen. Do you have a small test case? Tom

Re: automake -vs- huge projects

2004-01-02 Thread Tom Tromey
> "Bob" == Bob Friesenhahn <[EMAIL PROTECTED]> writes: >> $(CC) -c -o $@ `$(CYGPATH_W) $<` Bob> An simple (but ugly) approach would be to define $(CYGPATH_W) to Bob> 'echo' when not compiling under Cygwin. We already have much worse hacks. But ideally we'd be reducing the amount of weird co

Re: Principles of a developing from a dist or install?

2004-01-02 Thread Tom Tromey
> "John" == jling <[EMAIL PROTECTED]> writes: John> Is there any sense in me having the user install the package (i.e. do John> a 'make install') and then have them develop off of the code in the John> install directory? ... assuming I have the source code and headers John> copied over dur

Re: automake -vs- huge projects

2004-01-02 Thread Tom Tromey
> "Paul" == Paul D Smith <[EMAIL PROTECTED]> writes: Paul> If you're willing to require GNU make then I'm quite confidant Paul> you could write automake as nothing more than a suite of GNU Paul> make macros and functions. Yeah. One idea for the post-auto* world is "let's beef up GNU make and

Re: utility programs used during build

2004-01-13 Thread Tom Tromey
> "Warren" == Warren Turkal <[EMAIL PROTECTED]> writes: Warren> Is there any analysis on what it would take to create utility Warren> programs that are only used during build in a crosscompiled Warren> environment in automake? Warren> I and working on the libX11 for Freedesktop.org and it bui

Re: make distcheck problem

2004-01-14 Thread Tom Tromey
> "Lars" == Lars Hecking <[EMAIL PROTECTED]> writes: Lars> if BUILD_SRC_BEOS_SUBDIR Lars> d_beos = beos Lars> endif Lars> SUBDIRS = $(d_beos) Lars> If I run make distcheck in the top level directory, it bombs out at Lars> one point because the beos subdir doesn't exist. Is this a bug in Lar

Re: utility programs used during build

2004-01-16 Thread Tom Tromey
> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes: >> > If you want a clean way, you'd have to split buildtools and >> > host-packages into separate (sub) packages and write a costomized >> > toplevel configure-script to parse and set the configure options for >> > build- and host- compile

Re: release schedule for 1.9? (Was: Re: automake -vs- huge projects (1st patch))

2004-01-22 Thread Tom Tromey
> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: adl> Also, since we have switched to API-numbering, bumping that adl> version number has a cost. For instance Debian distributes adl> automake1.4, automake1.6, automake1.7, and automake1.8. If we adl> add another API, it'd better be

Re: pathnames containing spaces

2004-01-27 Thread Tom Tromey
> "Russ" == Russ Allbery <[EMAIL PROTECTED]> writes: Russ> make uses a space as a separator, and getting it to accept spaces in file Russ> names is extremely difficult or impossible depending on the version of Russ> make that you're using. Yeah, and the problem is made worse because quoting f

Re: FEATURE REQUEST: Uninstall script should be created by AutoMake.

2004-03-09 Thread Tom Tromey
> "Hans" == Hans Deragon <[EMAIL PROTECTED]> writes: Hans>Automake should create a script that simply contains all the "rm" Hans>commands and have it installed with the other binaries. You could write a program to do this, if you wanted to experiment with it. You would run `make -n u

Re: Support for precompiled C++ headers

2004-12-01 Thread Tom Tromey
> "Roberto" == Roberto Bagnara <[EMAIL PROTECTED]> writes: Roberto> Can anyone point me to a C++ project that is working with Roberto> precompiled headers and that is doing it with the currently Roberto> available versions of automake and autoconf? >From the gcjx project on sourceforge: BUI

Re: AM_CPPFLAGS not applied for CHECK programs?

2005-08-28 Thread Tom Tromey
> "Bob" == Bob Friesenhahn <[EMAIL PROTECTED]> writes: Bob> As a follow-up to this posting, I see that when Automake generates a Bob> specific rule for a target built in a subdirectory, it forgets to Bob> include $(AM_CPPFLAGS). This is a serious error. This is documented in the 'Program and

Re: non-recursive automake advice?

2005-08-29 Thread Tom Tromey
> "tom" == tom fogal <[EMAIL PROTECTED]> writes: tom> Basically I'd like each module to build their own libtool convenience tom> library, and then have /src/Makefile.am link all of those modules' tom> convenience libraries into one that is the union of all of them. Do you really want each sep

Re: non-recursive automake advice?

2005-09-02 Thread Tom Tromey
> "Bob" == Bob Friesenhahn <[EMAIL PROTECTED]> writes: Bob> Note that the messages appear to indicate that Automake does recurse Bob> once regardless. Some features require a $(MAKE) invocation in the same directory. Offhand I forget what. As I recall, removing this would be tricky. Tom

Re: Portable prefix pattern rules

2005-09-05 Thread Tom Tromey
> "Brian" == Brian <[EMAIL PROTECTED]> writes: Brian> The following doesn't seem to work: Brian> SUFFIXES = .moc.cpp I have never tried it but it is somewhat hard to imagine some versions of make accepting a suffix with two '.'s in it. Brian> The only other alternative I see is to enumerate

Re: Portable prefix pattern rules

2005-09-05 Thread Tom Tromey
> "Brian" == Brian <[EMAIL PROTECTED]> writes: Brian> If the autotools were to recognize these pattern rules, scan Brian> the source and automatically generate portable rules for me, I Brian> would be a very happy customer indeed :) Sorry, I thought that was what we were talking about. In te

Re: why does make install depend upon all?

2005-09-10 Thread Tom Tromey
> "Harald" == Harald Dunkel <[EMAIL PROTECTED]> writes: Harald> Please see subject. Of course I would agree that this Harald> dependency is usually a good thing, but sometimes it might Harald> be helpfull to do a 'make install' for another prefix e.g. Harald> in your stow directory without ver

Re: compile not copied? Why?

2005-11-12 Thread Tom Tromey
> "Harald" == Harald Dunkel <[EMAIL PROTECTED]> writes: Harald> What is the criteria for copying the compile script into Harald> the source directory tree? I have some *.cc code, it is Harald> mentioned in my Makefile.am file, configure detects that Harald> the compile script must be used, too

Re: what happens to EXTRA_DIST during distcheck?

2005-12-12 Thread Tom Tromey
> "Ed" == Ed Hartnett <[EMAIL PROTECTED]> writes: Ed> In my top level makefile I have an EXTRA_DIST: Ed> # These files get added to the distribution. Ed> EXTRA_DIST = README COPYRIGHT RELEASE_NOTES Ed> But looking at the _build directory created during make distcheck, I Ed> do not see any of

Re: Built sources always regenerated

2006-01-01 Thread Tom Tromey
> "Braden" == Braden McDaniel <[EMAIL PROTECTED]> writes: Braden> Forget about BUILT_SOURCES and *_DEPENDENCIES. The sources I'm building Braden> get #include'd by browser.cpp. As such, checking of browser.cpp's Braden> dependencies should cause them to get (re)generated, right? Braden> But i

Re: spaces in package version

2000-02-25 Thread Tom Tromey
> ">" == H Nanosecond writes: >> I encountered pavuk-0.9pl24 a url download utility, >> it has a space in the version name in the Init: >> AM_INIT_AUTOMAKE($PACKAGE, "$VERSION $host_alias") >> and this made make distcheck choke from not quoting in shell commands. >> So my question is what

Re: pushing autoconf a bit too much?

2000-02-25 Thread Tom Tromey
> "Mark" == Mark Galassi <[EMAIL PROTECTED]> writes: Mark> lib_LTLIBRARIES = libgenie.la @SWIG_LIBRARIES@ Mark> EXTRA_LTLIBRARIES = libge.la libgeperl.la libgeguile.la This is right. Mark> /bin/sh ../libtool --mode=install /usr/bin/install -c libge.la /tmp/junk/lib/libge.la Automake uses

Re: pushing autoconf a bit too much?

2000-02-25 Thread Tom Tromey
>> if SWIG >> lib_LTLIBRARIES = libgenie.la libge.la libgeperl.la libgeguile.la >> else >> lib_LTLIBRARIES = libgenie.la >> endif Mark> I was trying that, and I get these two messages, the first seems Mark> incorrect and the second is very obscure: Mark> [rosalia@odie genie]$ automake -a Mark> a

Re: Problem with defining a new automake target (perhaps a general make question)

2000-02-17 Thread Tom Tromey
> "Andrew" == Andrew S Townley <[EMAIL PROTECTED]> writes: Andrew> Hi. I have been trying to add support for our ESQL/C Andrew> preprocessor to an Automake makefile, but I'm having trouble Andrew> with a couple of different things. Andrew> The extra sed command is there so that the dependen

Re: Complete Newbie desperately seeking help...

2000-02-18 Thread Tom Tromey
> "Mike" == Mike Reilly <[EMAIL PROTECTED]> writes: Mike> As root, I ran "tar -zxvf automake-1.4.tar.gz". I Mike> then went into the directory that was created, ran Mike> ./configure, make and then make install. Mike> When I checked the version, however, I found that I Mike> still had autom

Re: suggestion for y.tab.c vs y_tab.c

2000-02-18 Thread Tom Tromey
> "Mark" == Mark E <[EMAIL PROTECTED]> writes: Mark> Could an equivalent change be considered to automake.in so Mark> DJGPP's bison will work? While not the best solution, it's the Mark> best one I can think of until there is suitable macro in Mark> Autoconf to deal with this. I'm not famili

Re: DEFS vs. INCLUDES

2000-02-21 Thread Tom Tromey
> "Linus" == Linus Nordberg <[EMAIL PROTECTED]> writes: Linus> What's the reason behind putting all `-I' stuff in DEFS? If you mean in Makefile.in, it is laziness. Linux> I would like to pass a few -D to m4, but don't want the `-I':s. Use INCLUDES to hard-code your own options. You can (an

Re: DEFS vs. INCLUDES

2000-02-21 Thread Tom Tromey
Linus> hmpf! :) [ ... ] Linus> (AM_CLFAGS, hmmm... American C language fags? :-) It is early here. My fingers aren't awake yet. Linus> I don't want to pass any `-I' to m4 since some m4's don't like that, Linus> so using INCLUDES is no good. How should AM_CFLAGS be used? Ah. Don't use DEFS or

Re: tar command executed during make dist

2000-02-21 Thread Tom Tromey
> "Merijn" == mdejonge <[EMAIL PROTECTED]> writes: Merijn> I'm new to this mailing list so I don't know whether to Merijn> following has been discussed before (At least I couldn't Merijn> find anything on the mailing list). It has been, but it may have been quite a while ago. Merijn> Durin

Re: tar command executed during make dist

2000-02-21 Thread Tom Tromey
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> Any point in using the f flag at all in such cases? Lars> => $(TAR) cho $(distdir) | $(GZIP) -c > $(distdir).tar.gz I thought some versions of tar defaulted to something like /dev/rmt8 (or some other equally obscure device). It's h

Re: Single line dependency lists become too long

2000-02-28 Thread Tom Tromey
> "Merijn" == Merijn de Jonge <[EMAIL PROTECTED]> writes: Merijn> In the Makefile.am I have listed these dependencies on Merijn> multiple lines, Automake generates a Makefile.in which Merijn> contains all 356 file names on a single line. This line is too Merijn> long for configure to instanti

Re: what goes in a distribution.

2000-02-28 Thread Tom Tromey
> "Todd" == Todd Dukes <[EMAIL PROTECTED]> writes: Todd> I was disapointed that pkgdata_DATA files are not included Todd> in a distribution without also being listed in EXTRA_DIST. Todd> Is this a bug? The section in the manual says EXTRA_DIST is Todd> for files that aren't installed by the

Re: Single line dependency lists become too long

2000-02-29 Thread Tom Tromey
Merijn> This line is too long for configure to instantiate and the Merijn> result is a truncated line of dependencies. Akim> What happens? Do you know where this limitation comes from? Typically sed chokes when building Makefile from Makefile.in. I forgot about this when making some changes in

Re: Automake security problem

2000-03-01 Thread Tom Tromey
Jim> Here's an untested patch. I'll look at this soon. Jim> BTW, Tom, what about that last patch I sent in (testing for close Jim> failure)? Yeah :-( I haven't had much automake hacking time for a while (again). I guess I'd like to get more people checkin rights to make up for my failings. Ji

Re: REPLACE_GNU_GETOPT

2000-03-01 Thread Tom Tromey
> "Hal" == Duston, Hal <[EMAIL PROTECTED]> writes: Hal> I am setting my package up with automake/autoconf, and want to Hal> provide gnu getopt if it is not available. I noticed Hal> AC_REPLACE_GNU_GETOPT in the info file, but it doesn't seem to be Hal> completely implemented. It is in autom

RE: REPLACE_GNU_GETOPT

2000-03-01 Thread Tom Tromey
Hal> That would be something I would install on my development system? Hal> Would I need to put it somewhere special so it doesn't go away if Hal> I upgrade automake? I would really rather do it the "proper" way Hal> if true. Or is get a copy the "proper" way? Still trying to get Hal> my br

Re: numeral for first character--

2000-03-07 Thread Tom Tromey
> "Olly" == Olly Betts <[EMAIL PROTECTED]> writes: >> localhost:~/src/4dim$ automake >> Makefile.am:2: bad macro name '4dim_SOURCES' Olly> I hit this problem a few months ago. It's an unnecessary Olly> restriction which is fixed in the CVS version of automake. Olly> If you'd prefer not to

Re: Automake with different compilers

2000-03-04 Thread Tom Tromey
> "Carl" == Carl van Schaik <[EMAIL PROTECTED]> writes: Carl> I am at present trying to get automake to build a library that Carl> contains various source files (.c, .s) that I want to compile Carl> with different compilers. Automake no matter what I have done, Carl> sees the suffix (.c, .s)

Re: test pr19 failure: explanation

2000-03-04 Thread Tom Tromey
> "Jim" == Jim Meyering <[EMAIL PROTECTED]> writes: Jim> I've just looked into the failure of test pr19. I don't understand. pr19.test works fine for me. Tom

Re: Automake with different compilers

2000-03-04 Thread Tom Tromey
> "Carl" == Carl van Schaik <[EMAIL PROTECTED]> writes: Carl> Also, there any way to get automake to compile a .c file to .o Carl> and not make a library or program out of it? Carl> I'm doing some cross-compiling stuff that only seems to work if Carl> I compile files to .o and use the linker

Re: RPM targets

2000-03-06 Thread Tom Tromey
> "Michael" == Michael Bletzinger <[EMAIL PROTECTED]> writes: Michael> Is anyone working on creating rpm targets similar to "make Michael> dist". I was thinking that automake could for example Michael> generate the spec file from a template. I occasionally hear about people wanting this, but

Re: Patch: $(wildcard *.c) style globbing

2000-03-12 Thread Tom Tromey
> "John" == John Fremlin <[EMAIL PROTECTED]> writes: John> This patch adds the ability to use partial $(wildcard *.h) John> (GNU?) make-style syntax in automake variable declarations. It John> is useful for projects where the files for each target are are John> organised in a single director

Re: Why does Makefile depend on BUILT_SOURCES?

2000-03-15 Thread Tom Tromey
> ">" == OKUJI Yoshinori <[EMAIL PROTECTED]> writes: >> 2. The target `Makefile' depends on $(BUILT_SOURCES). >> The solution may be to get rid of the dependency in the item 2, >> so my question is why Makefile must depend on BUILT_SOURCES. Is >> there some good reason? Only a historical

Re: Why does Makefile depend on BUILT_SOURCES?

2000-03-16 Thread Tom Tromey
>> Ok, I will do. BTW, now does Jim have the maintainship? I thought >> you were the maintainer. I am, but I haven't had much time to check things in lately. Neither has Alexandre, I think. I'm hoping Jim will. T

Re: test pr19 failure: explanation

2000-03-19 Thread Tom Tromey
Pavel> In fact, the failures are caused by other tests that Pavel> (erroneously!) copy install-sh, missing and mkinstalldirs to Pavel> the test directory. Thanks. I'm seeing this now. I'll look into it soon. Tom

Re: nodist_foo_HEADERS?

2000-03-20 Thread Tom Tromey
Harlan> Anybody have an idea of how much trouble it will be to accept Harlan> the nodist_ prefix on HEADERS? If you're using the cvs automake, then I'm suprised it doesn't work. Could you write a test case (in the style of the test suite)? Tom

Re: derived sources and parallel builds

2000-03-21 Thread Tom Tromey
> "Alex" == Alex Hornby <[EMAIL PROTECTED]> writes: Alex> This is a problem as Foo_real.cpp includes Foo_derived.h. Alex> How can I get a result similar to the old BUILT_SOURCES, where Alex> the commands to produce the derived source files for a target Alex> are run _before_ the non derived

Re: derived sources and parallel builds

2000-03-21 Thread Tom Tromey
> "Alex" == Alex Hornby <[EMAIL PROTECTED]> writes: >> How about just creating standard Makefile dependencies? >> >> Foo_impl.o: Foo_s.hh Foo_c.hh Foo_s.cpp Foo_c.cpp >> Foo_impl.$(OBJEXT): Foo_s.hh Foo_c.hh Foo_s.cpp Foo_c.cpp Alex> That would work. I wanted to avoid adding dependencies ma

Re: bcc55 support ?

2000-03-22 Thread Tom Tromey
> "Ionutz" == Ionutz Borcoman <[EMAIL PROTECTED]> writes: Ionutz> Is automake going to support bcc55 ? Or is there a way to create the Ionutz> Makefile for Win$$ + bcc55 from Makefile.am ? I don't know what bcc55 is. I'm not against supporting it. We already support Microsoft's compiler, I

Re: yacc and flex

2000-03-22 Thread Tom Tromey
> "Sascha" == Sascha Ziemann <[EMAIL PROTECTED]> writes: Sascha> flex conf_lexer.l && mv lex.yy.c conf_lexer.c Sascha> gcc -c conf_lexer.c Sascha> bison -y conf_parser.y && mv y.tab.c conf_parser.c Sascha> gcc -c conf_parser.c Sascha> And this means, that the tokens are not available i

Re: derived sources and parallel builds

2000-03-22 Thread Tom Tromey
> "Alex" == Alex Hornby <[EMAIL PROTECTED]> writes: >> I agree it would be nice to say "build these files before doing >> anything else". That's sort of a pain with make. One idea would >> be to introduce an "all-hook" which would be run before "all". >> This solves the common problem, but

Re: flex -lfl

2000-03-24 Thread Tom Tromey
> "Sascha" == Sascha Ziemann <[EMAIL PROTECTED]> writes: Sascha> bin_PROGRAMS = rlpd rlpc Sascha> rlpd_SOURCES = rlpd.c rlp.c errwrap.c conf_parser.y conf_lexer.l Sascha> rlpc_SOURCES = rlpc.c rlp.c errwrap.c Sascha> How can I prevent the second program (rlpc) from beeing linked Sascha> with

Re: flex -lfl

2000-03-24 Thread Tom Tromey
Sascha> I don't specify -lfl and I don't use LIBS, so I can not use Sascha> LIBADD instead. I don't understand this. Anyway, the current automake doesn't force you to link with @LEXLIB@. Neither did automake 1.4, if I remember correctly. So I don't understand why you are seeing -lfl on your link

Re: Failing cond5.test with "make check"

2000-03-25 Thread Tom Tromey
Chris> When I run "make check" when installing automake-1.4, Chris> it passes all 194 tests, except for the cond5.test. Chris> How do I fix this? This test tests for a bug that used to cause automake to hang. The test works by running automake and then waiting a while to see if it terminates.

Re: the appropriate location for depcomp

2000-03-25 Thread Tom Tromey
> "Okuji" == OKUJI Yoshinori <[EMAIL PROTECTED]> writes: Okuji> Automake requires some helper scripts such as `depcomp', but there Okuji> is an inconsistency. The documentation tells me that they are put in Okuji> the top directory or the source directory. However, while `depcomp' is Okuji> r

Re: ILD too long

2000-03-26 Thread Tom Tromey
> "Thomas" == Thomas Tanner <[EMAIL PROTECTED]> writes: Thomas> I wonder why automake passes CFLAGS and AM_CFLAGS Thomas> to libtool in link mode? This makes it impossible Thomas> to differentiate between compiler and linker (LDFLAGS) Thomas> flags. The GNU Coding Standards mandate this.

Re: derived sources and parallel builds

2000-03-29 Thread Tom Tromey
> "Alex" == Alex Hornby <[EMAIL PROTECTED]> writes: Alex> Do you have any hints before I dive in? Is the current CVS head Alex> a good starting point? CVS head is a good starting point. There is a HACKING file that explains some rules (which may or may not apply; I forget exactly what is in

Re: derived sources and parallel builds

2000-03-29 Thread Tom Tromey
>> I'm skeptical that this approach will work :-( Alexandre> I still think we should revert to the old behavior of Alexandre> Makefile depending on BUILT_SOURCES, at the very least, as Alexandre> a deprecated feature, for backward compatibility. This only works for GNU make. So it was never a r

Re: derived sources and parallel builds

2000-03-29 Thread Tom Tromey
Alexandre> So maybe we should use a stamp file that all $(OBJECTS) Alexandre> depend upon, and that runs $(MAKE) $(BUILT_SOURCES) before Alexandre> it touches itself. It still wouldn't work in case someone Alexandre> removes one of the BUILT_SOURCES but leaves the stamp file Alexandre> around, bu

Re: sub-project link problem

2000-03-29 Thread Tom Tromey
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> The problem is that when it's time to link against the C++ Lars> library in the parent project, a C linker is chosen, which fails Lars> on a lot of platforms (IRIX is one of them). Lars> Does anyone know why $(LINK) is chosen instead o

Re: Using EXTRA_SOURCES

2000-03-30 Thread Tom Tromey
Sam> The basic problem is that source is conditionally compiled into Sam> SDL, and supposedly the attached code is supposed to do the Sam> "right thing", but I can't get it to include rules for the Sam> objects. I can get the desired effect using automake Sam> conditionals, but the complexity of

Re: catching build problems

2000-03-31 Thread Tom Tromey
>> How do I override the rule for entering one of them? Alexandre> I don't think you can override it :-( You can rewrite the entire rule, but of course that will break in a future version. Tom

Re: Problem of unsubscription

2000-03-31 Thread Tom Tromey
> "Christophe" == Christophe Gros <[EMAIL PROTECTED]> writes: Christophe> I'm sorry to disturb you with some administrative matter, Christophe> but I've tried to unsubscribe from the automake mailing Christophe> list without success. It seems that there is a Christophe> discrepancy between s

Re: To hack or not to hack

2000-04-03 Thread Tom Tromey
> "Michael" == Michael Bletzinger <[EMAIL PROTECTED]> writes: Michael> The first issue is: Where should the common configuration Michael> information needed to build the various subpackages be Michael> stored? It depends on your goals. Michael> I would like to set up a base package for the

Re: Testing for a library with $CXX (instead of $CC)

2000-04-05 Thread Tom Tromey
> "Fred" == F Labrosse <[EMAIL PROTECTED]> writes: Fred> Is it possible to test for a library using $CXX instead of $CC? Fred> My problem is that on a Solaris box, some libraries won't link Fred> with cc while they do with CC (e.g. qt). Can't you set the language to C++ and then test? Seems

Re: automake --add-missing --copy

2000-04-05 Thread Tom Tromey
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I've always been annoyed that automake --add-missing --copy Lars> doesn't pass the "--copy"-option along to libtoolize, so I end Lars> up with symlinked config.guess, config.sub, ltconfig and Lars> ltmain.sh. Fixed. Lars> This might b

Re: Testing for a library with a function different from main() (Was: Testing for a library with $CXX (instead of $CC))

2000-04-06 Thread Tom Tromey
> "Morten" == Morten Eriksen <[EMAIL PROTECTED]> writes: Morten> BTW, I've already written a pretty extensive Qt-check macro. Feel free Morten> to check it out, its part of our SoQt distribution at Morten> http://www.sim.no/coin.html>, or just do: Why not submit it to the autoconf macro arch

Re: AC_PATH_XTRA

2000-04-07 Thread Tom Tromey
> "Fred" == F Labrosse <[EMAIL PROTECTED]> writes: Fred> On solaris, X11 needs some extra libs to be used. Apparently, Fred> AC_PATH_XTRA can find them and sets some variables: X_CFLAGS, Fred> X_LIBS, and X_EXTRA_LIBS. Fred> My question is what is the best way to use them? "best" depends o

Re: source files not in current directory

2000-04-10 Thread Tom Tromey
> "Alex" == Alex Hornby <[EMAIL PROTECTED]> writes: Alex> I'm using CVS automake and have source files in sub directories of my Alex> project like so: Alex> That would be fine, but AFAICT there is no way for make to apply the Alex> normal .c.o suffix rule in this case to produce the object f

Re: Exporting variables

2000-04-11 Thread Tom Tromey
> "Fred" == F Labrosse <[EMAIL PROTECTED]> writes: Fred> DEFINESDOC=`echo @DEFS@ | sed -e "y/-D/ /"` && \ Fred> export VERSION DEFINESDOC DOC_H_FILES && \ Fred> makeDoc && \ Fred> touch doc Fred> Only DEFINESDOC is available in makeDoc!!! i.e. the variables Fred> not defined in the

  1   2   3   4   5   6   7   8   9   10   >