Lines 66-75
Link Here
|
66 |
AC_PROG_MAKE_SET |
66 |
AC_PROG_MAKE_SET |
67 |
AC_PROG_YACC |
67 |
AC_PROG_YACC |
68 |
|
68 |
|
|
|
69 |
AC_ARG_WITH(fftw, |
70 |
[ --with-fftw use fftw3], |
71 |
[with_fftw=$withval], |
72 |
[with_fftw="no"]) |
73 |
if test "$with_fftw" = "yes"; then |
69 |
AC_CHECK_HEADER(fftw3.h, |
74 |
AC_CHECK_HEADER(fftw3.h, |
70 |
AC_CHECK_LIB([fftw3], fftw_execute,, |
75 |
AC_CHECK_LIB([fftw3], fftw_execute,, |
71 |
AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])), |
76 |
AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])), |
72 |
AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***])) |
77 |
AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***])) |
|
|
78 |
fi |
73 |
|
79 |
|
74 |
GCVERSION=6.8 |
80 |
GCVERSION=6.8 |
75 |
|
81 |
|
Lines 152-162
Link Here
|
152 |
[Define if you have a working <rpc/rpc.h> header file])], |
158 |
[Define if you have a working <rpc/rpc.h> header file])], |
153 |
AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***])) |
159 |
AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***])) |
154 |
|
160 |
|
|
|
161 |
AC_ARG_WITH(gsl, |
162 |
[ --with-gsl use gsl libraries], |
163 |
[with_gsl=$withval], |
164 |
[with_gsl="no"]) |
165 |
if test "$with_gsl" = "yes"; then |
155 |
AC_CHECK_HEADER(gsl/gsl_sf.h, |
166 |
AC_CHECK_HEADER(gsl/gsl_sf.h, |
156 |
AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1, |
167 |
AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1, |
157 |
[Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "], |
168 |
[Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "], |
158 |
AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]), |
169 |
AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]), |
159 |
AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***])) |
170 |
AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***])) |
|
|
171 |
fi |
160 |
|
172 |
|
161 |
# Checks for typedefs, structures, and compiler characteristics. |
173 |
# Checks for typedefs, structures, and compiler characteristics. |
162 |
AC_TYPE_PID_T |
174 |
AC_TYPE_PID_T |