automake
[Top][All Lists]
Advanced

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

Re: Variable defition works in configure.ac, but not in external file?


From: Ralf Wildenhues
Subject: Re: Variable defition works in configure.ac, but not in external file?
Date: Sun, 13 Nov 2005 02:55:55 +0100
User-agent: Mutt/1.5.9i

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

[Prev in Thread] Current Thread [Next in Thread]