Include config.h directly if used
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 19 Aug 2014 03:42:16 +0000 (06:42 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 4 Sep 2014 16:17:22 +0000 (18:17 +0200)
commit9337f57544f316d8107bca4628fae2980257c29d
tree8b40524976e0baddab0d6c5e2360aae515ea1c4d
parentf7d4f928a2b47708069d5614495bd20473da19ad
Include config.h directly if used

Include config.h directly in files that use definitions from there.
Only gmx_blas/gmx_lapack are exceptions, where the header does the
inclusion for simplicity.  There is also one of the kernel inner loop
files in nbnxn kernels that relies on the source file including
config.h.

Change-Id: Ibea7d3fafb0e7de5ee3d40e52c68fef5646edf37
12 files changed:
src/gromacs/commandline/cmdlineinit.cpp
src/gromacs/gmxana/gmx_pme_error.cpp
src/gromacs/gmxlib/nonbonded/nb_kernel_avx_128_fma_single/kernelutil_x86_avx_128_fma_single.h
src/gromacs/gmxlib/nonbonded/nb_kernel_avx_256_single/kernelutil_x86_avx_256_single.h
src/gromacs/imd/imd.h
src/gromacs/imd/imdsocket.h
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.h
src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils.h
src/gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_common.h
src/gromacs/mdlib/nbnxn_search_simd_4xn.h
src/gromacs/selection/parser_internal.h
src/programs/mdrun/tests/replicaexchange.cpp