if [ -f "${NATIVE_PATH}/liblapack.a" ] && [ "${SAT_lapack_IS_NATIVE}" == "1" ]; then
CONFIGURE_FLAGS+=" --with-blaslapack-dir=${NATIVE_PATH}"
elif [ -n "${LAPACK_ROOT_DIR}" ] && [ "${SAT_lapack_IS_NATIVE}" != "1" ]; then
- CONFIGURE_FLAGS+=" --with-blaslapack-dir=${LAPACK_ROOT_DIR}"
+ CONFIGURE_FLAGS+=" --with-blaslapack-dir=${LAPACK_ROOT_DIR}"
else
CONFIGURE_FLAGS+=" --download-f2cblaslapack=ext/f2cblaslapack-3.8.0.q2.tar.gz"
fi
CONFIGURE_FLAGS+=" --with-python-dir=${PYTHON_ROOT_DIR}"
CONFIGURE_FLAGS+=" --with-hdf5-dir=${HDF5_ROOT_DIR}"
-if [ -f "${NATIVE_PATH}/libfftw3.a" ] && [ ${SAT_fftw_IS_NATIVE} == "1" ]; then
+if [ -f "${NATIVE_PATH}/libfftw3.a" ] && [ "${SAT_fftw_IS_NATIVE}" == "1" ]; then
CONFIGURE_FLAGS+=" --with-fftw-dir=${NATIVE_PATH}"
-elif [ -n "${FFTW_ROOT_DIR}" ] && [ ${SAT_fftw_IS_NATIVE} != "1" ]; then
+elif [ -n "${FFTW_ROOT_DIR}" ] && [ "${SAT_fftw_IS_NATIVE}" != "1" ]; then
CONFIGURE_FLAGS+=" --with-fftw-dir=${FFTW_ROOT_DIR}"
else
CONFIGURE_FLAGS+=" --download-fftw=ext/fftw-3.3.10.tar.gz"