Re: Broken system web pages - ideas?

2003-09-23 Thread Kevin Ryde
"L. D. Marks" <[EMAIL PROTECTED]> writes: > > 2) Duplicate, and inconsistent gcc/g++/g77 compilers The c++ compiler for some reason always seems a good candidate for breakage on systems I see. I think bad installations are outside the scope of autoconf, but you can always have configure che

Re: Compiling 32-bit code on 64-bit HP-UX

2003-09-23 Thread Kevin Ryde
Martin Frydl <[EMAIL PROTECTED]> writes: > > - config.guess does not use CFLAGS when making compilation checks but > this can be "fixed" by providing necessary flags directly in CC > variable I think the cpu type guessed is supposed to depend only on the system, not on an intended compiler mode.

Re: Library creation command

2002-10-24 Thread Kevin Ryde
Olaf Weber <[EMAIL PROTECTED]> writes: > > Shouldn't that be ARFLAGS, just as we have CFLAGS not C_FLAGS. That > seems to be the "canonical" name. Libtool uses AR_FLAGS currently. Whichever is adopted it'd be nice for them to be the same.

Re: How build C++ header with m4 and install them - no program

2002-09-21 Thread Kevin Ryde
Marc Waeckerlin <[EMAIL PROTECTED]> writes: > > Is there a check or macros for invoking m4 in autoconf, automake? We use a couple in GMP, just searching for an m4 with enough features (eval, $#), and checking for a gremlin in m4wrap that afflicts a few systems.

Re: doco hpux ia64 make trailing backslash

2002-08-21 Thread Kevin Ryde
[EMAIL PROTECTED] (Bob Proulx) writes: > > I will verify that that bug exists at least up through 10.20. Between > 10.20 and 11.0 HP changed their make program somewhat. For what it's worth we got a bug report today about it happening on a "HP-UX null B.10.20 A 9000/898". But another hpux 10.20

Re: doco hpux ia64 make trailing backslash

2002-07-29 Thread Kevin Ryde
Tom Tromey <[EMAIL PROTECTED]> writes: > > Thanks. I don't think we generate code like this, and we seem to > already reject inputs like this. So I think we're safe. I had managed to bring it on myself, my_objects = one$U.lo two$U.lo \ @THREE@ where @THREE@ could be empty, d

Re: building native tools in a cross-compile environment

2002-07-09 Thread Kevin Ryde
Tom Tromey <[EMAIL PROTECTED]> writes: > > I think we'd need some autoconf support to make this really work. For > instance you'd probably want to be able to run tests on both > compilers, generate two different config.h's, etc. Yes. I've been setting up some stuff like that for GMP to run a co

Re: automake or libtool question on Red Hat 7.2

2001-10-30 Thread Kevin Ryde
"Paul F. Kunz" <[EMAIL PROTECTED]> writes: > > /bin/sh: -c: line 1: syntax error near unexpected token `;' > /bin/sh: ... for tst in ; ... bash doesn't like an empty list like that. Is $(TESTS) empty for some reason? In any case, I think newer automake avoids the problem.

Re: Multiple source files with the same name

2001-10-15 Thread Kevin Ryde
Martin Frydl <[EMAIL PROTECTED]> writes: > > lib_LTLIBRARIES = libmylib.la > libmylib_la_SOURCES = file.cpp subdir/file.cpp > > Is there any possibility how to use multiple files with the same name > as sources for one library (program)? GMP does that sort of thing with a conv

Suggest check newness of "missing" etc

2001-05-25 Thread Kevin Ryde
I think it'd be good if automake checked its support files like "missing" and "ansi2knr.c" are up-to-date, not just that they exist. A warning if they differ from the /usr/share/automake versions would probably be enough, since there's at least a chance of intentional local modifications. I guess

EXTRA_HEADERS versus make dist [test]

2001-05-25 Thread Kevin Ryde
In 1.4f files given as EXTRA_HEADERS = foo.h don't get into a "make dist". Is this meant to work? It did in recent cvs versions but I guess noinst_HEADERS might be the right way to do it. A bit of a test below if it is meant to work. EXTRA_HEADERS also don't seem to get into $(HEADER

Re: Conditional info_TEXINFOS

2001-05-23 Thread Kevin Ryde
Tom Tromey <[EMAIL PROTECTED]> writes: > > >>>>> "Kevin" == Kevin Ryde <[EMAIL PROTECTED]> writes: > > Kevin> I think it should create and distribute the info files > Kevin> unconditionally, but only install (or uninstall) them under &g

Conditional info_TEXINFOS

2001-05-23 Thread Kevin Ryde
Would it be easy to let info_TEXINFOS be conditionally defined? if WANT_FOO info_TEXINFOS = foo.texi endif I think it should create and distribute the info files unconditionally, but only install (or uninstall) them under WANT_FOO. Perhaps it'd just be a case of splittin

Re: Revert setting of CONFIG_COMMANDS when running config.status

2001-02-11 Thread Kevin Ryde
Raja R Harinath <[EMAIL PROTECTED]> writes: > > I've attached a patch only to revert the CONFIG_COMMANDS case. I > think the CONFIG_LINKS= part in the above is harmless. Oops, yep. It was the links that had been annoying me.

Re: AC_CONFIG_FILES with ":" in a subdirectory [test]

2001-02-01 Thread Kevin Ryde
Tom Tromey <[EMAIL PROTECTED]> writes: > > I don't know when I'll fix the bug but it will definitely be before > the next release. The bandaid I'm using is below. It seems to work, but it'd be a mistake to assume I know what I'm doing. --- automake.in.old Fri Feb 2 06:29:06 2001 +++ automake

config.status and CONFIG_LINKS

2001-02-01 Thread Kevin Ryde
When config.status is invoked to regenerate a Makefile, I think it might be possible to give an empty CONFIG_LINKS and CONFIG_COMMANDS as well as the current empty CONFIG_HEADERS, to speed up regeneration when there's a bunch of links. * automake.in (handle_configure): Call config.status

AC_CONFIG_FILES with ":" in a subdirectory [test]

2001-01-20 Thread Kevin Ryde
I wanted to use AC_CONFIG_FILES(foo/bar.h:foo/bar.in) but found automake generates rules based on bar.h.in, not bar.in. I think the following might be modifying @other_input_files, changing "foo/bar.h:foo/bar.in" to just "foo/bar.h" by the time it gets to process the foo subdirectory.

check_LTLIBRARIES and -rpath

2001-01-03 Thread Kevin Ryde
I tried to use check_LTLIBRARIES = libfoo.la but found it added "-rpath $(checkdir)" to the libtool link, which didn't work since $(checkdir) doesn't exist. I thought to use this as a convenience library built only under a "make check". If this is how it's meant to be used then I think

Re: Automake suffixes ordering [patch]

2000-12-23 Thread Kevin Ryde
Tom Tromey <[EMAIL PROTECTED]> writes: > > >>>>> "Kevin" == Kevin Ryde <[EMAIL PROTECTED]> writes: > > Kevin> I find though that I got it wrong for the case where automake > Kevin> isn't automatically generating any suffixes, but

Re: Automake suffixes ordering [patch]

2000-12-21 Thread Kevin Ryde
Tom Tromey <[EMAIL PROTECTED]> writes: > > Thanks, I finally checked this in. Excellent. I find though that I got it wrong for the case where automake isn't automatically generating any suffixes, but rather there's only user-supplied ones with $(SUFFIXES). This comes up in autoconf I think. Th

Automake suffixes ordering [patch]

2000-11-04 Thread Kevin Ryde
I'd like to propose the patch below to put any $(SUFFIXES) from Makefile.am at the head of the .SUFFIXES list in Makefile.in. This would help a certain situation in GMP where either a foo.c or foo.s is used, according to the configured target. With the whole .SUFFIXES list sorted, .c is before .

Re: PATCH: patsubst support

2000-10-29 Thread Kevin Ryde
Alex Hornby <[EMAIL PROTECTED]> writes: > > # Makefile.am fragment > FOO = foo bar > BAR = ${FOO:%=%.c} > ... > > What do people think? It'd be nice to be able to embed little fragments of perl to do things like that, for the "static" case that is. But perhaps that idea has come up before. Or

[Automake] ansi2knr, libtool and .s files

2000-09-16 Thread Kevin Ryde
I've struck a bit of a problem using a combination of ansi2knr, libtool and .s assembler files which I think is related to automake sorting the .SUFFIXES list. I want a certain foo.lo to be provided either by foo.c or foo.s (and some other possibilities) depending on the configured target, and if

tags and config.in when srcdir!=builddir

2000-08-18 Thread Kevin Ryde
Using a recent cvs automake, I tried "make TAGS" in a separate object directory, but the etags command got config.in without a $(srcdir) path. Perhaps the @CONFIG@ in tags.am should be in the list that gets uniquified and checked for needing $(srcdir). The same might apply to $(LISP) there too,

Re: Adding EXEEXT to EXTRA_PROGRAMS

2000-07-13 Thread Kevin Ryde
> I don't remember if this breaks anything. It probably doesn't, > though. Can you write a patch? Or, if not, could you submit a PR? I think it's enough to move the test for EXTRA to after the bit that adds $(EXEEXT), per below. It does the right thing for me on some gnu-ish makefiles.

Adding EXEEXT to EXTRA_PROGRAMS

2000-07-12 Thread Kevin Ryde
On a recent cvs snapshot I noticed $(EXEEXT) is automatically added to check_PROGRAMS, bin_PROGRAMS etc, but not to EXTRA_PROGRAMS. I think adding it there might be useful for consistency and to let something like the following work in a demos directory. EXTRA_PROGRAMS = foo bar

check-TESTS and bash, when $(TESTS) is empty

2000-05-11 Thread Kevin Ryde
Using a CVS automake I recently had a directory where I wanted to run some tests only if a certain configuration option is selected. if SOME_OPTION check_PROGRAMS = foo bar TESTS = $(check_PROGRAMS) endif This has the desired effect, except when using bash (2.04)