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

Diff for /OpenXM/src/oxc/configure.in between version 1.3 and 1.4

version 1.3, 2004/12/06 14:25:47 version 1.4, 2016/09/22 17:00:14
Line 1 
Line 1 
 dnl  $OpenXM: OpenXM/src/oxc/configure.in,v 1.2 2003/11/11 04:30:02 takayama Exp $  dnl  $OpenXM: OpenXM/src/oxc/configure.in,v 1.3 2004/12/06 14:25:47 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(oxc.c)  AC_INIT(oxc,1.0)
   AC_CONFIG_SRCDIR([oxc.c])
   AC_PREREQ(2.69)
   
 AC_PROG_CC  AC_PROG_CC
 AC_PROG_INSTALL  AC_PROG_INSTALL
 AC_PATH_XTRA  
   
 AC_CHECK_FUNC(socket)  AC_ARG_ENABLE([shared],
 if test "$ac_cv_func_socket" = no ; then  [  --enable-shared         enable linking with shared libraries.  [[yes]]],
   AC_CHECK_LIB(socket,socket)  [],[enable_shared=yes])
   
   if test "${enable_shared:=yes}" != no ; then
      true
 fi  fi
 AC_CHECK_FUNC(gethostbyname)  
 if test "$ac_cv_func_gethostbyname" = no ; then  OXLIBS='-lox -lmpfr -lgmp -lgc'
   AC_CHECK_LIB(nsl,gethostbyname)  if test "${enable_shared}" = no ; then
       OXLIBS='${libdir}/libox.a ${libdir}/libmpfr.a ${libdir}/libgmp.a ${libdir}/libgc.a'
 fi  fi
 AC_CHECK_FUNC(dlopen)  AC_SUBST([OXLIBS])
 if test "$ac_cv_func_dlopen" = no ; then  
   AC_CHECK_LIB(dl,dlopen)  
 fi  
   
 AC_OUTPUT(Makefile)  dnl AC_CHECK_FUNC(socket)
   dnl if test "$ac_cv_func_socket" = no ; then
   dnl   AC_CHECK_LIB(socket,socket)
   dnl fi
   dnl AC_CHECK_FUNC(gethostbyname)
   dnl if test "$ac_cv_func_gethostbyname" = no ; then
   dnl   AC_CHECK_LIB(nsl,gethostbyname)
   dnl fi
   dnl AC_CHECK_FUNC(dlopen)
   dnl if test "$ac_cv_func_dlopen" = no ; then
   dnl   AC_CHECK_LIB(dl,dlopen)
   dnl fi
   
   AC_CONFIG_FILES([Makefile])
   AC_OUTPUT

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

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