[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to best prevent autoreconf from recursing into a subdir
From: |
Ralf Wildenhues |
Subject: |
Re: How to best prevent autoreconf from recursing into a subdir |
Date: |
Wed, 1 Dec 2010 07:38:25 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hello Peter,
* Peter Breitenlohner wrote on Mon, Nov 29, 2010 at 03:59:32PM CET:
> >DIALOG_TREE=[dialog-]dialog_version
> >AC_SUBST([DIALOG_TREE])
> >
> ># Initialize the subdir machinery
> >AC_CONFIG_SUBDIRS([])
> >
> >if test "x$enable_build" != xno || test -f config.force; then
> > # when building dialog, configure the subdir $DIALOG_TREE
> > # but prevent autoreconf from recursing into this subdir.
> > subdirs=$DIALOG_TREE
> > echo timestamp >config.force
> >fi
> All this works fine, except that autoreconf (2.65 or 2.68) complains:
>
> >autoreconf: Entering directory `dialog'
> >Use of uninitialized value in split at BIN_DIR/autoreconf line 484, <GEN79>
> >line 4.
> >autoreconf: Leaving directory `dialog'
> (1) is there a better (more correct) way to achieve the same result?
Yes; see 'info Autoconf Subdirectories' for better code, and info
autoreconf for the --no-recursive flag.
Cheers,
Ralf
- Re: How to best prevent autoreconf from recursing into a subdir,
Ralf Wildenhues <=