=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.63 retrieving revision 1.67 diff -u -p -r1.63 -r1.67 --- OpenXM_contrib2/asir2000/configure 2015/08/06 18:21:21 1.63 +++ OpenXM_contrib2/asir2000/configure 2017/03/12 04:51:49 1.67 @@ -629,6 +629,7 @@ USE_GC_SPARC64 libasir_postfix LAPACKLIB FEPLIB +GMPLIB USE_PLOT_FALSE USE_PLOT_TRUE XPMLIB @@ -761,6 +762,7 @@ with_asir_gc with_distdir with_pari enable_plot +enable_static_gmp enable_interval enable_fft_float with_mpi @@ -1411,6 +1413,7 @@ Optional Features: speeds up one-time build --enable-shared enable linking shared libraries. [no] --enable-plot enable plot feature. [no] + --enable-static-gmp force to link statically with gmp. [no] --enable-interval enable interval feature. [no] --enable-fft-float enable FFT-FLOAT feature. [no] @@ -5552,6 +5555,19 @@ else fi +GMPLIB="-L${libdir} -lmpc -lmpfr -lgmp" +# Check whether --enable-static_gmp was given. +if test "${enable_static_gmp+set}" = set; then : + enableval=$enable_static_gmp; enable_static_gmp=yes +else + enable_static_gmp=no +fi + +if test ${enable_static_gmp:=no} != no ; then + GMPLIB='${libdir}/libmpc.a ${libdir}/libmpfr.a ${libdir}/libgmp.a' +fi + + # Check whether --enable-interval was given. if test "${enable_interval+set}" = set; then : enableval=$enable_interval; enable_interval=${enableval} @@ -5678,6 +5694,17 @@ esac + +for ac_func in sigaction +do : + ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction" +if test "x$ac_cv_func_sigaction" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SIGACTION 1 +_ACEOF + +fi +done ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" if test "x$ac_cv_func_socket" = xyes; then :