Link with -lm after -ltvm.

Matt Jadud spotted this link order problem: libtvm uses fegetround and various
other maths-y functions, so -lm needs to come after it.
Use AM_CPPFLAGS instead of INCLUDES.

Newer automake complains about the latter.
Remove calls to AM_PROG_CC_STDC.

This has been replaced by AC_PROG_CC since 2002, and was removed in automake
1.13.
Remove jm_MAINTAINER_MODE, removed in automake 1.13.
Remove mentions of ansi2knr, dropped from auto* in 2011.

(All of these were commented out anyway.)
Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.

The latter has been removed in automake 1.13; the former's been available since
2002.
Use AC_LANG and AC_LANG_PROGRAM in configure tests.

Some tests in ccsp and tranx86 didn't say what language they were in, which
autoconf warns about now; they're now explicitly C.
Version-up to 1.6.0.

This will become the new stable branch.
Advance master to version 1.6.1-pre0 (next cycle).
Build fix for ocuda examples.

Don't build if no CUDA support..
Merge pull request #1 from atsampson/master

Various build system fixes
Merge remote-tracking branch 'concurrencycc/master'
Spacing change. But, it will trigger the build. Pulled in changes from ATS.