Annotation of OpenXM/src/oxc/configure.in, Revision 1.4
1.4 ! ohara 1: dnl $OpenXM: OpenXM/src/oxc/configure.in,v 1.3 2004/12/06 14:25:47 ohara Exp $
1.1 ohara 2: dnl If you change this file, do not forget to run autoconf and rm .configure_done
3:
1.4 ! ohara 4: AC_INIT(oxc,1.0)
! 5: AC_CONFIG_SRCDIR([oxc.c])
! 6: AC_PREREQ(2.69)
! 7:
1.1 ohara 8: AC_PROG_CC
1.3 ohara 9: AC_PROG_INSTALL
1.1 ohara 10:
1.4 ! ohara 11: AC_ARG_ENABLE([shared],
! 12: [ --enable-shared enable linking with shared libraries. [[yes]]],
! 13: [],[enable_shared=yes])
! 14:
! 15: if test "${enable_shared:=yes}" != no ; then
! 16: true
1.1 ohara 17: fi
1.4 ! ohara 18:
! 19: OXLIBS='-lox -lmpfr -lgmp -lgc'
! 20: if test "${enable_shared}" = no ; then
! 21: OXLIBS='${libdir}/libox.a ${libdir}/libmpfr.a ${libdir}/libgmp.a ${libdir}/libgc.a'
1.1 ohara 22: fi
1.4 ! ohara 23: AC_SUBST([OXLIBS])
! 24:
! 25: dnl AC_CHECK_FUNC(socket)
! 26: dnl if test "$ac_cv_func_socket" = no ; then
! 27: dnl AC_CHECK_LIB(socket,socket)
! 28: dnl fi
! 29: dnl AC_CHECK_FUNC(gethostbyname)
! 30: dnl if test "$ac_cv_func_gethostbyname" = no ; then
! 31: dnl AC_CHECK_LIB(nsl,gethostbyname)
! 32: dnl fi
! 33: dnl AC_CHECK_FUNC(dlopen)
! 34: dnl if test "$ac_cv_func_dlopen" = no ; then
! 35: dnl AC_CHECK_LIB(dl,dlopen)
! 36: dnl fi
1.1 ohara 37:
1.4 ! ohara 38: AC_CONFIG_FILES([Makefile])
! 39: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>