[Unbound-users] adding module to unbound
W.C.A. Wijngaards
wouter at NLnetLabs.nl
Mon Nov 7 11:00:39 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Baptiste,
You need to also run autoheader, it updates config.h.in.
To have something appear in the Makefile you would have to patch
Makefile.in. The configure script adjusts some *.in files to generate
their final versions, all those @bla@ get their contents in the files.
Best regards,
Wouter
On 11/05/2011 09:28 AM, Baptiste wrote:
> Hi,
>
> unbound looks to be a very nice software, meeting most of my
> requirements: written in C, light, fast, etc...
> There is even a module to run python script on requests. The main
> issue is that the performance of python kill the overall performance
> of unbound.
> My purpose now is to write my own module in C.
>
> I'm absolutely not familiar with autotools, and I can't make configure
> to take in account my module.
> I updated configure.ac with the few lines below:
>
> AC_ARG_WITH(ddns,
> AC_HELP_STRING([--with-ddns],
> [build ddns module, or --without-ddns (default=no)]),
> [], [ withval="no" ])
>
> ub_with_ddns=no
> if test x_$withval != x_no; then
> ub_with_ddns=yes
> fi
>
> if test x_$ub_with_ddns != x_no; then
> AC_DEFINE(WITH_DDNS, 1, [Define if you want ddns module.])
> WITH_DDNS=yes
> AC_SUBST(WITH_DDNS)
> fi
>
>
> Then I run autoconf and configure seems well generated:
> grep -c -i ddns configure
> 11
>
> So I can run "./configure --disable-gost --with-ddns" to write the Makefile
> But nothing appears in the Makefile:
> grep -c -i ddns Makefile
> 0
>
> Any help would be appreciated :)
>
> cheers
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJOt7pWAAoJEJ9vHC1+BF+NrL8P+QEnG+VvrOVEMU4ToOMcOyMp
Mql5uSj34Mvg7Yn+2ldGne6AZJWaSAg9ZRhDjEZYTdUB8cocE2Qgss+qcknuRbi3
158kvU/4qGjk6el/8trxai+rmHgoJKs1OFpRBNZ6a7tU8JWvLLPBuEvspNX11OPK
SMMWhRc6jTegtWXyy7bE3xhxVrfXgUq3zZC01eO7OOEe4xwdekNeiPCmwEKp/X5X
8ZkdcNREcuE413G2QlqxTlqQgDpnKJnTre/qCvKxeGOMEywFQ3dwvSNPlZHoo/1r
xwS5kz+PEQvnuCLvMN4Lb8raiwPvFynA4DueTI9MK+uXC3TmS8+4sgzNRX9QjhVu
G/AU+3HpiKR/tmuIysPcUNZSzmw/Tn8PzaXg/elW8E/Z6l5S4loxq95XT3wqAT3W
WHUmTDxH8d+Q9Nm4lVC4laU099YzcWSWCvw/4h/DCQL7L7aju+YcCBqwlQg5IYRy
nHxVdEY4oH/URU0301dCaW0zi9L5EtbnqQLVxRKztwKd+RIfy9QQgoZiPtkgBW2y
9cbAowinYXDA5jTyeJ4LEYV3Rt5p3TtOSq0ttileU3DJJWeiR2mv+N03TgLq69NH
p1QaFm4iG8tA6Yz1x3K/i+nLHsidKUvi30aqSXIGGO8mnYj4IqApJKnkr8lx1V2c
NwD3vNxczCbfYocBz/jA
=Ilou
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list