Hi Richard,

* Richard Bos wrote on Sun, Nov 13, 2005 at 12:00:16AM CET:
> Problem: a variable remains undefined during 'make distcheck',
> although, it is present in the file that is included by Makefile.am.
*snip*
> 
> The file dist_conf/kolab (@distribution@) included by configure.ac as follows:
> AC_ARG_ENABLE([dist],
>   [AC_HELP_STRING([--enable-dist=DIST],
>      [distribution target (default: openpkg)])],
>      [distribution=dist_conf/$enable_dist],
>    [distribution=dist_conf/kolab])
> AC_SUBST_FILE(distribution)

Shot in the dark: Maybe you want
  distribution=$srcdir/dist_conf/kolab
instead?  If you do VPATH builds (source tree != build tree), you should
encounter the problem there as well.

If this was wrong, please provide autoconf and automake versions.

Cheers,
Ralf


Reply via email to