Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 178464 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac (+12 lines)
Lines 73-82 Link Here
73
   fi
73
   fi
74
fi
74
fi
75
75
76
AC_ARG_WITH(fftw,
77
	    [  --with-fftw             use fftw3],
78
	    [with_fftw=$withval],
79
	    [with_fftw="no"])
80
if test "$with_fftw" = "yes"; then
76
AC_CHECK_HEADER(fftw3.h,
81
AC_CHECK_HEADER(fftw3.h,
77
   AC_CHECK_LIB([fftw3], fftw_execute,,
82
   AC_CHECK_LIB([fftw3], fftw_execute,,
78
           AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])),
83
           AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])),
79
     AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***]))
84
     AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***]))
85
fi
80
86
81
GCVERSION=6.8
87
GCVERSION=6.8
82
88
Lines 168-178 Link Here
168
		   [Define if you have a working <rpc/rpc.h> header file])],
174
		   [Define if you have a working <rpc/rpc.h> header file])],
169
   AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***]))
175
   AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***]))
170
176
177
AC_ARG_WITH(gsl,
178
	    [  --with-gsl              use gsl libraries],
179
	    [with_gsl=$withval],
180
	    [with_gsl="no"])
181
if test "$with_gsl" = "yes"; then
171
AC_CHECK_HEADER(gsl/gsl_sf.h,
182
AC_CHECK_HEADER(gsl/gsl_sf.h,
172
   AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1,
183
   AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1,
173
   [Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "],
184
   [Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "],
174
           AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]),
185
           AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]),
175
     AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***]))
186
     AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***]))
187
fi
176
188
177
# Checks for typedefs, structures, and compiler characteristics.
189
# Checks for typedefs, structures, and compiler characteristics.
178
AC_TYPE_PID_T
190
AC_TYPE_PID_T

Return to bug 178464