On Wed, 26 Jul 2006, Ed Hartnett wrote:

I have no check target per se, just the automake primary. I have:

# Test the netCDF-3 library.
check_PROGRAMS = t_nc
TESTS = ${check_PROGRAMS}

This yields in the Makefile:

check_PROGRAMS = t_nc$(EXEEXT)

I see. It appears that the auto-extension of PROGRAMS (as explained in the automake URL you referenced) is causing the problem. This approach should work:

TESTPROGRAMS = t_nc
check_PROGRAMS = $(TESTPROGRAMS)
TESTS = $(TESTPROGRAMS)

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


Reply via email to