From cbd040847df406a618fd58b1a92f33dc424d2ffd Mon Sep 17 00:00:00 2001 From: gdt Date: Tue, 31 Aug 2004 18:16:36 +0000 Subject: 2004-08-31 Greg Troxel * Rename scripts to *.sh.in, and use autoconf-style substitution for prefix and localstatedir. --- configure.ac | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 ## Portions Copyright (c) 2003 Paul Jakma ## -## $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]) -- cgit v1.2.1