determine default log file location from localstatedir, determine default config directory from sysconfdir, moved sysconfdir default to autogen.sh, adjusted author and git location

This commit is contained in:
john30
2015-02-14 14:36:57 +01:00
parent 287bb859d0
commit 2ca6be5f92
3 changed files with 27 additions and 17 deletions
+4 -7
View File
@@ -1,10 +1,5 @@
AC_PREREQ([2.65])
AC_INIT([ebusd], [0.5.0], [ebusd@liwest.at], [ebusd], [https://github.com/yuhu-/ebusd])
case "$@" in
*"--sysconfdir="*) ;;
*) sysconfdir=/etc ;;
esac
AC_INIT([ebusd], [0.5.0], [ebusd@johnm.de], [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";