Lines 40-46
Link Here
|
40 |
|
40 |
|
41 |
AC_SUBST(latexdir) |
41 |
AC_SUBST(latexdir) |
42 |
|
42 |
|
43 |
docdir=$Datadir/doc/asymptote |
43 |
docdir=$Datadir/doc/asymptote-1.33 |
44 |
|
44 |
|
45 |
AC_ARG_WITH(docdir, |
45 |
AC_ARG_WITH(docdir, |
46 |
[ --with-docdir=PATH alternate documentation installation directory], |
46 |
[ --with-docdir=PATH alternate documentation installation directory], |
Lines 76-85
Link Here
|
76 |
fi |
76 |
fi |
77 |
fi |
77 |
fi |
78 |
|
78 |
|
79 |
AC_CHECK_HEADER(fftw3.h, |
79 |
AC_ARG_WITH([fftw], |
80 |
AC_CHECK_LIB([fftw3], fftw_execute,, |
80 |
[ --with-fftw use fftw3], |
|
|
81 |
[with_fftw=$withval], |
82 |
[with_fftw="no"]) |
83 |
if test "$with_fftw" = "yes"; then |
84 |
AC_CHECK_HEADER([fftw3.h], |
85 |
AC_CHECK_LIB([fftw3], [fftw_execute],, |
81 |
AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])), |
86 |
AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])), |
82 |
AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***])) |
87 |
AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***])) |
|
|
88 |
fi |
83 |
|
89 |
|
84 |
GCVERSION=gc-7.0 |
90 |
GCVERSION=gc-7.0 |
85 |
|
91 |
|
Lines 108-114
Link Here
|
108 |
then INCL="-I$prefix/include/gc" |
114 |
then INCL="-I$prefix/include/gc" |
109 |
else INCL="-I$ac_cv_use_gc/include/gc" |
115 |
else INCL="-I$ac_cv_use_gc/include/gc" |
110 |
fi |
116 |
fi |
111 |
AC_CHECK_HEADER(gc.h, |
117 |
|
|
|
118 |
AC_CHECK_HEADER([gc/gc.h], |
112 |
AC_CHECK_LIB([gc],[GC_malloc],[ |
119 |
AC_CHECK_LIB([gc],[GC_malloc],[ |
113 |
LIBS=$LIBS"-lgc " |
120 |
LIBS=$LIBS"-lgc " |
114 |
# LIBS=$LIBS"-lgccpp -lgc " |
121 |
# LIBS=$LIBS"-lgccpp -lgc " |
Lines 183-193
Link Here
|
183 |
[Define if you have a working <rpc/rpc.h> header file])], |
190 |
[Define if you have a working <rpc/rpc.h> header file])], |
184 |
AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***])) |
191 |
AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***])) |
185 |
|
192 |
|
|
|
193 |
AC_ARG_WITH(gsl, |
194 |
[ --with-gsl use gsl libraries], |
195 |
[with_gsl=$withval], |
196 |
[with_gsl="no"]) |
197 |
if test "$with_gsl" = "yes"; then |
186 |
AC_CHECK_HEADER(gsl/gsl_sf.h, |
198 |
AC_CHECK_HEADER(gsl/gsl_sf.h, |
187 |
AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1, |
199 |
AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1, |
188 |
[Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "], |
200 |
[Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "], |
189 |
AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]), |
201 |
AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]), |
190 |
AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***])) |
202 |
AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***])) |
|
|
203 |
fi |
191 |
|
204 |
|
192 |
# Checks for typedefs, structures, and compiler characteristics. |
205 |
# Checks for typedefs, structures, and compiler characteristics. |
193 |
AC_TYPE_PID_T |
206 |
AC_TYPE_PID_T |