summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorgdt <gdt>2004-08-31 18:16:36 +0000
committergdt <gdt>2004-08-31 18:16:36 +0000
commitcbd040847df406a618fd58b1a92f33dc424d2ffd (patch)
treedba9649be97470ba79d47dbb7a0ef76f361e7817 /configure.ac
parent630e48072a4a4685a7c04a7b73ae9170d2f0844a (diff)
2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>
* Rename scripts to *.sh.in, and use autoconf-style substitution for prefix and localstatedir.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac15
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index df819ede..b44befa7 100755
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@
## Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
## Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st>
##
-## $Id: configure.ac,v 1.61 2004/08/27 15:57:35 gdt Exp $
+## $Id: configure.ac,v 1.62 2004/08/31 18:16:36 gdt Exp $
AC_PREREQ(2.53)
AC_INIT(quagga, 0.96.5, [http://bugzilla.quagga.net])
@@ -22,6 +22,17 @@ AC_ARG_ENABLE([exampledir],
dnl XXX add --exampledir to autoconf standard directory list somehow
AC_SUBST(exampledir)
+dnl default is to match previous behavior
+pkgsrcrcdir=""
+pkgsrcdir=""
+AC_ARG_ENABLE([pkgsrcrcdir],
+ AC_HELP_STRING([--enable-pkgsrcrcdir],
+ [specify directory for rc.d scripts]),
+ pkgsrcrcdir="$enableval"; pkgsrcdir="pkgsrc",)
+dnl XXX add --pkgsrcrcdir to autoconf standard directory list somehow
+AC_SUBST(pkgsrcdir)
+AC_SUBST(pkgsrcrcdir)
+
dnl -----------------------------------
dnl Get hostname and other information.
dnl -----------------------------------
@@ -1127,6 +1138,8 @@ AC_OUTPUT(Makefile lib/Makefile zebra/Makefile ripd/Makefile
redhat/Makefile redhat/quagga.spec
lib/version.h
tests/Makefile
+ pkgsrc/bgpd.sh pkgsrc/ospf6d.sh pkgsrc/ospfd.sh
+ pkgsrc/ripd.sh pkgsrc/ripngd.sh pkgsrc/zebra.sh
,
[chmod +x vtysh/extract.pl])