]> git.proxmox.com Git - mirror_frr.git/blobdiff - configure.ac
2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>
[mirror_frr.git] / configure.ac
index df819edea0b699f0d09d8bd25373189977277dd1..b44befa747966354fea277b254e99f83832b90bf 100755 (executable)
@@ -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])