[Top][All Lists]
[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: |
Richard Bos |
Subject: |
Re: Variable defition works in configure.ac, but not in external file? |
Date: |
Sun, 13 Nov 2005 08:29:49 +0100 |
User-agent: |
KMail/1.8.2 |
Ralf,
Op zondag 13 november 2005 02:55, schreef Ralf Wildenhues:
> 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.
You hit the 'bull' :)) Thanks a lot!
--
Richard Bos
Without a home the journey is endless