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:
parent
e5d623d47e
commit
c02630c83b
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ if test "$enable_netsnmp" = "yes"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set default config file location
|
# Set default config file location
|
||||||
CLIXON_DEFAULT_CONFIG=/usr/local/etc/clixon.xml
|
CLIXON_DEFAULT_CONFIG=${SYSCONFDIR}/clixon.xml
|
||||||
AC_ARG_WITH([configfile],
|
AC_ARG_WITH([configfile],
|
||||||
[AS_HELP_STRING([--with-configfile=FILE],[Set default path to config file])],
|
[AS_HELP_STRING([--with-configfile=FILE],[Set default path to config file])],
|
||||||
[CLIXON_DEFAULT_CONFIG="$withval"],)
|
[CLIXON_DEFAULT_CONFIG="$withval"],)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue