summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2012-03-26 19:00:38 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2012-03-26 19:00:38 +0000
commit4bb3ad718902986a4e4e0abbe1e9ac4da8e89562 (patch)
treee3c5854502ca9977b46cce55e1a9bec1457963b0
parent641b91092847d1a541bdf3da867835cf2bb2ea69 (diff)
add PYTHONMOD_HEADER variable which is conditionalized on building the module.
-rw-r--r--usr.sbin/unbound/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/unbound/configure.ac b/usr.sbin/unbound/configure.ac
index 7d5c2e8afe3..d649fa31b1c 100644
--- a/usr.sbin/unbound/configure.ac
+++ b/usr.sbin/unbound/configure.ac
@@ -470,6 +470,8 @@ if test x_$ub_test_python != x_no; then
AC_SUBST(WITH_PYTHONMODULE)
PYTHONMOD_OBJ="pythonmod.lo pythonmod_utils.lo"
AC_SUBST(PYTHONMOD_OBJ)
+ PYTHONMOD_HEADER="$(srcdir)/pythonmod/pythonmod.h"
+ AC_SUBST(PYTHONMOD_HEADER)
PYTHONMOD_INSTALL=pythonmod-install
AC_SUBST(PYTHONMOD_INSTALL)
PYTHONMOD_UNINSTALL=pythonmod-uninstall