summaryrefslogtreecommitdiffstats
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
commit3f6df1ba455b42959ad37b21a9e92e8f3ae9e49c (patch)
tree4bd80b07948de89fb729dde37e343b530f541820 /configure.ac
parentd9c99f75b268666273d67326cb3535609a61e63a (diff)
downloadquagga-3f6df1ba455b42959ad37b21a9e92e8f3ae9e49c.tar.bz2
quagga-3f6df1ba455b42959ad37b21a9e92e8f3ae9e49c.tar.xz
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.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 27e3ee86..0495774d 100755
--- a/configure.ac
+++ b/configure.ac
@@ -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])