Re: How to best prevent autoreconf from recursing into a subdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux