configure.ac: Fix the directory for the config file to use $SYSCONFDIR.

Do not hardcode /usr/local/etc as the location.
This commit is contained in:
Havard Eidnes 2024-09-18 06:58:03 +00:00 committed by Olof Hagsand
parent e5d623d47e
commit c02630c83b

View file

@ -355,7 +355,7 @@ if test "$enable_netsnmp" = "yes"; then
fi
# Set default config file location
CLIXON_DEFAULT_CONFIG=/usr/local/etc/clixon.xml
CLIXON_DEFAULT_CONFIG=${SYSCONFDIR}/clixon.xml
AC_ARG_WITH([configfile],
[AS_HELP_STRING([--with-configfile=FILE],[Set default path to config file])],
[CLIXON_DEFAULT_CONFIG="$withval"],)