bug#54063: automake cannot run without generated Texinfo manual

2023-07-14 Thread Gavin Smith
On Thu, Jul 13, 2023 at 04:34:39PM -0600, Karl Berry wrote: > Bogdan, Pat, Gavin, all - back on this bug: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54063 > Subject: bug#54063: - special case] Try .texi.in when .texi missing > > As previously discussed in this bug, I added a

bug#29188: [PATCH] texi2dvi usage doesn't work with

2023-03-19 Thread Gavin Smith
On Sun, Mar 19, 2023 at 05:57:19PM +0100, Bogdan wrote: > Anyway, I just provide code the way I'd do it. It's up to "someone higher > up", like you, to make the decision if the patch is to be merged, modified > first, or to be simply left out for some reason. There surely are things I > don't

bug#29188: [PATCH] texi2dvi usage doesn't work with

2023-03-19 Thread Gavin Smith
On Sat, Mar 18, 2023 at 10:10:05PM +0100, Bogdan wrote: > The problem was with "--build-dir=": the old texi2dvi (which is a shell > script) splits "--build-dir=xxx" into "--build-dir" and "xxx", interprets > the "--build-dir" switch as "--batch" (checks just the first letter, great) > and the

[bug#59989] [PATCH] tests: Fix txinfo-include test for texinfo 7.x

2022-12-14 Thread Gavin Smith
On Mon, Dec 12, 2022 at 07:28:38AM +0100, Frederic Berat wrote: > From: Frédéric Bérat > > Texinfo modified its behavior regarding apostrophes, which are now > replaced by UTF-8 right single quotes by default. > It looks like this was supposed to be the default for few years already, > but this

Re: How to prevent distribution of `texinfo.tex`

2021-07-02 Thread Gavin Smith
On Wed, Jun 23, 2021 at 12:27:15PM -0400, Nick Bowler wrote: > On 2021-06-23, Werner LEMBERG wrote: > > The file `texinfo.tex` is in the list of files (given by `automake > > --help`) that gets always distributed. How can I disable this? I > > don't have texinfo documentation. > > The

Re: Future plans for Autotools

2021-01-21 Thread Gavin Smith
On Thu, Jan 21, 2021 at 11:01:34AM -0500, Zack Weinberg wrote: > Having said that, switching to *anything else* would be a gigantic > task -- multiple full-time person-years of effort just for the core -- > and would mean either porting or losing all of the third-party macro > libraries. I don't

Re: Future plans for Autotools

2021-01-20 Thread Gavin Smith
Thanks for writing all of this. I'm writing from the perspective of a long-term user of the autotools. A discussion like the one you have started will likely attract many opinions. Some will be contradictory. However, somebody in the end will have to decide. The challenge seems to be to evolve

Re: preparing for a new release

2020-11-15 Thread Gavin Smith
On Sun, Nov 15, 2020 at 09:45:44AM -0800, Jim Meyering wrote: > I've fixed a few of these failures, but here is still at least one > that I have not fixed: t/txinfo-no-clutter. In this case, running it > with no parallelism and by itself passes: > make -k check TESTS='t/txinfo-no-clutter' > Yet

Re: preparing for a new release

2020-11-15 Thread Gavin Smith
On Sun, Nov 15, 2020 at 09:45:44AM -0800, Jim Meyering wrote: > Karl has made quite a few improvements, so I'm preparing to make a new > release. But first, I wanted to make the tests pass reliably also when > running them in parallel (the only way I run them, because otherwise, > they take way

bug#34201: [PATCH] automake: do not require @setfilename in Texinfo files

2019-09-14 Thread Gavin Smith
On Mon, Sep 2, 2019 at 6:28 PM Jim Meyering wrote: > > Gavin Smith proposed a patch for this back in http://bugs.gnu.org/34201 > Another reference to the problem: http://bugs.gnu.org/36921 > > In the attached (in Gavin's name), I've added a NEWS entry and > adjusted the ChangeLo

Re: bug#34201: [PATCH] automake: do not require @setfilename in Texinfo files

2019-09-14 Thread Gavin Smith
On Mon, Sep 2, 2019 at 6:28 PM Jim Meyering wrote: > > Gavin Smith proposed a patch for this back in http://bugs.gnu.org/34201 > Another reference to the problem: http://bugs.gnu.org/36921 > > In the attached (in Gavin's name), I've added a NEWS entry and > adjusted the ChangeLo

bug#36921: texinfo: @setfilename is not mandatory

2019-08-16 Thread Gavin Smith
On Sun, Aug 04, 2019 at 01:22:34PM +, Дилян Палаузов wrote: > Hello, > > I have a .texi file and in Makefile.am: > > info_TEXINFOS = doc/z.texi > > Running autoreconf -visf emits: > > configure.ac:13: installing './compile' > configure.ac:7: installing './missing' > Makefile.am: installing

bug#34201: Make @setfilename optional in Texinfo files

2019-03-31 Thread Gavin Smith
that would be needed would be for someone to have a look at this patch and apply it for the next Automake release. On 1/25/19, Gavin Smith wrote: > @setfilename should not be required to occur inside Texinfo files, as it > makes it harder to get them working. > > Earlier on this: > https:

Re: bug#34201: Make @setfilename optional in Texinfo files

2019-03-31 Thread Gavin Smith
that would be needed would be for someone to have a look at this patch and apply it for the next Automake release. On 1/25/19, Gavin Smith wrote: > @setfilename should not be required to occur inside Texinfo files, as it > makes it harder to get them working. > > Earlier on this: > https:

Re: A new, novel, and faster Binary Search algorithm

2019-03-13 Thread Gavin Smith
On Wed, Mar 13, 2019 at 12:39:24PM +0100, Gregorius van den Hoven wrote: > I am hoping you find this an interesting development and are willing to > double check my work and/or forward it to interested parties. If my > algorithm gains traction it should have a positive impact on mankind's > carbon

bug#34201: Make @setfilename optional in Texinfo files

2019-01-25 Thread Gavin Smith
@setfilename should not be required to occur inside Texinfo files, as it makes it harder to get them working. Earlier on this: https://lists.gnu.org/archive/html/automake/2015-09/msg0.html Here is a patch. I added a test which is passing now, but it wasn't passing when I first added the

Re: manual: Why use 'maude' as the example program name?

2018-02-28 Thread Gavin Smith
On 25 February 2018 at 19:13, Jonas Thiem wrote: > Disclaimer: I haven't read this part of the docs myself. But for what > it's worth, I think Maude looks a bit like a misspelling of Make and > doesn't stick out that well, compared to "exampleprog" or something. > Also, I

Re: Distcheck: wrong TeX

2017-06-27 Thread Gavin Smith
On Tue, Jun 27, 2017 at 11:14:37AM +0200, Hans Åberg wrote: > [Please cc me, as I am not on this list.] > > When I put 'export PDFTEX = luatex', then it works correctly with ./configure > && make, but 'make distcheck' still uses pdftex. Why is that? > Why shouldn't it?

Re: Words in configure.ac that look like macros forbidden or merely discouraged?

2016-12-22 Thread Gavin Smith
On 22 December 2016 at 19:00, Eric Blake <ebl...@redhat.com> wrote: > On 06/12/2016 05:25 AM, Gavin Smith wrote: >> Hello, > > Apologies for just now noticing this thread. > >> >> In the Autoconf manual we read: > > Any reason you mailed this to the auto

Words in configure.ac that look like macros forbidden or merely discouraged?

2016-06-12 Thread Gavin Smith
Hello, In the Autoconf manual we read: When you use the same text in a macro argument, you must therefore have an extra quotation level (since one is stripped away by the macro substitution). In general, then, it is a good idea to use double quoting for all literal string arguments, either

Re: variables in _SOURCES

2016-06-12 Thread Gavin Smith
> configure: > > ./configure ... \ >--with-python \ >PYCXX_SRCDIR=/usr/share/python2.7/CXX/Python2 > > > Makefile.am: > > nodist_libpyroute_la_SOURCES = $(PYCXX_SRCDIR)/cxxextensions.c > nodist_libpyroute_la_SOURCES += $(PYCXX_SRCDIR)/cxx_extensions.cxx > nodist_libpyroute_la_SOURCES +=

bug#23521: XFAIL

2016-05-20 Thread Gavin Smith
On 19 May 2016 at 00:04, Mathieu Lirzin wrote: >> It is often easier to write expected-to-fail tests this way (so that >> they can all look the same), rather than have to have, for example, an >> extra driver that converts expected errors into success codes for the >> automake test

Re: [RFC v2] new option: object-shortname

2016-01-08 Thread Gavin Smith
On 6 January 2016 at 09:23, Thomas Martitz wrote: > This option is intended to be used in conjunction with subdir-objects and > Automake-time substitutions for included makefile fragments (%C%, %D%). It > suppresses the generation path components in object filenames. > > It

Re: [RFC] new option: object-shortname

2016-01-08 Thread Gavin Smith
On 6 January 2016 at 09:17, Thomas Martitz wrote: > It should equivalent to setting %C%_foo_SHORTNAME=foo, except it can work if > the makefile fragment is conditionally included, which improves the modularity > of Automake-using projects. > > Example: > without

Re: _SHORTNAME in conditional

2016-01-06 Thread Gavin Smith
On 6 January 2016 at 06:01, Thomas Martitz <ku...@rockbox.org> wrote: > Am 05.01.2016 um 23:41 schrieb Gavin Smith: >> On 5 January 2016 at 21:05, Thomas Martitz <ku...@rockbox.org> wrote: >>> Automake source code is a myth to me, I wasn't able to find the code that

Re: [libtool] make install fails after an incremental build after a prefix change?

2015-12-29 Thread Gavin Smith
On 29 December 2015 at 19:52, Kees-Jan Dijkzeul wrote: > Either would obviously work, but kind of defeat the purpose of having > incremental builds, and unnecessarily load the buildserver. A > solution where I could do an incremental build after a configure > incantation

Re: Automake puts unwanted flags in compilation command

2015-12-29 Thread Gavin Smith
On 29 December 2015 at 21:42, Daniel Campoverde Carrión [Alx741] wrote: > Hello everyone, > > I'm trying to use autotools for the first time for a simple microntroller > project, one of my Makefile.am files contains this: > > >>PIC_DEVICE=18f4550 >>CC=sdcc >>LD=sdcc >>FLAGS=

Re: Draft of new combined manual for Autoconf and Automake

2015-10-15 Thread Gavin Smith
On 26 September 2015 at 15:36, Gavin Smith <gavinsmith0...@gmail.com> wrote: > I've uploaded my work on editing the Automake manual at > https://bitbucket.org/gavin_smith_/buildsystem-manual. For reading on the WWW, I've put it on SourceForge, at http://buildsystem-manual.sou

Draft of new combined manual for Autoconf and Automake

2015-09-26 Thread Gavin Smith
I've uploaded my work on editing the Automake manual at https://bitbucket.org/gavin_smith_/buildsystem-manual. It combines material from both the Autoconf and Automake manuals. I was hoping to present this material in a logical way that would make sense to a beginner. As you'll see from the many

Re: extra files for distribution

2015-09-22 Thread Gavin Smith
On 22 September 2015 at 18:12, Andy Falanga (afalanga) wrote: > Hi, > > My project has some doc files which are currently generated by the > parsing engine of Visual Studio. Our plan is to simply generate them, > periodically, and include them with our Linux build via

Re: extra files for distribution

2015-09-22 Thread Gavin Smith
On 23 September 2015 at 00:14, Andy Falanga (afalanga) wrote: >> I previously wrote out a reply and then deleted it when I read your >> email again. But maybe it was what you wanted. I was going to suggest >> using a variable based on the DATA "primary", in Automake's >>

Please make @setfilename optional in Texinfo files

2015-09-07 Thread Gavin Smith
The next release of Texinfo will make a @setfilename line optional in Texinfo files. Unfortunately Automake depends on its presence (as of Automake 1.15). Please consider removing this requirement.

Re: Libtool, SWIG and testing

2015-07-28 Thread Gavin Smith
On 28 July 2015 at 16:58, Guillaume Marcais guilla...@marcais.net wrote: On Sat, Jul 25, 2015 at 9:41 AM, Gavin Smith gavinsmith0...@gmail.com wrote: I'd suggest not hard-coding the name of the shared library in the Perl code. It could be extracted from the *.la file. That would likely

Re: Libtool, SWIG and testing

2015-07-25 Thread Gavin Smith
On 24 July 2015 at 20:13, Guillaume Marcais guilla...@marcais.net wrote: I am improving/writing a C++ project (called MUMmer) which creates a shared library with libtool. In the same project, I also create a SWIG binding to access in Perl some of the functionality of this shared library.

Re: pre-dist hook?

2015-07-11 Thread Gavin Smith
On 11 July 2015 at 06:38, Harlan Stenn st...@ntp.org wrote: I'm thinking I want to run a hook before the distdir target is run. What's a good way to do that? The reason for this is that I'm packaging at least 2 nested packages in my distribution. We only want to configure these if we need

Re: Integration of a Perl XS module with an Automake build system

2015-07-10 Thread Gavin Smith
On 3 July 2015 at 20:31, Russ Allbery ea...@eyrie.org wrote: You can see the approach that I took in various of my packages, such as: http://git.eyrie.org/?p=kerberos/webauth.git;a=blob;f=Makefile.am;h=2cc0aba845f450afcd60a6c01e02a33cb9bdc803;hb=9d3555c7f9047f5ac1c67237379072df5b864b82 Search

Re: Integration of a Perl XS module with an Automake build system

2015-07-03 Thread Gavin Smith
On 30 June 2015 at 23:06, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: If you use a system which supports several completely different compilers targeting the same ABI, you immediately find dismay unless you compile Perl using the same compiler you plan to use. This is quite evident

Re: When is a compller needed in testing

2015-07-02 Thread Gavin Smith
On 2 July 2015 at 18:02, Arthur Schwarz aschwarz1...@att.net wrote: Shows specific identification of compilers, sic. PL_LOG_COMPILER and PY_LOG_COMPILER. Automake seems to have knowledge of particular language compilers and the user can specify their use as in: check_JAVA check_LISP

Integration of a Perl XS module with an Automake build system

2015-06-30 Thread Gavin Smith
Hello all, I wonder if anyone could give pointers to advice on how to integrate a Perl XS module with an Automake build system? Over at the Texinfo project we're starting to replace parts of makeinfo with loadable native-code modules, for speed. The problem is that the Makefiles produced by

Re: Integration of a Perl XS module with an Automake build system

2015-06-30 Thread Gavin Smith
On 30 June 2015 at 14:25, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: In addition to behavior issues, a major problem is that the re-link capabilities offered by libtool are not available. If one links from the Perl module to a shared library in the build tree, then there is the risk

Re: Integration of a Perl XS module with an Automake build system

2015-06-30 Thread Gavin Smith
On 30 June 2015 at 22:41, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: as well as a heap of other variable definitions copied from the MakeMaker Makefile. Now I have to see how ExtUtils:MakeMaker knew what flags to use to see if I can replicate it. These definitely come from how Perl

Re: Integration of a Perl XS module with an Automake build system

2015-06-30 Thread Gavin Smith
On 30 June 2015 at 23:06, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: On Tue, 30 Jun 2015, Gavin Smith wrote: What you say about using a different compiler is worrying, though, and I hadn't thought about it before. So basically when compiling an XS module, you need to use whatever

Re: How are data files input for to custom drivers?

2015-06-08 Thread Gavin Smith
On 27 May 2015 at 22:27, Arthur Schwarz aschwarz1...@att.net wrote: Then is seems that the test harness would have to do: cat data | tap-driver.sh ./script.sh | tap-driver.sh Because the awk loop in tap-driver.sh does a getline which reads from an input pipe (stdin). Have I read the code and

Re: What check_ programs can be used?

2015-06-08 Thread Gavin Smith
On 25 May 2015 at 16:28, Arthur Schwarz aschwarz1...@att.net wrote: What programs can be used for custom test drivers and test classes? check_JAVA check_LISP check_PYTHON check_FORTRAN check_? There's no such variable as check_FORTRAN. Each language doesn't have it's own primary. I

Re: What does setting TEST_LOGS mean?

2015-05-21 Thread Gavin Smith
On 21 May 2015 at 09:12, Roman Neuhauser neuhau...@sigpipe.cz wrote: # aschwarz1...@att.net / 2015-05-20 17:00:57 -0700: 15.2.3 Parallel Test Harness Suppose Makefile looks something like: TESTS = foo.exe Then TEST_LOGS = foo.log And the user sets this to env TEST_LOGS =

Re: What cures a failure to make distdir?

2015-05-18 Thread Gavin Smith
On 18 May 2015 at 15:39, Arthur Schwarz aschwarz1...@att.net wrote: I've just tried to create and test my test case and received the message below. The script which is used to create the distribution is included along with the configure.ac, Makefile.am, and src/Makkefile.am files. The setup is

Re: Setting environment variable for make dist

2015-05-10 Thread Gavin Smith
On 10 May 2015 at 13:57, Bas Vodde b...@odd-e.com wrote: I'm trying to change my projects configure.ac so that it sets the COPYFILE_DISABLE=1 environment variable to influence the make dist target. What running program needs to have this environment variable set in its environment? Is it the

Re: Question of the use of TESTS

2015-05-01 Thread Gavin Smith
On 30 April 2015 at 23:01, Arthur Schwarz aschwarz1...@att.net wrote: I'm trying figure out how the serial testing environment works and: If TESTS is defined in Makefile.am as TESTS = a.sh And the user changes it to: env TESTS=b.sh c.exe d.py e.pl make -e check What happens? Why

Re: Question on --test-name=NAME

2015-04-26 Thread Gavin Smith
On 26 April 2015 at 16:30, Arthur Schwarz aschwarz1...@att.net wrote: 15.3.3.1 Command-line arguments for test drivers --test-name=NAME The name of the test, with VPATH prefix (if any) removed. This can have a suffix and a directory component (as in e.g., sub/foo.test), and is

Re: Automake Manuals (RANT)

2015-04-26 Thread Gavin Smith
On 26 April 2015 at 01:25, Arthur Schwarz aschwarz1...@att.net wrote: Well, putting it gently you have a good product and one of (maybe, the) worst manual on earth describing it. I'd like to see improvements as well, but calling other people's work the worst manual on earth is not conducive to

Re: Question on --test-name=NAME

2015-04-26 Thread Gavin Smith
As a point, 15.3.3.1 Command-line arguments for test drivers shows all options as having the syntax --option=value. Your example does not have this syntax. Will your example work? Should this be in the manual, as in --option[=| ]value? I am sure that both should be supported although I

Re: Question on --test-name=NAME

2015-04-26 Thread Gavin Smith
On 26 April 2015 at 18:39, Arthur Schwarz aschwarz1...@att.net wrote: Now for the case you mentioned in identifying a program, which is really a test case renamed in the manual for mystifying and unknowable reasons. Well, there is no mechanism for The first non-option argument passed to the

Re: Test Harness Command Line question

2015-04-25 Thread Gavin Smith
On 25 April 2015 at 00:13, Arthur Schwarz aschwarz1...@att.net wrote: 15.3.3.1 Command-line arguments for test drivers --color-tests={yes|no} Is 'always' an option? See 15.2.1 Scripts-based Testsuites AM_COLOR_TESTS=always From my reading, if AM_COLOR_TESTS=always, then --color-tests=yes

Re: automake document section 15 change

2015-04-25 Thread Gavin Smith
On 13 April 2015 at 20:34, Arthur Schwarz aschwarz1...@att.net wrote: I am very much a novice at this so if I have made (some) mistake(s) please tell me how to correct them. I have a suggested change to the general introduction given in Section 15 support for test suites section of the

Re: Questions on Test Command Line inputs

2015-04-25 Thread Gavin Smith
On 25 April 2015 at 00:04, Arthur Schwarz aschwarz1...@att.net wrote: In 15.3.3.1 Command-line arguments for test drivers --log-file=PATH.log The .log file the test driver must create (see Basics of test metadata). If it has a directory component (as in e.g., sub/foo.log), the test

Re: API for Custom Drivers

2015-04-25 Thread Gavin Smith
On 25 April 2015 at 00:27, Arthur Schwarz aschwarz1...@att.net wrote: In 15.3.3.1 Command-line arguments for test drivers there is the statement: The first non-option argument passed to the test driver is the program to be run, and all the following ones are command-line options and

Re: API for Custom Drivers

2015-04-25 Thread Gavin Smith
On 25 April 2015 at 13:11, Arthur Schwarz aschwarz1...@att.net wrote: In 15.3.2 Declaring Custom Test Drivers we have the automake variables LOG_DRIVER and ext_LOG_DRIVER. Assuming LOG_DRIVER = driver, does the statement mean that to execute driver I type: make driver Instead of make

Re: Is TEST_EXTENSIONS a user or developer variable?

2015-04-25 Thread Gavin Smith
On 28 March 2015 at 23:54, Arthur Schwarz aschwarz1...@att.net wrote: Win7-64 bits Cygwin Automake 1.14, Nov 2013 15.2.3 Parallel Test Harness Pg. 113 TEST_EXTENSIONS defaults to .test; it can be overridden by the user ... All examples indicate that this is a developer variable, and the

Re: Autmoake (test) editing

2015-04-25 Thread Gavin Smith
On 1 April 2015 at 00:35, Arthur Schwarz aschwarz1...@att.net wrote: Well, I've never done a patch. More appropriately, the Automake document needs a thorough review and rewriting. I don't have the knowledge to do that, I don't know automake. More appropriately, the patches would be more

Re: Automake Manual pg. 113 qutestion

2015-04-25 Thread Gavin Smith
On 2 April 2015 at 17:41, Arthur Schwarz aschwarz1...@att.net wrote: Win7-64-bit Cygwin Automake 1.14.1 The example given on the page has: % cat configure.ac o o o AC_REQUIRE_AUX_FILE([tap-driver.sh]) o o o % cat Makefile.am TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \

Re: How are env variables passed to the compilation process

2015-03-12 Thread Gavin Smith
On 10 March 2015 at 22:04, Andy Falanga (afalanga) afala...@micron.com wrote: I'm trying to figure out how things like CXXFLAGS and CFLAGS get passed to ultimate point of compilation. I thought I had it down but something that just happened recently has me wondering. I've gotten my project

Re: How to add new Makefile-Rules through Configure?

2015-03-09 Thread Gavin Smith
On 8 March 2015 at 22:29, Marc Wäckerlin m...@waeckerlin.org wrote: I didn't find any proper solution with google for the following problem: How do the makefile rules come into the makefile? E.g. when I use AC_PROG_CXX, in the makefile rules should be added, such as compiling .o from .cxx

Re: AM_CONDITIONAL + AM_COND_IF does not work

2015-03-09 Thread Gavin Smith
On 9 March 2015 at 15:06, Marc Wäckerlin m...@waeckerlin.org wrote: According to the official documentation(*): -- Here is an example of how to define a conditional config file: AM_CONDITIONAL([SHELL_WRAPPER], [test x$with_wrapper = xtrue])

Re: converting to subdir-objects

2015-03-08 Thread Gavin Smith
On 8 March 2015 at 11:50, Diego Elio Pettenò flamee...@flameeyes.eu wrote: On 8 March 2015 at 09:46, Harlan Stenn st...@ntp.org wrote: foo_SRCS = ... $(srcdir)/../foo/bar.c Have you tried omitting $(srcdir) altogether? It should work just fine then. So just foo_SOURCES = ../foo/bar.c This

Re: How to use ld options correctly for --whole-archive in automake and libtool

2015-03-05 Thread Gavin Smith
On 4 March 2015 at 19:05, Andy Falanga (afalanga) afala...@micron.com wrote: I'm trying to reproduce this using the automake tools. I have this in the Makefile.am located in sata: lib_LTLIBRARIES = satacpp.la satacpp_la_SOURCES = ... pyexec_LTLIBRAIRES = sata.la sata_la_LDFLAGS = -module

Re: Auto-Generating ChangeLog and AUTHORS for projects in a version tracking system?

2014-11-14 Thread Gavin Smith
On Wed, Oct 29, 2014 at 10:39 PM, Eric Blake ebl...@redhat.com wrote: On 10/29/2014 04:29 PM, Diego Elio Pettenò wrote: Can't we just say that gnu-flavour automake is pointless and foreign should be the default? Or am I too opinionated on that? For GNU projects, the 'gnu' flavor still makes

Re: Building Automake 1.14.1 on mac os x 10.6.8

2014-11-14 Thread Gavin Smith
On Sun, Nov 2, 2014 at 6:27 PM, Arno Bootsmann boom...@icloud.com wrote: I am trying to compile Automake on mac os x 10.6.8, but get the following error message: forge:automake-1.14.1 boomaxx$ make cd . /opt/src/automake-1.14.1/t/wrap/automake-1.14 --gnu --ignore-deps Makefile Can't

Re: Static Library Linking Problem using Autotool

2014-11-14 Thread Gavin Smith
On Tue, Oct 28, 2014 at 3:34 AM, Wy kevinthesun kevinthesu...@gmail.com wrote: Finally I tried to test Encoder library as before. I create Test6 Project which only included Encoder.h and wrote Makefile.am similarly as Test3: bin_PROGRAMS = Test6 Test6_SOURCES = Test6.cpp Test6_LDFLAGS =

Re: Makefile error in simple library

2014-08-19 Thread Gavin Smith
as occurring in the file as it is expected to. Try removing the # character in front of AM_PROG_AR to see if you still get this error message. On Wed, Aug 20, 2014 at 1:36 AM, Arthur Schwarz aschwarz1...@att.net wrote: Isn't '#' just a comment? -Original Message- From: Gavin Smith

Re: Guide on updating autofoo

2014-08-17 Thread Gavin Smith
On Tue, Aug 12, 2014 at 4:10 PM, Wookey woo...@wookware.org wrote: As porting work (for arm64) recently I have done a lot of fixing up packages to run autoreconf on build as this is the only way to ensure that their config.sub/guess and libtool files are up to date for architectures released

Re: How to run TESTS automatically on each source code change?

2014-07-31 Thread Gavin Smith
On Thu, Jul 24, 2014 at 4:48 PM, Steffen Dettmer steffen.dett...@gmail.com wrote: Hi, I have a test that generates a log file, which I can manually run via make check. Is there a simple way to automate that? For the moment I just created a pragmatic target autotest, but I think it is ugly

Re: Automake 1.14 and subdir-objects

2014-07-31 Thread Gavin Smith
On Thu, Jul 31, 2014 at 9:32 PM, David Beer db...@adaptivecomputing.com wrote: Gavin, Thanks for your reply. Here's a more specific breakdown of what the project does: src/a/Makefile.am: a_SOURCES = bob.c tom.c src/b/Makefile.am: b_SOURCES = mary.c ../a/tom.c The purpose was so that

Re: building executables with pattern rules

2014-07-18 Thread Gavin Smith
On Mon, Jul 14, 2014 at 6:49 PM, Will Estes westes...@gmail.com wrote: I have the following in my Makefile.am, and automake is not using the rule to build the executable. tableopts_nr%.c: tableopts.l4 $(FLEX) -P $(subst -,_,$(*F)) $* -o $@ $ tableopts_nr%.$(OBJEXT): tableopts_nr%.c

Re: What would the correct way be to handle a program with a PID file being built to a prefix directory?

2014-06-18 Thread Gavin Smith
On Wed, Jun 18, 2014 at 3:47 AM, Michael Lueck mlu...@lueckdatasystems.com wrote: Prefix, building the program with non root permissions to be run in the context of a user's home directory. PID file, generally defaults to /var/run, however in this case permissions are not granted to /var/run.

Re: Issues with subdir-objects enabled

2014-04-24 Thread Gavin Smith
On Tue, Apr 22, 2014 at 5:06 PM, Nick Bowler nbow...@elliptictech.com wrote: On 2014-04-22 16:15 +0100, Gavin Smith wrote: Is support for setting variables with names of source directories after automake is run (with configure scripts, or on the command line when make is run) is needed

Re: Issues with subdir-objects enabled

2014-04-22 Thread Gavin Smith
On Sun, Apr 13, 2014 at 2:47 AM, Jonas Thiem jonasth...@googlemail.com wrote: # - # Unit test section # - TESTS= testd = ctests TEST_CFLAGS= $(AM_CFLAGS) -DUNITTEST # - # C tests # - check_PROGRAMS = $(testd)/test-imgloader

Re: [RFC] improving support for building native tools in cross setups

2014-01-30 Thread Gavin Smith
On Wed, Jan 29, 2014 at 10:40 PM, Yann Dirson ydir...@free.fr wrote: Hello, It is not uncommon for software packages to build tools to be executed at build time, to generate data files or more input files to compile. Unless I miss something, the current autotools does not help much dealing

Re: Updating the shared library cache automatically using ldconfig

2013-12-17 Thread Gavin Smith
On Fri, Dec 6, 2013 at 8:56 AM, Richard Crozier r.croz...@ed.ac.uk wrote: I am seeing the same issue as described in this previous post to the automake mailing list:

Re: Long file lists and deep directioriies with Automake

2013-12-17 Thread Gavin Smith
On Mon, Dec 2, 2013 at 8:21 PM, PenguinDude24 beowul...@yandex.com wrote: Automake generates the Makefile.in files, and configure makes the 'Makefile' for the directory. But the generated makefiles give errors. GNU Make gives the ominous 'missing separator error'. That errors can be triggered

Re: automake breaks my file by putting includes after rules; how do I fix this?

2013-12-16 Thread Gavin Smith
On Mon, Dec 16, 2013 at 3:49 PM, Jason Gross jasongro...@gmail.com wrote: These compiled files get distributed/installed, so I think they belong in DATA. The solution I ended up using was manually including an all-am target below the definition, which overrides the one that automake

Re: automake breaks my file by putting includes after rules; how do I fix this?

2013-12-02 Thread Gavin Smith
On Wed, Nov 20, 2013 at 9:33 PM, Jason Gross jasongro...@gmail.com wrote: I have a Makefile.am which includes another file in order to get a list of files it should compile (I don't want to require running autoreconf and configure whenever you add a file that the makefile already knows how to

Re: cannot build library on HP-UX

2013-12-02 Thread Gavin Smith
On Sat, Nov 2, 2013 at 5:43 PM, Denis Laroche dlaroc...@gmail.com wrote: I used version 2.69 of autoconf and version 1.13.4 of automake to generate the configure script. I use a recent version of GNU make, 3.82, on the HP-UX system. I also use option subdir-objects in AM_INIT_AUTOMAKE to

Re: Managing Emacs org-mode projects with automake - how to make this easier?

2013-10-24 Thread Gavin Smith
The not so nice part is, though, that the Makefile.am looks quite messy. Very messy in fact: $ cat Makefile.am vortrag = vortrag.pdf vortrag_DATA = vortrag.org data.txt dist-tarball.png vortragdir = . EXTRA_DIST = ${vortrag_DATA} ${vortrag} MOSTLYCLEANFILES =

Re: version dependencies

2013-09-28 Thread Gavin Smith
openvswitch should tell you what its dependencies are. On Sat, Sep 28, 2013 at 7:37 PM, Ferenc Cserepkei csf...@gmail.com wrote: Welcome, I'm doing jenkins build of openvswitch-1.11 on a centos 6.4 amd64 host. Openvswitch coming from git repo has a boot.sh scrit contains command autoreconf

Re: Enhancing automake support for silent-rules

2013-06-07 Thread Gavin Smith
On Fri, Jun 7, 2013 at 2:55 PM, Darren Garvey darren.gar...@gmail.com wrote: Hi all, I've been trying to make a large automake-generated project I work on build quieter. While there is some support for silent-rules, there are several places where automake templates* don't silence themselves,

Re: Enhancing automake support for silent-rules

2013-06-07 Thread Gavin Smith
%SILENT% doesn't work in any of the places I tried. I'm speculating that this is because it's substituted too early. I see it being used in a few places (eg. lib/am/library.am), but those rules are full of other %NAME% strings. Different files will use different substitutions. For SILENT to

Re: Broken install-data-yes target

2013-06-05 Thread Gavin Smith
On Wed, Jun 5, 2013 at 10:37 PM, Kip Warner k...@thevertigo.com wrote: My make install target for my autotool'd project's translations directory has a number of prerequisites. The one which seems to be causing trouble is the install-data-yes target. Yes, I am aware the path I am using contains

Re: Where Do All These Macros Come From?

2013-05-24 Thread Gavin Smith
Alright, cool. I can get used to this syntax. How does autoconf know what SOME_MACRO is and how to use it in generating a `configure` script? I found a list of configure.ac macros in the automake manual (the auto*conf* section) but I see a lot of macros that people use that are not on the

Re: Specifying Flag Order?

2013-05-23 Thread Gavin Smith
On Thu, May 23, 2013 at 12:46 AM, Jordan H. jorda...@fastmail.fm wrote: I'm using mysql in a program. Here is a snipped of my Makefile.am: project_LDADD += -lboost_thread project_LDADD += -lboost_regex project_LDADD += -lboost_system AM_LDFLAGS = -L/usr/local/lib

Re: Put GNU build system files in a subdirectory?

2013-05-17 Thread Gavin Smith
On Mon, Apr 29, 2013 at 8:16 PM, Bob Rossi b...@brasko.net wrote: Autotools is a great build system. However, after configuring it to place as many files as possible in a subdirectory, it still takes up 87.5% of my projects root directory. aclocal.m4 autom4te.cache build

Re: [FYI] {branch-1.13.2} HACKING: miscellaneous fixes, updates and enhancements

2013-05-15 Thread Gavin Smith
- We used to use '_am_' as the prefix for an internal AC_SUBST. + We used to use '_am_' as the prefix for an internal AC_SUBSTs. This looks like a typo - should the s be there? On Wed, May 15, 2013 at 8:20 PM, Stefano Lattarini stefano.lattar...@gmail.com wrote: Signed-off-by: Stefano

Re: install-strip variant that strips then installs?

2013-05-12 Thread Gavin Smith
On Tue, May 7, 2013 at 5:12 PM, Rhys Ulerich rhys.uler...@gmail.com wrote: I gather that 'make install-strip' installs and then strips binaries. Is there some variant that reverses the order? If not, any recommendations for how to write one in an Automake-compliant manner? My unstripped

Re: Creating plain Makefiles with automake

2013-04-29 Thread Gavin Smith
On Wed, Apr 24, 2013 at 12:10 AM, Gavin Smith gavinsmith0...@gmail.com wrote: I've been working recently on making automake create plain Makefiles when it is run, rather than Makefile.in's, and thought I would share my progress and thoughts on this. ... I haven't included the patches I've

Creating plain Makefiles with automake

2013-04-23 Thread Gavin Smith
I've been working recently on making automake create plain Makefiles when it is run, rather than Makefile.in's, and thought I would share my progress and thoughts on this. The Makefile would trigger configure to be run when it is run for the first time, eliminating the need for both ./configure

Add missing '$' for variable expansion in depout.m4

2013-04-11 Thread Gavin Smith
(I hope I have prepared this patch properly.) Add missing '$' for variable expansion in depout.m4 * m4/depout.m4: am__include appeared where $am__include was meant. diff --git a/m4/depout.m4 b/m4/depout.m4 index 880a597..c79d04b 100644 --- a/m4/depout.m4 +++ b/m4/depout.m4 @@ -40,7

Re: Add missing '$' for variable expansion in depout.m4

2013-04-11 Thread Gavin Smith
an unusual way of doing it would be for automake to generate files which are source'd or m4_include'd from configure.ac). On Thu, Apr 11, 2013 at 7:45 PM, Nick Bowler nbow...@elliptictech.com wrote: On 2013-04-11 19:12 +0100, Gavin Smith wrote: (I hope I have prepared this patch properly.) Add