AC_PROG_INSTALL
AC_PROG_RANLIB
AC_PROG_MAKE_SET
+AC_DISABLE_SHARED
AC_PROG_LIBTOOL
AC_PATH_PROG(sedpath, sed)
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
[
echo "yes"
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
- has_iconv=true
- check_iconv=true
+ has_iconv=true
+ check_iconv=false
+ ],
+ [
+ echo "no"
])
])
fi
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
],
[
+ echo "no"
has_iconv=false
])
])
)
if test x$ac_iconv_good = xno; then
- AC_MSG_ERROR(Try using libiconv instead.)
+ AC_MSG_RESULT(Try using libiconv instead.)
fi
fi
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`
echo " Debugging enabled .............: $summary_debug"
echo " Stack-trace enabled ...........: $summary_stacktrace"
echo ""
-echo "Compile the sources with 'make' or 'gmake' command."
+if test "x$silc_dist" = "xsilc-client"; then
+ echo "Compile the sources with 'make' or 'gmake' command (GNU make is required)."
+else
+ echo "Compile the sources with 'make' or 'gmake' command."
+fi