Skip to content
Snippets Groups Projects
Commit a40a25e1 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Need to clear settings when lib is not found and not specified

parent 48c4f03f
Branches
Tags
1 merge request!534Allow the user to specify a non-standard path for the FFTW library at configure time.
...@@ -444,6 +444,10 @@ if test "x$with_gsl" != "xno"; then ...@@ -444,6 +444,10 @@ if test "x$with_gsl" != "xno"; then
AC_MSG_ERROR(something is wrong with the GSL library!), $GSL_LIBS) AC_MSG_ERROR(something is wrong with the GSL library!), $GSL_LIBS)
have_gsl="yes" have_gsl="yes"
fi fi
if test "$have_gsl" = "no"; then
GSL_LIBS=""
GSL_INCS=""
fi
fi fi
AC_SUBST([GSL_LIBS]) AC_SUBST([GSL_LIBS])
AC_SUBST([GSL_INCS]) AC_SUBST([GSL_INCS])
...@@ -574,6 +578,10 @@ if test "x$with_fftw" != "xno"; then ...@@ -574,6 +578,10 @@ if test "x$with_fftw" != "xno"; then
AC_MSG_ERROR(something is wrong with the FFTW library!), $FFTW_LIBS) AC_MSG_ERROR(something is wrong with the FFTW library!), $FFTW_LIBS)
have_fftw="yes" have_fftw="yes"
fi fi
if test "$have_fftw" = "no"; then
FFTW_LIBS=""
FFTW_INCS=""
fi
fi fi
AC_SUBST([FFTW_LIBS]) AC_SUBST([FFTW_LIBS])
AC_SUBST([FFTW_INCS]) AC_SUBST([FFTW_INCS])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment