Re: aclocal's past and future home (was Re: Best practise for aclocal paths in cross builds)

2024-12-17 Thread Ross Burton
On 17 Dec 2024, at 18:23, Zack Weinberg wrote: > The other thing that comes to mind is, if there were anyone working > seriously on usage of autoconf *without* automake, that would make > the move a lot more valuable. I know some people have tried that in > the past but I don't think any of them

aclocal's past and future home (was Re: Best practise for aclocal paths in cross builds)

2024-12-17 Thread Zack Weinberg
On Tue, Dec 17, 2024, at 12:24 PM, Ross Burton wrote: > On 17 Dec 2024, at 17:17, Nick Bowler wrote: >> Adding the automake list, because (mostly for historical reasons) >> aclocal is actually part of automake, not autoconf. > > I’ve been using autotools for too many years

Re: Best practise for aclocal paths in cross builds

2024-12-17 Thread Ross Burton
On 17 Dec 2024, at 17:17, Nick Bowler wrote: > Adding the automake list, because (mostly for historical reasons) > aclocal is actually part of automake, not autoconf. I’ve been using autotools for too many years and I _still_ forget what tool is where… Though considering what it do

Re: Best practise for aclocal paths in cross builds

2024-12-17 Thread Nick Bowler
Hi Ross, Adding the automake list, because (mostly for historical reasons) aclocal is actually part of automake, not autoconf. On 2024-12-17 11:01, Ross Burton wrote: > I’m trying to clean up our autoconf invocation and want to do things > the “right” way. > > We’re in a cross envi

Re: checking aclocal m4 files (was: GNU Coding Standards, automake, and the recent xz-utils backdoor)

2024-04-02 Thread Jacob Bachmeyer
Bruno Haible wrote: Jacob Bachmeyer wrote: Another related check that /would/ have caught this attempt would be comparing the aclocal m4 files in a release against their (meta)upstream sources before building a package. This is something distribution maintainers could do without

Re: What does (did?) it mean when aclocal exits with code 63?

2023-12-22 Thread Karl Berry
Hi Zack, *automake* can exit with code 63 under some circumstances, but it really looks like aclocal never will. Agreed. I searched for "63" in automake distributions back to 1.11.3, as well as the current sources, and no trace of any 63's in aclocal, only in automake.

What does (did?) it mean when aclocal exits with code 63?

2023-12-22 Thread Zack Weinberg
One of Autoconf's regression tests includes: # If Autoconf is too old, or the user has turned caching off, skip: AT_CHECK([aclocal || { ret=$?; test $ret -eq 63 && ret=77; exit $ret; }], [], [], [ignore]) The effect is to skip the rest of the test if aclocal's exit

Re: t/aclocal-print-acdir.sh at installcheck and AUTOMAKE_UNINSTALLED

2020-02-10 Thread Mathieu Lirzin
Hello Karl, Mathieu Lirzin writes: > Karl Berry writes: > >> Other than that, please push asap! --thanks again, karl. > > I Will push that patch before the end of the week. Done in commit f19ecc089b017d0f0cde1e960fb1a6a407005164. Thanks for the review. -- Mathieu Lirzin GPG: F2A3 8D7E EB2B

Re: t/aclocal-print-acdir.sh at installcheck and AUTOMAKE_UNINSTALLED

2020-02-05 Thread Mathieu Lirzin
Hello Karl, Karl Berry writes: > Hi Mathieu - I'm glad you replied. I saw in the ChangeLog that you > created AUTOMAKE_UNINSTALLED :). The general idea was clear, but all the > implications, not so much. > > Here is a patch that seem to fix the issue, I have added some clutter to > AM_TE

Re: t/aclocal-print-acdir.sh at installcheck and AUTOMAKE_UNINSTALLED

2020-02-05 Thread Karl Berry
Hi Mathieu - I'm glad you replied. I saw in the ChangeLog that you created AUTOMAKE_UNINSTALLED :). The general idea was clear, but all the implications, not so much. Here is a patch that seem to fix the issue, I have added some clutter to AM_TESTS_ENVIRONMENT Thanks! make distcheck now

Re: t/aclocal-print-acdir.sh at installcheck and AUTOMAKE_UNINSTALLED

2020-02-04 Thread Mathieu Lirzin
Hello Karl, Karl Berry writes: > The aclocal-print-acdir.sh test fails at the make installcheck step of > make distcheck (it succeeds in the normal make check, and it succeeds at > the make check of make distcheck; only fails in the make installcheck). > > This is because AUTOM

Re: t/aclocal-print-acdir.sh at installcheck and AUTOMAKE_UNINSTALLED

2020-02-03 Thread Jim Meyering
On Mon, Feb 3, 2020 at 6:23 PM Karl Berry wrote: > The aclocal-print-acdir.sh test fails at the make installcheck step of > make distcheck (it succeeds in the normal make check, and it succeeds at > the make check of make distcheck; only fails in the make installcheck). > >

