small fixes

This commit is contained in:
john30
2017-01-22 14:32:25 +01:00
parent ee56ebb2e7
commit f7e04fb0b1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ set(PACKAGE_TARNAME ${CMAKE_PROJECT_NAME})
set(PACKAGE_VERSION ${VERSION}) set(PACKAGE_VERSION ${VERSION})
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set(PACKAGE_BUGREPORT "ebusd@ebusd.eu") set(PACKAGE_BUGREPORT "ebusd@ebusd.eu")
set(PACKAGE_URL "ebusd@ebusd.eu") set(PACKAGE_URL "https://github.com/john30/ebusd")
set(PACKAGE_PIDFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/run/${PACKAGE}.pid") set(PACKAGE_PIDFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/run/${PACKAGE}.pid")
set(PACKAGE_LOGFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/${PACKAGE}.log") set(PACKAGE_LOGFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/${PACKAGE}.log")
set(PACKAGE_CONFIGPATH "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${PACKAGE}") set(PACKAGE_CONFIGPATH "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${PACKAGE}")
@@ -44,8 +44,8 @@ check_include_file(sys/time.h HAVE_SYS_TIME_H)
check_include_file(time.h HAVE_TIME_H) check_include_file(time.h HAVE_TIME_H)
check_include_file(termios.h HAVE_TERMIOS_H) check_include_file(termios.h HAVE_TERMIOS_H)
set(CMAKE_REQUIRED_LIBRARIES pthread)
check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP) check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP)
find_library(RTLIB rt)
check_function_exists(pselect HAVE_PSELECT) check_function_exists(pselect HAVE_PSELECT)
check_function_exists(ppoll HAVE_PPOLL) check_function_exists(ppoll HAVE_PPOLL)
+1 -1
View File
@@ -52,5 +52,5 @@
/* The version of the package formatted for the scan result. */ /* The version of the package formatted for the scan result. */
#cmakedefine SCAN_VERSION "${SCAN_VERSION}" #cmakedefine SCAN_VERSION "${SCAN_VERSION}"
/* The version of the package */ /* The version of the package. */
#cmakedefine VERSION "${VERSION}" #cmakedefine VERSION "${VERSION}"