Fixed to IPv6 check.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 23 Oct 2002 07:00:40 +0000 (07:00 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 23 Oct 2002 07:00:40 +0000 (07:00 +0000)
Don't run configure for mpi if GMP was selected.

configure.in.pre

index 3c4be64d478bb4dcda5d7c0bb53762fdf2fe7e84..cafa3437e81b13600f76e00f0f283e6fe547c0ee 100644 (file)
@@ -195,6 +195,9 @@ if test x$check_ipv6 = xtrue; then
   summary_ipv6="no"
   AC_TRY_COMPILE(
     [
+      #ifdef HAVE_SYS_TYPES_H
+      #include <sys/types.h>
+      #endif
       #ifdef HAVE_NETINET_TCP_H
       #include <netinet/tcp.h>
       #endif
@@ -919,7 +922,10 @@ if test x$without_irssi = xfalse; then
   fi
 fi
 
-AC_CONFIG_SUBDIRS(lib/silcmath/mpi)
+if test x$mp_gmp = xfalse; then
+  AC_CONFIG_SUBDIRS(lib/silcmath/mpi)
+fi
+
 #AC_CONFIG_SUBDIRS(lib/zlib)
 
 SILC_TOP_SRCDIR=`pwd`