=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.60 retrieving revision 1.66 diff -u -p -r1.60 -r1.66 --- OpenXM_contrib2/asir2000/configure 2015/08/04 06:46:29 1.60 +++ OpenXM_contrib2/asir2000/configure 2016/09/23 03:03:39 1.66 @@ -623,11 +623,13 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +WSLIB asm_obj USE_GC_SPARC64 libasir_postfix LAPACKLIB FEPLIB +GMPLIB USE_PLOT_FALSE USE_PLOT_TRUE XPMLIB @@ -760,6 +762,7 @@ with_asir_gc with_distdir with_pari enable_plot +enable_static_gmp enable_interval enable_fft_float with_mpi @@ -1410,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] @@ -5145,7 +5149,7 @@ elif test `basename ./"${CC}"` = "icc" ; then CFLAGS="-g -O" fi -GC=gc-7.2 +GC=gc-7.4.2 # Check whether --with-asir-gc was given. if test "${with_asir_gc+set}" = set; then : @@ -5551,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} @@ -5666,12 +5683,28 @@ arm*-*-linux*) CFLAGS="${CFLAGS} -fsigned-char" fi ;; +*-*-mingw*) + WSLIB="-lws2_32" + asm_obj="${generic_obj}" + ;; *) asm_obj="${generic_obj}" ;; 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 :