automake
[Top][All Lists]
Advanced

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

Re: AM_CONDITIONAL + AM_COND_IF does not work


From: Tom Ghyselinck
Subject: Re: AM_CONDITIONAL + AM_COND_IF does not work
Date: Mon, 09 Mar 2015 16:12:26 +0100

Hi Marc,

On ma, 2015-03-09 at 16:06 +0100, Marc Wäckerlin wrote:

> I try to generically find out, whether examples/makefile.am exists in a 
> project and to automatically use it, if it exists:
> ------------------------------------------
> AM_CONDITIONAL([HAVE_EXAMPLES_DIR], [test -f examples/makefile.am])
> AM_COND_IF([HAVE_EXAMPLES_DIR], [AC_CONFIG_FILES([examples/makefile])])
> ------------------------------------------
> 

Don't you mean to have
AM_CONDITIONAL([HAVE_EXAMPLES_DIR], [test -f examples/Makefile.am])
AM_COND_IF([HAVE_EXAMPLES_DIR], [AC_CONFIG_FILES([examples/Makefile])])

(Titlecase "Makefile")

With best regards,
Tom.

-- 

________________________________________________________________________


| address@hidden
|
| Tom Ghyselinck
| Senior Engineer
| Excentis N.V.
| Gildestraat 8 B-9000 Ghent, Belgium
| Tel: +32 9 269 22 91 - Fax: +32 9 329 31 74

________________________________________________________________________




reply via email to

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