Bug 442 - Makefile depends on pythonmod headers even using --without-pythonmodule
Makefile depends on pythonmod headers even using --without-pythonmodule
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
1.4.15
All OpenBSD
: P5 minor
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-26 22:20 CEST by stu-nlnetlabs
Modified: 2012-03-27 09:38 CEST (History)
1 user (show)

See Also:


Attachments
pythonmod-makefile.diff (2.75 KB, patch)
2012-03-26 22:20 CEST, stu-nlnetlabs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description stu-nlnetlabs 2012-03-26 22:20:48 CEST
Created attachment 202 [details]
pythonmod-makefile.diff

Unbound's Makefile lists a hard dependency on pythonmod headers. The attached diff conditionalizes this so the files are no longer needed unless the --with-pythonmodule configure flag is used.
Comment 1 Wouter Wijngaards 2012-03-27 09:38:43 CEST
Hi Stu,

Thanks for the patch, it has been fixed in svn trunk.  Also, dependency generation is fixed to use PYTHONMOD_HEADER.

The patch looks wrong in the bugzilla diff viewer - it does not pick up the difference between Makefile.in and configure.ac.  I applied it manually.

Best regards,  Wouter