]> git.puffer.fish Git - mirror/frr.git/commitdiff
fix exampledir processing bug; it failed when neither exampledir nor
authorgdt <gdt>
Thu, 4 Dec 2003 15:39:25 +0000 (15:39 +0000)
committergdt <gdt>
Thu, 4 Dec 2003 15:39:25 +0000 (15:39 +0000)
sysconfdir were specified, due to incorrect extra quoting of
sysconfdir.  Thanks to Vincent Jardin for the bug report.

ChangeLog
configure.ac

index 1e80b427b6ec3829d74211fac48d59c335d8b8b1..a5f193f63bdc26cbfaa2ab84b34c7b953ed19c73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-04  Greg Troxel  <gdt@poblano.ir.bbn.com>
+
+       * configure.ac: When setting exampledir to sysconfdir as a
+       default, don't quote ${sysconfdir}.  (Bug reported by Vincent
+       Jardin.)
+
 2003-12-03  Greg Troxel  <gdt@poblano.ir.bbn.com>
 
        * configure.ac: Compile in Router Advertisement support by
index 725ce72f02e53695d3224ddf925dca81b5fafcce..b6d8829f5e5b9a9b92b7e43033a57a977d947663 100755 (executable)
@@ -13,12 +13,12 @@ AM_INIT_AUTOMAKE()
 AM_CONFIG_HEADER(config.h)
 
 dnl default is to match previous behavior
-exampledir='${sysconfdir}'
+exampledir=${sysconfdir}
 AC_ARG_ENABLE([exampledir],
          AC_HELP_STRING([--enable-exampledir],
                         [specify alternate directory for examples]),
                         exampledir="$enableval",)
-dnl XXX hook into argument processing
+dnl XXX add --exampledir to autoconf standard directory list somehow
 AC_SUBST(exampledir)
 
 dnl -----------------------------------