--- configure.orig 2009-05-31 00:38:33.000000000 -0700 +++ configure 2009-06-12 16:34:06.000000000 -0700 @@ -5003,7 +5003,7 @@ $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lnettle $LIBS" +LIBS="-lgmp -lnettle $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -5067,7 +5067,7 @@ #define HAVE_LIBNETTLE 1 _ACEOF - LIBS="-lnettle $LIBS" + LIBS="-lgmp -lnettle $LIBS" else NETTLE_L="no"