summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac55
1 files changed, 50 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 3d9a504..6002c2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-m4_define([DEFAULT_PREFIX], "/opt/vyatta")
+m4_define([DEFAULT_PREFIX], [/opt/vyatta])
m4_define([VERSION_ID], [m4_esyscmd([
if test -f .version ; then
@@ -24,6 +24,9 @@ else
XSLDIR="$prefix/share/xsl/"
fi
+adl_RECURSIVE_EVAL([$bindir/sudo-users/],[SUDOUSRDIR])
+adl_RECURSIVE_EVAL([$sbindir/],[SBINDIR])
+
AC_PROG_CC
AC_PROG_CXX
AM_PROG_AS
@@ -39,14 +42,56 @@ AC_ARG_ENABLE([nostrip],
AC_SUBST(NOSTRIP)
AC_SUBST(XSLDIR)
+AC_SUBST(SUDOUSRDIR)
+AC_SUBST(SBINDIR)
AC_OUTPUT([
Makefile
- scripts/vyatta-gen-x509-keypair.sh
+ scripts/vyatta-gen-x509-keypair
+ templates/restart/vpn/node.def
+ templates/generate/vpn/x509/key-pair/node.tag/node.def
+ templates/generate/vpn/rsa-key/node.def
+ templates/generate/vpn/rsa-key/bits/node.tag/node.def
+ templates/generate/vpn/rsa-key/bits/node.tag/random/node.tag/node.def
+ templates/show/vpn/ipsec/status/node.def
+ templates/show/vpn/ipsec/sa/node.def
+ templates/show/vpn/ipsec/sa/nat-traversal/node.def
+ templates/show/vpn/ipsec/sa/statistics/node.def
+ templates/show/vpn/ipsec/sa/statistics/profile/node.tag/node.def
+ templates/show/vpn/ipsec/sa/statistics/profile/node.tag/tunnel/node.tag/node.def
+ templates/show/vpn/ipsec/sa/statistics/peer/node.tag/node.def
+ templates/show/vpn/ipsec/sa/statistics/peer/node.tag/tunnel/node.tag/node.def
+ templates/show/vpn/ipsec/sa/detail/node.def
+ templates/show/vpn/ipsec/sa/detail/profile/node.tag/node.def
+ templates/show/vpn/ipsec/sa/detail/profile/node.tag/tunnel/node.tag/node.def
+ templates/show/vpn/ipsec/sa/detail/peer/node.tag/node.def
+ templates/show/vpn/ipsec/sa/detail/peer/node.tag/tunnel/node.tag/node.def
+ templates/show/vpn/ipsec/sa/profile/node.tag/node.def
+ templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.tag/node.def
+ templates/show/vpn/ipsec/sa/peer/node.tag/node.def
+ templates/show/vpn/ipsec/sa/peer/node.tag/tunnel/node.tag/node.def
+ templates/show/vpn/debug/node.def
+ templates/show/vpn/debug/detail/node.def
+ templates/show/vpn/debug/peer/node.tag/node.def
+ templates/show/vpn/debug/peer/node.tag/tunnel/node.tag/node.def
+ templates/show/vpn/ike/secrets/node.def
+ templates/show/vpn/ike/status/node.def
+ templates/show/vpn/ike/sa/node.def
+ templates/show/vpn/ike/sa/nat-traversal/node.def
+ templates/show/vpn/ike/sa/peer/node.tag/node.def
+ templates/show/vpn/ike/rsa-keys/node.def
+ templates/reset/vpn/ipsec-profile/node.tag/node.def
+ templates/reset/vpn/ipsec-profile/node.tag/tunnel/node.tag/node.def
+ templates/reset/vpn/ipsec-peer/node.tag/node.def
+ templates/reset/vpn/ipsec-peer/node.tag/vti/node.def
+ templates/reset/vpn/ipsec-peer/node.tag/tunnel/node.tag/node.def
])
-echo "prefix: ${prefix}"
-echo "sysconfdir: ${sysconfdir}"
+echo "prefix: ${prefix}"
+echo "sbindir: ${sbindir}"
+echo "sysconfdir: ${sysconfdir}"
echo "datarootdir: ${datarootdir}"
-echo "XSLDIR: ${XSLDIR}"
+echo "XSLDIR: ${XSLDIR}"
+echo "SBINDIR: ${SBINDIR}"
+echo "SUDOUSRDIR: ${SUDOUSRDIR}"