[BACK]Return to configure.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Diff for /OpenXM/src/ox_toolkit/configure.in between version 1.2 and 1.4

version 1.2, 2000/02/08 20:33:06 version 1.4, 2003/03/23 20:17:35
Line 1 
Line 1 
 dnl  $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.1 2000/02/08 09:51:13 ohara Exp $  dnl  $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.3 2000/03/08 05:46:14 ohara Exp $
 dnl  If you change this file, do not forget to run autoconf and rm .configure_done  dnl  If you change this file, do not forget to run autoconf and rm .configure_done
   
   
 AC_INIT(mysocket.c)  AC_INIT(mysocket.c)
 AC_PROG_CC  AC_PROG_CC
 AC_PROG_RANLIB  AC_PROG_RANLIB
 AC_PROG_LN_S  dnl AC_PROG_LN_S
 dnl AC_PROG_INSTALL  dnl AC_PROG_INSTALL
 AC_PATH_XTRA  AC_PATH_XTRA
   
 AC_CHECK_FUNC(socket)  AC_ARG_ENABLE([gmp],
 if test "$ac_cv_func_socket" = no ; then  [  --with-gmp              with the GNU MP library [[no]]],
   AC_CHECK_LIB(socket,socket)  [with_gmp=yes],[with_gmp=no])
   
   if test ${with_gmp:=no} != no ; then
       AC_DEFINE([WITH_GMP])
       GMPLIB="-lgmp"
 fi  fi
 AC_CHECK_FUNC(gethostbyname)  AC_SUBST([GMPLIB])
 if test "$ac_cv_func_gethostbyname" = no ; then  
   AC_CHECK_LIB(nsl,gethostbyname)  dnl for Solaris 2.x
 fi  AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
   AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
   
 AC_OUTPUT(Makefile)  
   
   AC_OUTPUT(Makefile)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>