Re: AC_CONFIG_SUBDIRS but immediately

2015-11-12 Thread Gavin Smith
On 11 November 2015 at 16:51, Gavin Smith wrote: > It also needs to be resilient against failure of the subsidiary > configure script. This happened due to the AC_PROG_CC macro > discovering that the C compiler didn't exist, or didn't work. This > compiler was the one that that Perl said it was co

AC_CONFIG_SUBDIRS but immediately

2015-11-11 Thread Gavin Smith
I would like to configure in a subdirectory of a project. AC_CONFIG_SUBDIRS accumulates its arguments and does them all at the end, but I'd like it to be done right away. I searched the archives of the mailing list and found a few discussions, e.g. http://lists.gnu.org/archive/html/autoconf

AC_CONFIG_SUBDIRS

2015-02-24 Thread Evrim Ulu
Dear list, I have a question, sorry to bother. I've been trying to compile mpir using android cross compiler. I've been using this script to set enviroment http://pastebin.com/CdXcZnJM This project uses AC_CONFIG_SUBDIRS to configure sub package 'yasm' in configure.ac: --c

Re: Clarification request: AC_PREFIX_DEFAULT([.]) and AC_CONFIG_SUBDIRS collide.

2014-12-03 Thread Eric Blake
On 12/03/2014 04:24 AM, Václav Zeman wrote: > On 3 December 2014 at 11:32, Thomas Jahns wrote: >> Hello, >> >> I noticed having a default prefix of . causes AC_CONFIG_SUBDIRS to fail. >> >> Is this a bug in AC_PREFIX_DEFAULT (or its documentation) or in >> A

Re: Clarification request: AC_PREFIX_DEFAULT([.]) and AC_CONFIG_SUBDIRS collide.

2014-12-03 Thread Václav Zeman
On 3 December 2014 at 11:32, Thomas Jahns wrote: > Hello, > > I noticed having a default prefix of . causes AC_CONFIG_SUBDIRS to fail. > > Is this a bug in AC_PREFIX_DEFAULT (or its documentation) or in > AC_CONFIG_SUBDIRS? > > Regards, Thomas > > P.S

Clarification request: AC_PREFIX_DEFAULT([.]) and AC_CONFIG_SUBDIRS collide.

