• Huiwei Lu's avatar
    Fixes default optimization flags · 91d023c1
    Huiwei Lu authored
    The default optimization flags (-O2) are set for C and F77, but not for
    C++ and Fortran 90.
    
    In commit [b4ce3c99
    
    ], the behaviour of PAC_C_CHECK_COMPILER_OPTION and
    PAC_F77_CHECK_COMPILER_OPTION were changed in configure.ac, while
    PAC_CXX_CHECK_COMPILER_OPTION and PAC_FC_CHECK_COMPILER_OPTION
    remained the same.
    
    Fixes #2033
    
    Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@mcs.anl.gov>
    91d023c1