nettle_config.h contains
/* Define to 1 if you have the `nettle' library (-lnettle). */ #define HAVE_LIBNETTLE 1
nettle.cmod and nettle.c contain
#include "nettle_config.h"
#ifdef HAVE_LIBNETTLE
... code...
And still, it seems the code is not compiled at all (nm says it doesn't refer to any globals whatsoever). *sigh*
/ Niels Möller (vässar rödpennan)
Previous text:
2004-02-06 17:13: Subject: Nettle 1.7 and pike 7.5
I think the configure stuff is working properly now. But the generated moduile.so is fishy. It should be linked statically to my /usr/local/lib/libnettle.a. nm on it says that it defines nettle_init_md5.
But the module picked up by make run_hilfe is still broken. Now IO don't get link errors anymore, by I get an empty Nettle module.
I'm giving up for now, perhaps a nuke of the build tree will sort things out, or perhaps someone more familiar with the pike build system should have a look at it.
/ Niels Möller (vässar rödpennan)