t/aclocal-print-acdir.sh at installcheck and AUTOMAKE_UNINSTALLED

2020-02-03 Thread Karl Berry
The aclocal-print-acdir.sh test fails at the make installcheck step of make distcheck (it succeeds in the normal make check, and it succeeds at the make check of make distcheck; only fails in the make installcheck). This is because AUTOMAKE_UNINSTALLED is (correctly) set in the environment at

Re: automake-1.16: aclocal is unable to process AM_PATH_PYTHON with variable as value

2018-03-06 Thread Mathieu Lirzin
gt; (0r36:PYTHON_+1) != (0*4) >>>> autom4te-2.69: /usr/bin/m4 failed with exit status: 1 >>>> aclocal-1.16: error: echo failed with exit status: 1 > > Looks like the reversion of 1d60fb72168e62d33fe433380af621de64e22f23 > has fixed this problem and I can build my

Re: automake-1.16: aclocal is unable to process AM_PATH_PYTHON with variable as value

2018-03-06 Thread Adam Mercer
4te-2.69: /usr/bin/m4 failed with exit status: 1 >>> aclocal-1.16: error: echo failed with exit status: 1 Looks like the reversion of 1d60fb72168e62d33fe433380af621de64e22f23 has fixed this problem and I can build my projects again. Is there an ETA for a point release containing this fix? Cheers Adam

Re: automake-1.16: aclocal is unable to process AM_PATH_PYTHON with variable as value

2018-02-27 Thread Adam Mercer
ptsetup/blob/master/configure.ac#L506 > https://github.com/ImageMagick/PythonMagick/blob/master/configure.ac#L42 > > doesn't work anymore: > >> * aclocal * >> * PWD: /var/tmp/portage/sys-fs/cryptsetup-2.0.1/work/cryptsetup-2.0.1 >> * aclocal -I m4 >>

automake-1.16: aclocal is unable to process AM_PATH_PYTHON with variable as value

2018-02-26 Thread Thomas Deutschmann
ork anymore: > * aclocal * > * PWD: /var/tmp/portage/sys-fs/cryptsetup-2.0.1/work/cryptsetup-2.0.1 > * aclocal -I m4 > > /usr/bin/m4:configure.ac:506: bad expression in eval (bad input): ($+1) != (2) > /usr/bin/m4:configure.ac:506: bad expression in eval (bad input)

Re: aclocal using automake Automake::XFile

2015-12-09 Thread Arkadiusz Miśkiewicz
On Tuesday 08 of December 2015, Arkadiusz Miśkiewicz wrote: > On Tuesday 08 of December 2015, Eric Blake wrote: > > Huh - it sounds like your version of perl is trying to open a literal > > file named 'echo ... | autom4te ... autoconf.ac |' , instead of properly > > opening a subshell command that

Re: aclocal using automake Automake::XFile

