Autoconf
- Added a check for pthread_create, which should trigger inclusion of '-lpthread' on the link command line.
This commit is contained in:
@@ -169,6 +169,10 @@ AC_CONFIG_SRCDIR([src/main.cpp])
|
|||||||
AC_CONFIG_HEADER([auto.h])
|
AC_CONFIG_HEADER([auto.h])
|
||||||
|
|
||||||
|
|
||||||
|
# Checks for libraries.
|
||||||
|
AC_CHECK_LIB(pthread,pthread_create)
|
||||||
|
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS([stdlib.h sys/file.h sys/stat.h sys/time.h unistd.h])
|
AC_CHECK_HEADERS([stdlib.h sys/file.h sys/stat.h sys/time.h unistd.h])
|
||||||
|
|||||||
Reference in New Issue
Block a user