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.

-- 

________________________________________________________________________


| tom.ghyseli...@excentis.com
|
| 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