version 1.9, 2004/02/28 23:39:38 |
version 1.13, 2015/08/05 00:59:05 |
|
|
dnl $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.8 2004/02/28 16:54:55 ohara Exp $ |
dnl $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.12 2007/04/08 18:27:09 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_PREREQ(2.61) |
|
AM_INIT_AUTOMAKE(ox_toolkit, 20040628) |
|
AM_MAINTAINER_MODE |
AC_CANONICAL_SYSTEM |
AC_CANONICAL_SYSTEM |
dnl AC_CANONICAL_HOST |
|
AC_PROG_CC |
AC_PROG_CC |
AC_PROG_INSTALL |
AC_PROG_INSTALL |
AC_PROG_RANLIB |
AC_PROG_LIBTOOL |
dnl AC_PROG_LN_S |
|
AC_PATH_XTRA |
AC_PATH_XTRA |
|
|
AC_ARG_WITH([gmp], |
if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then |
[ --with-gmp with the GNU MP library [[no]]], |
CFLAGS="${CFLAGS} -finline-functions" |
[with_gmp=yes],[with_gmp=no]) |
|
|
|
if test ${with_gmp:=no} != no ; then |
|
AC_DEFINE([WITH_GMP]) |
|
GMPLIB="-lgmp" |
|
USE_GMP='#' |
|
fi |
fi |
AC_SUBST([GMPLIB]) |
|
AC_SUBST([USE_GMP]) |
|
|
|
case "${host}" in |
case "${host}" in |
[i[3-6]86-*-interix*]) |
[i[3-6]86-*-interix*]) |
Line 37 AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,getho |
|
Line 29 AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,getho |
|
dnl for Redhat 8.0 |
dnl for Redhat 8.0 |
AC_CHECK_FUNC(dlopen, , [AC_CHECK_LIB(dl,dlopen)]) |
AC_CHECK_FUNC(dlopen, , [AC_CHECK_LIB(dl,dlopen)]) |
|
|
|
AC_CHECK_SIZEOF(long) |
AC_OUTPUT(Makefile) |
AC_OUTPUT(Makefile) |