added PID file location to autoconf (i.e. use localstatedir/var), fixed empty PID file and permissions
This commit is contained in:
+3
-1
@@ -31,7 +31,7 @@ AC_CHECK_FUNC([pselect], [AC_DEFINE(HAVE_PSELECT, [1], ["Define to 1 if pselect(
|
||||
AC_CHECK_FUNC([ppoll], [AC_DEFINE(HAVE_PPOLL, [1], ["Define to 1 if ppoll() is available."])])
|
||||
|
||||
AC_CONFIG_AUX_DIR([build])
|
||||
AC_CONFIG_SRCDIR([src/ebusd/ebusd.cpp])
|
||||
AC_CONFIG_SRCDIR([src/ebusd/main.cpp])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_FILES([Makefile
|
||||
docs/Makefile
|
||||
@@ -41,6 +41,8 @@ AC_CONFIG_FILES([Makefile
|
||||
src/ebusd/Makefile
|
||||
src/tools/Makefile])
|
||||
|
||||
AC_DEFINE_UNQUOTED(PACKAGE_PIDFILE, LOCALSTATEDIR "/" PACKAGE ".pid", [The name of the PID file.])
|
||||
|
||||
AC_CHECK_PROGS([HAVE_DOXYGEN], [doxygen])
|
||||
if test -z "$HAVE_DOXYGEN";
|
||||
then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support.])
|
||||
|
||||
Reference in New Issue
Block a user