diff --git a/configure b/configure index c08a6c34..e4c16af1 100755 --- a/configure +++ b/configure @@ -95,10 +95,10 @@ function find_python_lib() { function find_lib() { echo "int main() { return 0; }" > "${QP_ROOT}"/external/tmp.c - gcc $1 "${QP_ROOT}"/external/tmp.c -o "${QP_ROOT}"/external/tmp.exe 2> /dev/null + gcc $@ "${QP_ROOT}"/external/tmp.c -o "${QP_ROOT}"/external/tmp.exe 2> /dev/null if [[ -x "${QP_ROOT}"/external/tmp.exe ]] ; then rm "${QP_ROOT}"/external/tmp.exe "${QP_ROOT}"/external/tmp.c - echo "$1" + echo "$lib" else rm "${QP_ROOT}"/external/tmp.c echo "not_found" diff --git a/src/Davidson/EZFIO.cfg b/src/Davidson/EZFIO.cfg index 397c0e8e..af910f58 100644 --- a/src/Davidson/EZFIO.cfg +++ b/src/Davidson/EZFIO.cfg @@ -31,6 +31,6 @@ interface: ezfio,provider,ocaml [distributed_davidson] type: logical doc: If true, use the distributed algorithm -default: False +default: True interface: ezfio,provider,ocaml