From c4f0efe676e5243711d418925991411eb5efeea4 Mon Sep 17 00:00:00 2001 From: gdt Date: Thu, 4 Dec 2003 15:39:25 +0000 Subject: 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. --- ChangeLog | 6 ++++++ configure.ac | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1e80b427..a5f193f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-12-04 Greg Troxel + + * configure.ac: When setting exampledir to sysconfdir as a + default, don't quote ${sysconfdir}. (Bug reported by Vincent + Jardin.) + 2003-12-03 Greg Troxel * configure.ac: Compile in Router Advertisement support by diff --git a/configure.ac b/configure.ac index 725ce72f..b6d8829f 100755 --- a/configure.ac +++ b/configure.ac @@ -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 ----------------------------------- -- cgit v1.2.1