2015-12-08 Thread Arkadiusz Miśkiewicz
On Tuesday 08 of December 2015, Eric Blake wrote: > Huh - it sounds like your version of perl is trying to open a literal > file named 'echo ... | autom4te ... autoconf.ac |' , instead of properly > opening a subshell command that feeds echo to autom4te then collects the > output of autom4te (basi

Re: aclocal using automake Automake::XFile

2015-12-08 Thread Eric Blake
[not really an m4 problem, so future replies can be to just automake] On 12/08/2015 02:51 AM, Arkadiusz Miśkiewicz wrote: > > Hello. > > Using > m4 (GNU M4) 1.4.17 > automake (GNU automake) 1.15 > > /usr/bin/aclocal contains code: > > $traces .= " --l

aclocal using automake Automake::XFile

2015-12-08 Thread Arkadiusz Miśkiewicz
Hello. Using m4 (GNU M4) 1.4.17 automake (GNU automake) 1.15 /usr/bin/aclocal contains code: $traces .= " --language Autoconf-without-aclocal-m4 "; $traces = "echo '$early_m4_code' | $traces - "; ... verb "running $traces $configure_ac"; my

Re: Cannot locate /usr/share/aclocal/pkg.m4

2014-03-26 Thread Yunzhong Gao
Never mind. Diego is right. This file pkg.m4 is not part of automake but part of the pkg-config package. Running "sudo apt-get install pkg-config" installs this m4 file (not sure if the version of aclocal matters at all). Thanks Peter and Diego for helping! - Gao On Wed, Mar 26, 2014

Re: Cannot locate /usr/share/aclocal/pkg.m4

2014-03-26 Thread Peter Johansson
On 03/26/2014 08:41 AM, Yunzhong Gao wrote: Hi all, I was trying to install automake 1.14 on Ubuntu 13.10 which comes with automake 1.13 pre-installed. I appear to be missing this file /usr/share/aclocal/pkg.m4. Is this file auto-generated by the configure-make-install process, or is it to be

Re: Cannot locate /usr/share/aclocal/pkg.m4

2014-03-26 Thread Diego Elio Pettenò
comes with > automake 1.13 pre-installed. I appear to be missing this file > /usr/share/aclocal/pkg.m4. Is this file > auto-generated by the configure-make-install process, or is it to be > downloaded from > somewhere? Many many thanks in advance, > - Gao >

Cannot locate /usr/share/aclocal/pkg.m4

2014-03-26 Thread Yunzhong Gao
Hi all, I was trying to install automake 1.14 on Ubuntu 13.10 which comes with automake 1.13 pre-installed. I appear to be missing this file /usr/share/aclocal/pkg.m4. Is this file auto-generated by the configure-make-install process, or is it to be downloaded from somewhere? Many many thanks in

Re: aclocal and AC_CONFIG_MACRO_DIR

2013-06-22 Thread Werner LEMBERG
> AC_CONFIG_MACRO_DIRS is the one you want to use (plural form). Thanks. I wasn't aware that it exists (since it is missing in the autoconf 2.69 documentation). I now see that it is mentioned in automake, but the macro's prefix `AC_' didn't make me look it up there. Werner

Re: aclocal and AC_CONFIG_MACRO_DIR

2013-06-22 Thread Stefano Lattarini
Hi Diego, thanks for chiming in. On 06/22/2013 12:19 PM, Diego Elio Pettenò wrote: > Hi Werner, > > AC_CONFIG_MACRO_DIR expects a single directory (it's used by among other > libtool to put its m4 files). > > AC_CONFIG_MACRO_DIRS is the one you want to use (plural form). > > HTH > I think you'

Re: aclocal and AC_CONFIG_MACRO_DIR

2013-06-22 Thread Diego Elio Pettenò
7:27 PM, Werner LEMBERG wrote: > > [automake 1.14] > > It seems that there are problems if AC_CONFIG_MACRO_DIR contains more > than a single directory. Calling > > aclocal -I gnulib/m4 --force -I m4 > > within the attached bundle causes > > aclocal: error:

bug#13514: [PATCH v3 1/2] aclocal: just warn if the primary local m4 dir doesn't exist (don't error)

2013-02-21 Thread Stefano Lattarini
tags 13514 + patch close 13514 stop On 02/20/2013 10:11 PM, Stefano Lattarini wrote: > On 02/18/2013 09:53 AM, Pavel Raiskup wrote: >> Hi Stefano, thanks for refinements! I'm ok with these patches. >> > Good! I will push them tomorrow if I hear no objection by then. > Pushed now. I'm thus clos

Re: Error running help2man on aclocal-1.13.1

2013-01-09 Thread Jan Engelhardt
On Wednesday 2013-01-09 22:27, Stefano Lattarini wrote: >> >> Now I just have to figure out why someone thought that openSUSE >> should create the manpages directly... >> >Good question > >What happens if you do this instead? > >help2man -S FSF ./t/wr

Re: Error running help2man on aclocal-1.13.1

2013-01-09 Thread Stefano Lattarini
On 01/09/2013 10:13 PM, Jan Engelhardt wrote: > On Wednesday 2013-01-09 19:11, Stefano Lattarini wrote: > >> On 01/09/2013 05:05 PM, Jan Engelhardt wrote: >>> >>> The >>> >>> help2man: can't get `--help' info from ./aclocal >>

Re: Error running help2man on aclocal-1.13.1

2013-01-09 Thread Jan Engelhardt
On Wednesday 2013-01-09 19:11, Stefano Lattarini wrote: >On 01/09/2013 05:05 PM, Jan Engelhardt wrote: >> >> The >> >> help2man: can't get `--help' info from ./aclocal >> >> error seems to have reappeared in automake-1.13.1 (judging fr

Re: Error running help2man on aclocal-1.13.1

2013-01-09 Thread Stefano Lattarini
On 01/09/2013 05:05 PM, Jan Engelhardt wrote: > > The > > help2man: can't get `--help' info from ./aclocal > > error seems to have reappeared in automake-1.13.1 (judging from > http://gnu-automake.7480.n7.nabble.com/Man-pages-for-automake-and-aclocal-td1

Error running help2man on aclocal-1.13.1

2013-01-09 Thread Jan Engelhardt
The help2man: can't get `--help' info from ./aclocal error seems to have reappeared in automake-1.13.1 (judging from http://gnu-automake.7480.n7.nabble.com/Man-pages-for-automake-and-aclocal-td11966.html) help2man is of version 1.40.12. --- Executing(%build): /bin/sh -

Re: [RFC] Superseding aclocal?

2012-10-17 Thread Stefano Lattarini
here's no need to copy them > (or m4_include them) into aclocal.m4, which is just an historical > implementation > detail of pre-2.13 autoconf... it will just load the macro definitions from > wherever it finds them, and (optionally) copy them into > AC_CONFIG_MACRO_DIR{,S}

Re: [RFC] Superseding aclocal?

2012-10-17 Thread Gary V. Vaughan
Hi Stefano, On 17 Oct 2012, at 16:45, Stefano Lattarini wrote: > On 10/17/2012 11:24 AM, Gary V. Vaughan wrote: >> On 17 Oct 2012, at 15:52, Stefano Lattarini >> wrote: >>> On 10/17/2012 10:25 AM, Gary V. Vaughan wrote: >>>> I remember many years ago that T

Re: [RFC] Superseding aclocal?

2012-10-17 Thread Stefano Lattarini
autoconf-patches/2012-10/msg00018.html> >> >> On 10/17/2012 10:25 AM, Gary V. Vaughan wrote: >>> >>> [SNIP] >>> >>> I remember many years ago that Tom Tromey (IIRC) stated that aclocal >>> was just a stop-gap measure until autoconf could fin

Re: [RFC] Superseding aclocal? (was: Re: [PATCH 1/2] AC_CONFIG_MACRO_DIRS: new macro, mostly for aclocal)

2012-10-17 Thread Gary V. Vaughan
: >> >> [SNIP] >> >> I remember many years ago that Tom Tromey (IIRC) stated that aclocal >> was just a stop-gap measure until autoconf could find it's own macros. >> >> I'd *really* like to see aclocal die as a separate program, and have >

[RFC] Superseding aclocal? (was: Re: [PATCH 1/2] AC_CONFIG_MACRO_DIRS: new macro, mostly for aclocal)

2012-10-17 Thread Stefano Lattarini
[Adding Automake list in CC:] Reference: <https://lists.gnu.org/archive/html/autoconf-patches/2012-10/msg00018.html> On 10/17/2012 10:25 AM, Gary V. Vaughan wrote: > > [SNIP] > > I remember many years ago that Tom Tromey (IIRC) stated that aclocal > was just a stop-gap m

Should aclocal warn when picking up system-wide installed macros?

2012-09-25 Thread Stefano Lattarini
27; > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal --force > autoreconf: configure.ac: tracing > autoreconf: configure.ac: adding subdirectory c++ to autoreconf > autoreconf: Entering directory `c++' > autoreconf: configure.ac: not using Libtool &

should aclocal warn when picking up installed macros???

2012-09-24 Thread Peter Johansson
Hi, I just helped a co-developer who experienced a mysterious autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory c++ to autoreconf autor

Re: automake >= 1.11.4 aclocal misses ../share/aclocal

2012-04-24 Thread Stefano Lattarini
Hi Ralf, thanks for the report. On 04/24/2012 11:45 AM, Ralf Corsepius wrote: > Hi, > > automake >= 1.11.4 doesn't create $(datadir)/aclocal. > > This cause aclocal to fail: > > tar xvf automake-1.11.4.tar.xz > cd automake-1.11.4 > configure --prefix=/tmp/fo

automake >= 1.11.4 aclocal misses ../share/aclocal

2012-04-24 Thread Ralf Corsepius
Hi, automake >= 1.11.4 doesn't create $(datadir)/aclocal. This cause aclocal to fail: tar xvf automake-1.11.4.tar.xz cd automake-1.11.4 configure --prefix=/tmp/foo make make install Change to the source directory of an arbitrary automake-based package and run /tmp/foo/bin/aclocal

Re: aclocal only picking up /usr/local/share and not /usr/share

2011-03-17 Thread Peter Johansson
[removing automake-patches] On 3/17/11 10:39 AM, Maynard Johnson wrote: you aclocal calls. Also, in the next automake release, aclocal will probably support a new 'ACLOCAL_PATH' environment variable that would help solving this kind of problems Well, you could always resort to add

Re: aclocal only picking up /usr/local/share and not /usr/share

2011-03-17 Thread Maynard Johnson
On 03/17/2011 10:02 AM, Stefano Lattarini wrote: On Thursday 17 March 2011, Maynard Johnson wrote: On 03/17/2011 5:17 AM, Stefano Lattarini wrote: Well, you could always resort to adding proper `-I' option to you aclocal calls. Also, in the next automake release, aclocal will probably su

Re: aclocal only picking up /usr/local/share and not /usr/share

2011-03-17 Thread Stefano Lattarini
On Thursday 17 March 2011, Maynard Johnson wrote: > On 03/17/2011 5:17 AM, Stefano Lattarini wrote: > > Well, you could always resort to adding proper `-I' option to > > you aclocal calls. Also, in the next automake release, aclocal > > will probably support a new

Re: aclocal only picking up /usr/local/share and not /usr/share

2011-03-17 Thread Maynard Johnson
On 03/17/2011 5:17 AM, Stefano Lattarini wrote: [adding automake-patches] On Thursday 17 March 2011, Maynard Johnson wrote: Hello, I have installed a version of aclocal into /usr/local that's newer than my distro's version (I needed a fix from the newer version). But then I ran into

Re: aclocal only picking up /usr/local/share and not /usr/share

2011-03-17 Thread Stefano Lattarini
[adding automake-patches] On Thursday 17 March 2011, Maynard Johnson wrote: > Hello, > I have installed a version of aclocal into /usr/local that's newer > than my distro's version (I needed a fix from the newer version). > But then I ran into a problem recently where the b

aclocal only picking up /usr/local/share and not /usr/share

2011-03-16 Thread Maynard Johnson
Hello, I have installed a version of aclocal into /usr/local that's newer than my distro's version (I needed a fix from the newer version). But then I ran into a problem recently where the build of some package was failing because aclocal was not finding the pkgcfg.m4 file in

bug#7698: aclocal generates too strict a check for name-lister

2010-12-22 Thread Ximin Luo
; then which occurs twice in GMP 5.0.1's ./configure, and once in aclocal.m4, so the source seems to be automake's aclocal program. If you remove all occurrences of the second test, the build works fine. I have some test code at [1]. Note the WORKAROUND on line 232 - removing it will caus

bug#7698: aclocal generates too strict a check for name-lister

2010-12-22 Thread Ximin Luo
On 21/12/10 13:36, Stefano Lattarini wrote: > The bug you're hitting must be located in a third-part macro, since no > automake-provided macro do something similar to that. And in fact, it > seems to come from GMP-5.0.1's own acinclude.m4 (which is *not* the same > as aclocal.m4! see the automake

bug#7698: aclocal generates too strict a check for name-lister

2010-12-22 Thread Ximin Luo
On 22/12/10 00:55, Peter Rosin wrote: > FWIW, It smells exactly like a bug that was fixed in libtool 2.2.8 related > to this NEWS entry: I did some more poking around - this bug is in libtool, but not the one you mention. The "responsible snippet" I pasted above is from libtool.m4, and it exists i

Re: Strangeness with m4_include and aclocal.

2010-12-12 Thread Stefano Lattarini
On Thursday 28 October 2010, Stefano Lattarini wrote: > On Wednesday 27 October 2010, Nick Bowler wrote: > > On 2010-10-23 15:23 +0200, Stefano Lattarini wrote: > > > Now I do. This happens because `aclocal', to find the includes in an > > > input file, *grep*

Re: When "aclocal" causes an error message, "sed: invalid option -- 'q'"

2010-11-17 Thread Eric Blake
On 11/17/2010 09:59 AM, Bruce Korb wrote: >> Is it worth installing a temporary sed wrapper earlier in your PATH that >> outputs debugging information such as the process id of its parent if it >> detects that one of the arguments starts with -q? > > Next time I run into it. I unwound everything

Re: When "aclocal" causes an error message, "sed: invalid option -- 'q'"

2010-11-17 Thread Bruce Korb
On 11/17/10 07:35, Eric Blake wrote: > On 11/17/2010 08:11 AM, Bruce Korb wrote: >>> OK. I don't see where it should come from in Autoconf nor Automake. >>> Any case the package at hand contains m4_esyscmd in configure.ac that >> ^ >>> contains a

Re: When "aclocal" causes an error message, "sed: invalid option -- 'q'"

2010-11-17 Thread Eric Blake
On 11/17/2010 08:11 AM, Bruce Korb wrote: >> OK. I don't see where it should come from in Autoconf nor Automake. >> Any case the package at hand contains m4_esyscmd in configure.ac that > ^ >> contains a buggy sed script? If not, please state ex

Re: When "aclocal" causes an error message, "sed: invalid option -- 'q'"

2010-11-17 Thread Bruce Korb
On 11/16/10 23:28, Ralf Wildenhues wrote: > * Bruce Korb wrote on Tue, Nov 16, 2010 at 10:18:50PM CET: >> On 11/16/10 12:45, Ralf Wildenhues wrote: >>> This comes probably from autoreconf, not from aclocal. >> That is rather difficult to discern. Either way, the >>

Re: When "aclocal" causes an error message, "sed: invalid option -- 'q'"

2010-11-16 Thread Ralf Wildenhues
* Bruce Korb wrote on Tue, Nov 16, 2010 at 10:18:50PM CET: > On 11/16/10 12:45, Ralf Wildenhues wrote: > > This comes probably from autoreconf, not from aclocal. > That is rather difficult to discern. Either way, the > controlling program needs to say: > "I was running t

Re: When "aclocal" causes an error message, "sed: invalid option -- 'q'"

2010-11-16 Thread Bruce Korb
On 11/16/10 12:45, Ralf Wildenhues wrote: > This comes probably from autoreconf, not from aclocal. That is rather difficult to discern. Either way, the controlling program needs to say: "I was running this script:\n%s\nAND:\n%s" which might get wrapped again by autoreconf (or not

Re: When "aclocal" causes an error message, "sed: invalid option -- 'q'"

2010-11-16 Thread Ralf Wildenhues
conf: configure.ac: not using Gettext > > autoreconf: running: aclocal --force -I m4 > > sed: invalid option -- 'q' > > Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]... > > > > -n, --quiet, --silent > [.] This comes probably from

When "aclocal" causes an error message, "sed: invalid option -- 'q'"

2010-11-16 Thread Bruce Korb
What is it really trying to say? I'm not a real perl expert.Thank you! > $ autoreconf --force --install --verbose --symlink > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal --force -I m4 > sed: invalid o

Re: ACLOCAL best practice

2010-11-14 Thread Ralf Wildenhues
Hello Ryan, * Ryan Lortie wrote on Sat, Nov 13, 2010 at 05:49:57PM CET: > I recently filed a bug against a freedesktop.org component because it > didn't honour the ACLOCAL_FLAGS environment variable. That bug got > closed, telling me to use ACLOCAL like so: > > ACLOCAL=&#x

Re: ACLOCAL best practice

2010-11-13 Thread Stefano Lattarini
On Saturday 13 November 2010, Ryan Lortie wrote: > Hello, Hello Ryan. Just a quick partial reply ... > [CUT] > In my opinion, this is an argument for why ACLOCAL_FLAGS > (or at least some ACLOCAL_PATH environment variable) Supporting ACLOCAL_PATH is a good idea IMO -- and the nice thing about it

ACLOCAL best practice

2010-11-13 Thread Ryan Lortie
ocal/share/aclocal/. So my ACLOCAL_FLAGS contains ACLOCAL_FLAGS="-I /home/desrt/local/share/aclocal" and all GNOME packages pick this up (usually by explicit referencing of this variable from our autogen.sh and Makefile.am). (for example) $ACLOCAL $ACLOCAL_FLAGS || exit $? and ACL

Re: [PATCH] {maint} Document in detail some limitations of aclocal. (was: Re: Strangeness with m4_include and aclocal.)

2010-11-04 Thread Nick Bowler
On 2010-11-04 20:47 +0100, Stefano Lattarini wrote: > On Thursday 28 October 2010, Stefano Lattarini wrote: > > On Wednesday 27 October 2010, Nick Bowler wrote: > > > On 2010-10-23 15:23 +0200, Stefano Lattarini wrote: > > > > So I think your first problem is "ju

[PATCH] {maint} Document in detail some limitations of aclocal. (was: Re: Strangeness with m4_include and aclocal.)

2010-11-04 Thread Stefano Lattarini
On Thursday 28 October 2010, Stefano Lattarini wrote: > On Wednesday 27 October 2010, Nick Bowler wrote: > > On 2010-10-23 15:23 +0200, Stefano Lattarini wrote: > > > So I think your first problem is "just" an aclocal limitation we should > > > resign to liv

Re: Strangeness with m4_include and aclocal.

2010-10-28 Thread Stefano Lattarini
On Wednesday 27 October 2010, Nick Bowler wrote: > On 2010-10-23 15:23 +0200, Stefano Lattarini wrote: > > Now I do. This happens because `aclocal', to find the includes in an > > input file, *grep* the file's content, looking for literal `m4_include' > >

Re: Strangeness with m4_include and aclocal.

2010-10-27 Thread Nick Bowler
On 2010-10-23 15:23 +0200, Stefano Lattarini wrote: > Now I do. This happens because `aclocal', to find the includes in an > input file, *grep* the file's content, looking for literal `m4_include' > (and similar), without analyzing m4 traces (not sure why aclocal acts &

Re: Strangeness with m4_include and aclocal.

2010-10-23 Thread Stefano Lattarini
On Friday 22 October 2010, Nick Bowler wrote: > On 2010-10-22 20:43 +0200, Stefano Lattarini wrote: > > May I ask you that, the next time you report a problem, you also tell which > > version of aclocal/automake are you using, and post the content of all the > > relevant files

Re: Strangeness with m4_include and aclocal.

2010-10-22 Thread Nick Bowler
On 2010-10-22 20:43 +0200, Stefano Lattarini wrote: > May I ask you that, the next time you report a problem, you also tell which > version of aclocal/automake are you using, and post the content of all the > relevant files (or reduced exemples thereof)? That would make it easier &g

Re: Strangeness with m4_include and aclocal.

2010-10-22 Thread Stefano Lattarini
Hello Nick. Thanks for the report. May I ask you that, the next time you report a problem, you also tell which version of aclocal/automake are you using, and post the content of all the relevant files (or reduced exemples thereof)? That would make it easier for us to understand and reproduce

Strangeness with m4_include and aclocal.

2010-10-20 Thread Nick Bowler
I'm trying to define an autoconf macro which calls m4_include on one of its arguments. However, aclocal and/or automake seem to be choking a bit when I do this. My first idea was to write something simple like the following: AC_DEFUN([MY_INC], [m4_include([$1])]) but this causes acloc

Re: aclocal problems

2009-04-10 Thread John Calcote
By the way, you may be interested in seeing how I was able to use m4_define and still get aclocal to use my file for gnulib's AC_DEFUN_ONCE replacement (coupled with an AC_REQUIRE([gl_00GNULIB]) in gnulib-common.m4): http://git.savannah.gnu.org/cgit/gnulib.git/tree/m4/00gnulib.m4

Re: aclocal problems

2009-04-10 Thread Ralf Wildenhues
; > reason. OK to apply? > > Yes, please. Done, thanks; but see below. > But given the recent thread about AC_DEFUN being able to > hoist contents while m4_define does not, would it ever make sense to add a > macro in the AC_ namespace that is equivalent to m4_define but st

Re: aclocal problems

2009-04-10 Thread Eric Blake
xpected to never be the object >>>> of an AC_REQUIRE directive, and macros required by other macros inside >>>> arguments do not need to be expanded before this macro, then use >>>> m4_define." By the way, you may be interested in seeing how I was able to use

Re: aclocal problems

2009-04-10 Thread Eric Blake
sense to add a macro in the AC_ namespace that is equivalent to m4_define but still traced by aclocal? Unfortunately, the name AC_DEFINE is already claimed. > > Note that AC_DEFUN is needed for aclocal. > > * doc/autoconf.texi (Coding Style): Public third-party macros

Re: aclocal problems

2009-04-09 Thread Ralf Wildenhues
to be expanded before this macro, then use >>> m4_define." > ... >>> Is this a bug in aclocal? >> I don't think so. Do you think the quote is an encouragement not to use >> AC_REQUIRE? > Hmmm. No, I don't think it's an encouragement not to

Re: aclocal problems

2009-04-03 Thread John Calcote
acros required by other macros inside arguments do not need to be expanded before this macro, then use m4_define." ... Is this a bug in aclocal? I don't think so. Do you think the quote is an encouragement not to use AC_REQUIRE? For public macros, I'd even vent

Re: aclocal problems

2009-04-03 Thread Ralf Wildenhues
her macros inside > arguments do not need to be expanded before this macro, then use > m4_define." > > So the Autoconf manual is encouraging users to use m4_define, however, > when I define a macro using m4_define in a .m4 file in the m4 directory > of my project, aclocal

aclocal problems

2009-04-03 Thread John Calcote
n use m4_define." So the Autoconf manual is encouraging users to use m4_define, however, when I define a macro using m4_define in a .m4 file in the m4 directory of my project, aclocal ignores it by not m4_including it in the generated aclocal.m4 file. It appears to require the use o

Re: odd aclocal/automake depends issue

2008-12-23 Thread Monty Taylor
>> The problem I was recently trying to solve is this: if I change a >> plug.in file, automake doesn't trigger a re-run of aclocal, et al, Like >> I would like it to. > >> Next thing was to use sinclude to include the files (we had been using >> builtin([incl

Re: odd aclocal/automake depends issue

2008-12-23 Thread Monty Taylor
>> The problem I was recently trying to solve is this: if I change a >> plug.in file, automake doesn't trigger a re-run of aclocal, et al, Like >> I would like it to. > >> Next thing was to use sinclude to include the files (we had been using >> builtin([incl

Re: odd aclocal/automake depends issue

2008-12-22 Thread Ralf Wildenhues
change a > plug.in file, automake doesn't trigger a re-run of aclocal, et al, Like > I would like it to. > Next thing was to use sinclude to include the files (we had been using > builtin([include],$1) because of bug in aclocal 1.8. I _obviously_ don't > care about

odd aclocal/automake depends issue

2008-12-22 Thread Monty Taylor
plug.in file, automake doesn't trigger a re-run of aclocal, et al, Like I would like it to. First thing I tried was injecting a list of the found plug.in files into top level CONFIGURE_DEPENDENCIES - but this only causes automake/autoconf to be re-run, and not aclocal. Next thing was to use si

Re: passing autoreconf -I to aclocal -I

2008-10-24 Thread Clinton Roy
s diff --git a/ChangeLog b/ChangeLog index c8dca18..c4ab037 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-24 Clinton Roy <[EMAIL PROTECTED]> + + * bin/autoreconf.in (parse_args): Pass --include to aclocal. + * doc/autoconf.texi (autoreconf Invocation): Updates for above. +

Re: passing autoreconf -I to aclocal -I

2008-10-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding automake list] According to Clinton Roy on 10/22/2008 5:45 PM: Hello, Clinton, > This patch makes autoreconf pass along -I arguments to aclocal, which > is useful in cases > where m4 files are installed in sensible, but non standa

Re: aclocal flags are a pain

2008-09-16 Thread Behdad Esfahbod
ings that I like to be able to do but autoreconf >> does not do currently: > > Most of which can be had, or at least worked around, by using the > overriding environment variables AUTOCONF, LIBTOOLIZE, ACLOCAL, > AUTOMAKE, no? Yes, but at that point it will be easier to just call

Re: aclocal flags are a pain

2008-09-16 Thread Ralf Wildenhues
but autoreconf > does not do currently: Most of which can be had, or at least worked around, by using the overriding environment variables AUTOCONF, LIBTOOLIZE, ACLOCAL, AUTOMAKE, no? > * Many autogen.sh scripts I've seen try each of automake, automake-1.10, > automake-1.9 automak

Re: aclocal flags are a pain

2008-09-16 Thread Behdad Esfahbod
Behdad Esfahbod wrote: > Reading autoreconf source right now. I may just switch to it if my testers > tell me it works on OS X and msys. Ok, I see the following things that I like to be able to do but autoreconf does not do currently: * Many autogen.sh scripts I've seen try each of automake, a

Re: aclocal flags are a pain

2008-09-16 Thread Behdad Esfahbod
Ralf Wildenhues wrote: > Hello again, > > * Behdad Esfahbod wrote on Tue, Sep 16, 2008 at 01:40:41AM CEST: >> To use an m4/ dir one has to modify three places: >> >> * autogen.sh: add "-I m4" to their aclocal invocation (ok, I know >> autoreco

Re: aclocal flags are a pain

2008-09-16 Thread Ralf Wildenhues
Hello again, * Behdad Esfahbod wrote on Tue, Sep 16, 2008 at 01:40:41AM CEST: > To use an m4/ dir one has to modify three places: > > * autogen.sh: add "-I m4" to their aclocal invocation (ok, I know autoreconf > prolly handles it), Yes, it does. What k

Re: How to pinpoint aclocal failure

2008-07-30 Thread Yang Tse
2008/7/30, Ralf Wildenhues wrote: > aclocal endless loops are a pain to debug. If you can go back to a > known-good version (of configure.ac and *.m4 files), you may be able to > bisect. One of the many things that have already been tried is to comment out the new macro invocations l

Re: How to pinpoint aclocal failure

2008-07-30 Thread Ralf Wildenhues
Hello, * Yang Tse wrote on Wed, Jul 30, 2008 at 08:17:54PM CEST: > > Since I'm not sure if this is actually an automake or autoconf issue, It's not clear from the bug report. aclocal endless loops are a pain to debug. If you can go back to a known-good version (of configure.a

How to pinpoint aclocal failure

2008-07-30 Thread Yang Tse
Hello! Since I'm not sure if this is actually an automake or autoconf issue, and sure you can also help I'm also posting this here as well as on the autoconf mailin-list. Excuse me if this bothers someone. Last addition of some macros to the cURL (libcurl) project have triggered

Re: '#####' comment handling in aclocal

2008-04-19 Thread Peter Simons
to have comments that should not > appear in the generated files, such as the example in the manual. That is a reasonable goal, but I think it's somewhat counter-intuitive that aclocal -- which is a tool that deals exclusively with Autoconf macros -- behaves completely differently than Auto

Re: '#####' comment handling in aclocal

2008-04-12 Thread Ralf Wildenhues
Hi Peter, * Peter Simons wrote on Sat, Apr 12, 2008 at 01:20:51PM CEST: > > It appears that aclocal strips those "# ..." comments while > copying the macros into the generated aclocal.m4 file. > > I was wondering whether this behavior is intentional and, > a

'#####' comment handling in aclocal

2008-04-12 Thread Peter Simons
Hi, the Autoconf Macro Archive distributes m4 source codes that contain comment lines beginning with multiple '#' characters, i.e. five of them, as in the following example: http://autoconf-archive.cryp.to/acx_blas.m4 It appears that aclocal strips those "# ..." commen

Re: aclocal: macro `AM_PROG_MKDIR_P' required but not defined

2008-01-09 Thread Ralf Wildenhues
build. > > When "autoreconf -f -v -i" gets called, I get: > aclocal: macro `AM_PROG_MKDIR_P' required but not defined [...] > > And "automake --version" says 1.7.1 (which appears to be quite old?). Yes, I would just retry with a newer version. Install Automake

aclocal: macro `AM_PROG_MKDIR_P' required but not defined

2008-01-09 Thread Michael Abbott
quot; gets called, I get: aclocal: macro `AM_PROG_MKDIR_P' required but not defined On reading the manual, it seems that autoupdate is used to correct this, so I ran that and got this: aclocal.m4:17: error: this file was generated for autoconf 2.61. You have another version of auto

Re: aclocal recursion error

2008-01-07 Thread Skip Montanaro
> Took another look at what's available in MacPorts. I see two things > matching my search for libtool: > > libtool devel/libtool 1.5.24 GNU Libtool ... > libtool-devel devel/libtool-devel 1.9f The GNU Portable ... Woo hoo! Deactivating libtool-devel and activating

  1   2   3   >