forked from JuMi2006/ebusd
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
determine default log file location from localstatedir, determine def…
…ault config directory from sysconfdir, moved sysconfdir default to autogen.sh, adjusted author and git location
- Loading branch information
Showing
3 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
AC_PREREQ([2.65]) | ||
AC_INIT([ebusd], [0.5.0], [[email protected]], [ebusd], [https://github.com/yuhu-/ebusd]) | ||
|
||
case "$@" in | ||
*"--sysconfdir="*) ;; | ||
*) sysconfdir=/etc ;; | ||
esac | ||
AC_INIT([ebusd], [0.5.0], [[email protected]], [ebusd], [https://github.com/john30/ebusd]) | ||
|
||
if test -z $CXXFLAGS; | ||
then CXXFLAGS='-g -O2' | ||
|
@@ -41,7 +36,9 @@ AC_CONFIG_FILES([Makefile | |
src/ebusd/Makefile | ||
src/tools/Makefile]) | ||
|
||
AC_DEFINE_UNQUOTED(PACKAGE_PIDFILE, LOCALSTATEDIR "/run/" PACKAGE ".pid", [The name of the PID file.]) | ||
AC_DEFINE_UNQUOTED(PACKAGE_PIDFILE, LOCALSTATEDIR "/run/" PACKAGE ".pid", [The path and name of the PID file.]) | ||
AC_DEFINE_UNQUOTED(PACKAGE_LOGFILE, LOCALSTATEDIR "/log/" PACKAGE ".log", [The path and name of the log file.]) | ||
AC_DEFINE_UNQUOTED(PACKAGE_CONFIGPATH, SYSCONFDIR "/ebusd", [The default path of the configuration files.]) | ||
|
||
AC_CHECK_PROGS([HAVE_DOXYGEN], [doxygen]) | ||
if test -z "$HAVE_DOXYGEN"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters