fix exampledir processing bug; it failed when neither exampledir nor
sysconfdir were specified, due to incorrect extra quoting of
sysconfdir. Thanks to Vincent Jardin for the bug report.
diff --git a/ChangeLog b/ChangeLog
index 1e80b42..a5f193f 100644
--- 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
diff --git a/configure.ac b/configure.ac
index 725ce72..b6d8829 100755
--- a/configure.ac
+++ b/configure.ac
@@ -13,12 +13,12 @@
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 -----------------------------------