From: ueno Date: Sun, 27 Jan 2002 17:22:43 +0000 (+0000) Subject: Update. X-Git-Tag: liece-2_0_0-pre1 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f3538d8707ffd551313afbe208292587984a701;p=elisp%2Fliece.git Update. --- diff --git a/configure.in b/configure.in index 484cf1d..5ab4b62 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,5 @@ -AC_INIT(lisp/liece.el) +AC_INIT(configure.in) +AC_PREREQ(2.13) AM_INIT_AUTOMAKE(liece, 1.4.4) AM_PATH_LISPDIR @@ -9,40 +10,14 @@ AC_PROG_INSTALL AC_PROG_MAKE_SET AC_PROG_RANLIB -AC_CHECK_HEADERS(sys/select.h libgen.h socks.h netinet6/in6.h) +AC_CHECK_HEADERS(sys/select.h libgen.h) AC_CHECK_LIB(nsl, gethostbyname) AC_CHECK_LIB(socket, socket) -AC_CHECK_FUNCS(strtoul memmove basename getaddrinfo) - -AC_CHECK_TYPE(fd_set, int) - -dnl checking if the system supports ipv6 address space or not -AC_CACHE_CHECK([for struct in6_addr], ac_cv_struct_in6_addr, -[AC_TRY_COMPILE([#include -#include -#include -#include ], [struct in6_addr v6; v6.s6_addr32[3];], -ac_cv_struct_in6_addr=yes, ac_cv_struct_in6_addr=no)]) -test "x$ac_cv_struct_in6_addr" = "xyes" && AC_DEFINE(HAVE_IN6_ADDR) - -dnl checking if the system supports tcp over ipv6 support or not -AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_struct_sockaddr_in6, -[AC_TRY_COMPILE([#include -#include -#include -#include ], [struct sockaddr_in6 v6; v6.sin6_addr;], -ac_cv_struct_sockaddr_in6=yes, ac_cv_struct_sockaddr_in6=no)]) -test "x$ac_cv_struct_sockaddr_in6" = "xyes" && AC_DEFINE(HAVE_SOCKADDR_IN6) - -# Check compile with IPv6 support -AC_MSG_CHECKING(whether we compile with IPv6) -AC_ARG_ENABLE(ipv6, \ - [ --enable-ipv6 compile with IPv6 [default=no]],, \ - enable_ipv6=no) -test "x$enable_ipv6" = "xyes" && AC_DEFINE(INET6) -AC_MSG_RESULT($enable_ipv6) +AC_CHECK_FUNCS(strtoul memmove getaddrinfo) +AC_CHECK_FUNC(getopt_long,,LIBOBJS="$LIBOBJS getopt.o getopt1.o") +AC_REPLACE_FUNCS(basename) # Check whether to retrieve APEL/FLIM distribution. AC_MSG_CHECKING(whether we retrieve APEL/FLIM distribution via CVS)