2014-12-03 Thread Thomas Jahns
Hello, I noticed having a default prefix of . causes AC_CONFIG_SUBDIRS to fail. Is this a bug in AC_PREFIX_DEFAULT (or its documentation) or in AC_CONFIG_SUBDIRS? Regards, Thomas P.S.: the failure looks like this config.status: executing depfiles commands === configuring in yaxt (/path

Re: Getting AC_CONFIG_SUBDIRS output before AC_OUTPUT

2014-01-10 Thread Rhys Ulerich
s hasn't changed in the meantime... AC_CONFIG_SUBDIRS([sub1]) AC_CONFIG_SUBDIRS([sub2]) early_subdirs="$subdirs" _AC_OUTPUT_SUBDIRS dnl ... dnl Arbitrary things dnl ... if test "$early_subdirs" != "$subdirs"; then AC_MSG_ERROR([Sanity error: "$early_su

Getting AC_CONFIG_SUBDIRS output before AC_OUTPUT

2014-01-10 Thread Rhys Ulerich
Hi all, I've got an autoconfiscated project and two subprojects where I'd like to use AC_CONFIG_SUBDIRS. The subprojects configure scripts perform some nontrivial checks, and dump their results into pkg-config files sub1.pc and sub2.pc. The usual, wait-until-AC_OUTPUT-to-invoke-su

Re: AC_CONFIG_SUBDIRS right away

2012-04-15 Thread Richard Ash
roach you were suggesting; using > the > installed package if it's there then falling back to a > sub-package if > it's not. I'll take a look at your macro. Thanks much. > > > Trying to use your macro today simply replacing my AC

Re: AC_CONFIG_SUBDIRS right away

2012-04-07 Thread Paul Dugas
On Sat, Apr 7, 2012 at 10:37 AM, Richard Ash wrote: > On Fri, 2012-04-06 at 22:01 -0400, Paul Dugas wrote: >> I'm trying to use the pkg-config script provided by a sub-package to >> make appropriate additions to CFLAGS, LDFLAGS and LIBS for the parent >> package and have discovered the actual sub-

Re: AC_CONFIG_SUBDIRS right away

2012-04-07 Thread Richard Ash
On Fri, 2012-04-06 at 22:01 -0400, Paul Dugas wrote: > I'm trying to use the pkg-config script provided by a sub-package to > make appropriate additions to CFLAGS, LDFLAGS and LIBS for the parent > package and have discovered the actual sub-package configuration is > delayed until the AC_CONFIG_FIL

AC_CONFIG_SUBDIRS right away

2012-04-06 Thread Paul Dugas
I'm trying to use the pkg-config script provided by a sub-package to make appropriate additions to CFLAGS, LDFLAGS and LIBS for the parent package and have discovered the actual sub-package configuration is delayed until the AC_CONFIG_FILES call. I found a 2008 post where someone had run into the

Re: autoconf-2.66: AC_CONFIG_SUBDIRS and AC_INIT warns

2010-07-06 Thread Bruno Haible
Hi Ralf, > > $ autoconf > > configure.ac:1: warning: AC_INIT: not a literal: 2.48++ (2010-07-03) > > > > Yes, in some packages, the version number consists of two parts, separated > > by > > a space. > > The space isn't a what triggers the warning here, it's the parentheses > around the dat

Re: autoconf-2.66: AC_CONFIG_SUBDIRS warns

2010-07-05 Thread Eric Blake
- "Mike Frysinger" wrote: > On Saturday, July 03, 2010 15:59:35 Eric Blake wrote: > > Unfortunately, I'm not in a position to release 2.67 for another > > two weeks; if it helps, then hopefully distro packagers will > > pick this up before they build 2.66 into a distro. > > does that include

Re: autoconf-2.66: AC_CONFIG_SUBDIRS warns

2010-07-04 Thread Mike Frysinger
On Saturday, July 03, 2010 15:59:35 Eric Blake wrote: > Unfortunately, I'm not in a position to release 2.67 for another > two weeks; if it helps, then hopefully distro packagers will > pick this up before they build 2.66 into a distro. does that include pushing fixes to git ? usually i cut upstr

Re: autoconf-2.66: AC_CONFIG_SUBDIRS warns

2010-07-03 Thread Eric Blake
- "Bruno Haible" wrote: > Hi, > > In the newest autoconf 2.66, AC_CONFIG_SUBDIRS warns when it is > invoked with > more than one directory. But this way of invoking it is supported, see > the doc: Thanks for the report, and sorry for the regression. Does this

Re: AC_CONFIG_SUBDIRS Question

2010-05-23 Thread Ralf Wildenhues
Hello Paul, * Paul Dugas wrote on Tue, May 11, 2010 at 04:49:28AM CEST: > I have a project that's using AC_CONFIG_SUBDIRS to configure a separately > maintained library. The library is a C++ wrapper for another C library. > Linking against the C++ wrapper library requires also l

AC_CONFIG_SUBDIRS Question

2010-05-10 Thread Paul Dugas
I have a project that's using AC_CONFIG_SUBDIRS to configure a separately maintained library. The library is a C++ wrapper for another C library. Linking against the C++ wrapper library requires also linking against the C library. i.e. "prog" has "libfooxx" in a subdir

Re: AC_CONFIG_SUBDIRS and pkg-config

2008-05-25 Thread Richard Ash
On Sat, 2008-05-24 at 09:41 +0200, Ralf Wildenhues wrote: > Hello Richard, > > * Richard Ash wrote on Fri, May 23, 2008 at 11:31:39PM CEST: > > I seem to have hit a fundamental problem with the way AC_CONFIG_SUBDIRS > > that seems to make it most of the way to useless if

Re: AC_CONFIG_SUBDIRS and pkg-config

2008-05-24 Thread Ralf Wildenhues
Hello Richard, * Richard Ash wrote on Fri, May 23, 2008 at 11:31:39PM CEST: > I seem to have hit a fundamental problem with the way AC_CONFIG_SUBDIRS > that seems to make it most of the way to useless if you want to also use > pkg-config. Basically, it runs the configure scrip

AC_CONFIG_SUBDIRS and pkg-config

2008-05-23 Thread Richard Ash
I seem to have hit a fundamental problem with the way AC_CONFIG_SUBDIRS that seems to make it most of the way to useless if you want to also use pkg-config. Basically, it runs the configure scripts in sub-directories after my main configure script has finished, which is useless because I want

Re: AC_CONFIG_SUBDIRS

2006-12-06 Thread Bob Rossi
t, and then downloads the .tar.gz dependency, untars > > it, and configures it. Currently I ./configure the sub projects manually by > > calling the sub projects ./configure directly. However, using > > AC_CONFIG_SUBDIRS > > might be better, because I think it'll pass do

Re: AC_CONFIG_SUBDIRS

2006-12-06 Thread Ralf Wildenhues
sub projects manually by > calling the sub projects ./configure directly. However, using > AC_CONFIG_SUBDIRS > might be better, because I think it'll pass down the top-level configure > options > to the subproject. Right. It assumes some things though: for example, that

AC_CONFIG_SUBDIRS

2006-12-06 Thread Bob Rossi
Hi, I'd like to use AC_CONFIG_SUBDIRS, but would like to understand more clearly what it does. I have a setup where you check out a project and then you have a top-level ./configure script. When you run the top-level configure script, it determines what libraries you need to build the pr

Re: AC_CONFIG_SUBDIRS

2006-09-25 Thread Stepan Kasal
Hello, On Sat, Sep 23, 2006 at 03:05:53PM +0530, Sanjaya Ratnaweera wrote: > ./configure --enable-test=yesin root directory I assign > > TESTS="tests". > > Can I use that $TESTS variable inside a sub project? first, please note that the option --enable-test=yes is passed to

AC_CONFIG_SUBDIRS

2006-09-23 Thread Sanjaya Ratnaweera
Hi all, I have a project which has sub projects. I'm using AC_CONFIG_SUBDIRS to configure them at one time. Main project |-sub project 1 |-sub project 2 |-sub project 3 Can a sub project use a variabl

Re: reasons for / against AC_CONFIG_SUBDIRS ?

2005-10-20 Thread Harlan Stenn
I have had to do this before, including cases where some of the subdirs did not use autoconf, or used different (older) versions of the auto* tools than I was running. I went to a model where I used variables and an "include" file to get the names of the desired packages (and their versions). IE,

Re: reasons for / against AC_CONFIG_SUBDIRS ?

2005-10-20 Thread Stepan Kasal
Hello, On Wed, Oct 19, 2005 at 03:16:05PM -0400, tom fogal wrote: > We have a growing selection of utilities of special purpose interest to > everyone else making the decision of whether or not to bundle several > packages together (probably via AC_CONFIG_SUBDIRS, but not > necessa

reasons for / against AC_CONFIG_SUBDIRS ?

2005-10-19 Thread tom fogal
'll just cut it short -- how is everyone else making the decision of whether or not to bundle several packages together (probably via AC_CONFIG_SUBDIRS, but not necessarily)? I'm interested in maintainability, understandability, and avoiding 'code rot' (or build system r

Re: question about AC_CONFIG_SUBDIRS

2005-06-24 Thread Ralf Corsepius
On Fri, 2005-06-24 at 14:59 +0200, Harald Dunkel wrote: > Hi folks, > > I've got a question about AC_CONFIG_SUBDIRS: How can I > pass a different --prefix to the "sub-configure", e.g. > '$(prefix)/submodule' ? AFAIK, you can't. To work ar

question about AC_CONFIG_SUBDIRS

2005-06-24 Thread Harald Dunkel
Hi folks, I've got a question about AC_CONFIG_SUBDIRS: How can I pass a different --prefix to the "sub-configure", e.g. '$(prefix)/submodule' ? Regards Harri ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: AC_CONFIG_SUBDIRS & hand-coded configure

2005-06-04 Thread Gour
Ralf Corsepius ([EMAIL PROTECTED]) wrote: Hi Ralf! > IMO, you have tripped a bug in autoreconf. [...] > The scenario you describe is supposed to work out of the box and it > probably does when not using aclocal, autoconf and automake directly > instead of invoking autoreconf. Well, I was also

Re: AC_CONFIG_SUBDIRS & hand-coded configure

2005-06-04 Thread Ralf Corsepius
On Sat, 2005-06-04 at 10:40 +0200, Gour wrote: > Hi! > AC_CONFIG_SUBDIRS([clisp-2.33.2]) > > but autoconf complains that clisp directory does not contain > configure.ac(in): > > autoreconf-2.59: `configure.ac' or `configure.in' is required IMO, you have tripped

AC_CONFIG_SUBDIRS & hand-coded configure

2005-06-04 Thread Gour
ngine for the rest of the package. I have tried to use AC_CONFIG_SUBDIRS in my top-level configure.ac as: AC_CONFIG_SUBDIRS([clisp-2.33.2]) but autoconf complains that clisp directory does not contain configure.ac(in): autoreconf-2.59: `configure.ac' or `configure.in' is required I r

Re: AC_CONFIG_SUBDIRS and autoreconf

2004-07-06 Thread Noah Misch
e up things like --help=recursive, you could just call the inner ``configure'' outright and stop using AC_CONFIG_SUBDIRS. That does affect your users, though. Keeping the bootstrap script until released versions of Autoconf have corrected this behavio

AC_CONFIG_SUBDIRS and autoreconf

2004-07-02 Thread Charles 'Buck' Krasic
Hi, I have a project that uses AC_CONFIG_SUBDIRS with a subdirectory that includes a subpackage (ffmpeg) that has it's own hand coded configure script. My project does use the autotools and has a customary ./boostrap.sh script, as per the autotools book. This has been working fin

Re: libtoolize and AC_CONFIG_SUBDIRS

2004-04-30 Thread Gary V . Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Braden, On 29 Apr 2004, at 19:35, Braden McDaniel wrote: Some issues related to use of CVS libtool with AC_CONFIG_SUBDIRS: 1. libtoolize doesn't appear to recurse into AC_CONFIG_SUBDIRS. Should it? Or is this autoreconf's job? Au

AC_CONFIG_SUBDIRS and options

2003-03-20 Thread Brendan Cully
Hi, I'm interested in bundling a library with another package. I have it set up to use the system library if available, but if not I'd like to use the version I'm bundling. The trick is that I'd like to pass a couple of options to the bundle: --disable-shared and --disable-pthread. How can I pas

AC_CONFIG_SUBDIRS

2002-12-03 Thread Stefan Seefeld
hi there, some weeks ago we discussed ways to enhance the AC_CONFIG_SUBDIRS macro, to be able to let subdir configure calls fail in a controlled way. What happened to that feature request ? Do you plan to make enhancements in that direction ? The situation is this: I'm working on the

Question about AC_CONFIG_SUBDIRS

2002-11-07 Thread Dimitar Haralanov
=${enable_gui} ],ac_build_gui=no) echo ${ac_build_gui} if test "x${ac_build_gui}" = "xyes"; then echo "Running configure in gui..." AC_CONFIG_SUBDIRS(gui) fi The idea is that if the user enables the gui, configure should run configure in the gui directory. H

Re: Repost: AC_CONFIG_SUBDIRS problem

2001-10-24 Thread David Snopek
Akim Demaille wrote: > | And the subdir configure is called with: > | > | ./configure --host=i686-mingw32msvc host_alias=i686-mingw32msvc > | --target=i386-mingw32msvc target_alias=i386-mingw32msvc > | --build=i386-linux build_alias=i386-linux > | > | > | This causes the subdir configure to fai

Re: Repost: AC_CONFIG_SUBDIRS problem

2001-10-24 Thread Akim Demaille
| Earnie Boyd wrote: | > Are you using Cygwin or are you cross compiling using Linux? It appears | > to me as if you've used the wrong switch, you want --target not | > --build. I may be wrong, I've never cross compiled. | > If you're using Cygwin you need to: | | > CC='gcc -mno-cygwin' | | >

Re: Repost: AC_CONFIG_SUBDIRS problem

2001-10-22 Thread David Snopek
Earnie Boyd wrote: > Are you using Cygwin or are you cross compiling using Linux? It appears > to me as if you've used the wrong switch, you want --target not > --build. I may be wrong, I've never cross compiled. > > If you're using Cygwin you need to: > > CC='gcc -mno-cygwin' > configure --ho

Re: Repost: AC_CONFIG_SUBDIRS problem

2001-10-22 Thread Earnie Boyd
n.cpp > ... >| >|- libltdl/ >| > ... >|- configure.in >|- configure >|- ltdl.c > > This is an over simplification, but you get the idea. The main > configure script has a line like "AC_CONFIG_SUBDIRS(libltdl)". This >

Repost: AC_CONFIG_SUBDIRS problem

2001-10-21 Thread David Snopek
|- ltdl.c This is an over simplification, but you get the idea. The main configure script has a line like "AC_CONFIG_SUBDIRS(libltdl)". This works in most situations, when I am just passing --enable/--disable arguments to configure. But when I pass a build type for example: .

AC_CONFIG_SUBDIRS problem

2001-10-15 Thread David Snopek
I am using autoconf 2.52. I have a project that requires a seperate configure script in a child directory. I specify its directory in AC_CONFIG_SUBDIRS. In most cases everything works properly: I run the main configuration script which, when complete, runs the other configure. I have

AC_CONFIG_SUBDIRS

2001-08-22 Thread Gustavo J A M Carneiro
I call AC_CONFIG_SUBDIRS in my configure.ac file to run configure in a subdirectory. Unfortunately, configure only runs other configure scripts at end of the main configure script. The problem is that the subdir's configure script writes a file which needs to read back to find out ho

Re: passing configure options via AC_CONFIG_SUBDIRS

2001-08-15 Thread Ralf Corsepius
configuration and compilation of pkgA using AC_CONFIG_SUBDIRS(pkgA). > Therefore in src directory, I run ./configure, followed by make --- all > works well. On Platform A, pkgA is configured and compiled automatically. > > Now, for Platform B, I need to add switches to the configure

Re: passing configure options via AC_CONFIG_SUBDIRS

2001-08-15 Thread Paul Martinolich
thers do not. When src/configure is run on Platform A it will identify that pkgA is unavailable, but recognizes that the source (../pkgA) exists and therefore will schedule the configuration and compilation of pkgA using AC_CONFIG_SUBDIRS(pkgA). Therefore in src directory, I run ./configure, follow

Re: passing configure options via AC_CONFIG_SUBDIRS

2001-08-15 Thread Akim Demaille
>>>>> "Paul" == Paul Martinolich <[EMAIL PROTECTED]> writes: Paul> I have a configure.ac in which I conditionally configure Paul> additional sources that have their own ./configure scripts. Paul> Using AC_CONFIG_SUBDIRS works great. But, now I'd lik

passing configure options via AC_CONFIG_SUBDIRS

2001-08-14 Thread Paul Martinolich
I have a configure.ac in which I conditionally configure additional sources that have their own ./configure scripts. Using AC_CONFIG_SUBDIRS works great. But, now I'd like to pass some configure options that I don't use in my top-level configure. How can I pass these to the