Skip to content

Commit

Permalink
build: check for pthreads at configure.ac
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Oct 27, 2010
1 parent 0fb0a8e commit a5d4303
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions Makefile.am
Expand Up @@ -35,7 +35,5 @@ kronosnetd_SOURCES = \
vty_auth.c \
vty_utils.c

kronosnetd_LDFLAGS = -lpthread

maintainer-clean-local:
rm -rf m4
1 change: 1 addition & 0 deletions configure.ac
Expand Up @@ -69,6 +69,7 @@ check_lib_no_libs() {
AC_C_INLINE

# Checks for libraries.
AC_CHECK_LIB([pthread], [pthread_create])

# Checks for header files.
AC_CHECK_HEADERS([fcntl.h])
Expand Down
2 changes: 0 additions & 2 deletions tests/Makefile.am
Expand Up @@ -19,8 +19,6 @@ TESTS = $(check_PROGRAMS)

AM_CFLAGS = -DTEST

AM_LDFLAGS = -lpthread

knet_test_SOURCES = \
knet_test.c \
../knet.c \
Expand Down

0 comments on commit a5d4303

Please sign in to comment.