bfam/bfam — pull request #3 by cburstedde (2014-08-27 10:22:28+00:00)
Title: Autotools

Hi guys,
I've put in basic autotools logic in a hopefully non-intrusive way.
So far, it's building libbfam from two source files, jacobi and utils.

Currently I need (gcc 4.6.3)

configure CFLAGS="-std=c99"
CFLAGS="-std=c99" make distcheck

due to the for (int i = 0; ...) construct. If it should stay that way, I can put in a configure check for it. If not and the declaration moves before the loop, the option could possibly be dropped.

Currently, bfam includes mpi.h unconditionally, which would require --enable-mpi to select MPI compilers when compiling the remaining source files. Alternatively, we could just not build the files needing mpi.h when the option is not given.

Thanks,
Carsten