Fix double expansion of ${datadir}

This commit is contained in:
Philip Prindeville 2023-08-18 16:38:57 -06:00 committed by Olof Hagsand
parent 2bcd429bee
commit 3bd440eaaa
2 changed files with 11 additions and 1 deletions

6
configure vendored
View file

@ -663,7 +663,9 @@ CXXFLAGS
CXX
CPP
LOCALSTATEDIR
LIBEXECDIR
LIBDIR
DATADIR
SYSCONFDIR
MIB_GENERATED_YANG_DIR
YANG_STANDARD_DIR
@ -4144,6 +4146,8 @@ HAVE_HTTP1=false
#
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@ -6891,7 +6895,9 @@ fi
# Special case is $libdir, which is composed from $exec_prefix
test "x$prefix" = xNONE && prefix=$ac_default_prefix
SYSCONFDIR=`eval echo $sysconfdir`
DATADIR=`eval echo \`eval echo $datadir\``
LIBDIR=`eval echo $libdir`
LIBEXECDIR=`eval echo $libexecdir`
LOCALSTATEDIR=`eval echo $localstatedir`
ac_config_files="$ac_config_files Makefile lib/Makefile lib/src/Makefile lib/clixon/Makefile apps/Makefile apps/cli/Makefile apps/backend/Makefile apps/netconf/Makefile apps/restconf/Makefile apps/snmp/Makefile include/Makefile etc/Makefile etc/clixonrc example/Makefile example/main/Makefile example/main/example.xml docker/Makefile docker/clixon-dev/Makefile docker/example/Makefile docker/test/Makefile util/Makefile yang/Makefile yang/clixon/Makefile yang/mandatory/Makefile doc/Makefile test/Makefile test/config.sh test/cicd/Makefile test/vagrant/Makefile"

View file

@ -3,7 +3,7 @@
#
# Copyright (C) 2009-2016 Olof Hagsand and Benny Holmgren
# Copyright (C) 2017-2019 Olof Hagsand
# Copyright (C) 2020-2022 Olof Hagsand and Rubicon Communications, LLC
# Copyright (C) 2020-2023 Olof Hagsand and Rubicon Communications, LLC
#
# This file is part of CLIXON
#
@ -123,7 +123,9 @@ AC_SUBST(YANG_STANDARD_DIR)
AC_SUBST(MIB_GENERATED_YANG_DIR)
# Used in expansion in, e.g., example/main/example.xml.in
AC_SUBST(SYSCONFDIR)
AC_SUBST(DATADIR)
AC_SUBST(LIBDIR)
AC_SUBST(LIBEXECDIR)
AC_SUBST(LOCALSTATEDIR)
#
@ -420,7 +422,9 @@ AH_BOTTOM([#include <clixon_custom.h>])
# Special case is $libdir, which is composed from $exec_prefix
test "x$prefix" = xNONE && prefix=$ac_default_prefix
SYSCONFDIR=`eval echo $sysconfdir`
DATADIR=`eval echo \`eval echo $datadir\``
LIBDIR=`eval echo $libdir`
LIBEXECDIR=`eval echo $libexecdir`
LOCALSTATEDIR=`eval echo $localstatedir`
AC_CONFIG_FILES([Makefile