Commit a40a25e1 authored by Peter W. Draper's avatar Peter W. Draper

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

parent 48c4f03f
...@@ -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])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment