-# Check for the GNU Multi Precision Library
-libgmp=none
-AC_CHECK_LIB(gmp2, mpz_powm, [
- libgmp=gmp2
-])
-AC_CHECK_LIB(gmp3, mpz_powm, [
- libgmp=gmp3
+AM_GNU_GETTEXT
+
+
+dnl Crypto stuff
+tinc_OPENSSL
+
+dnl Support for SunOS
+
+AC_CHECK_FUNC(socket, [], [
+ AC_CHECK_LIB(socket, connect)