File: fix-autoconf-pthread

package info (click to toggle)
fprobe 1.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 764 kB
  • sloc: sh: 3,165; ansic: 2,177; makefile: 15
file content (11 lines) | stat: -rw-r--r-- 303 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/configure.in
+++ b/configure.in
@@ -11,7 +11,7 @@
 AC_PROG_INSTALL
 
 AC_CHECK_LIB(pthread, pthread_create, ,
-	AC_CHECK_LIB(c_r, pthread_create), ,
+	[AC_CHECK_LIB(c_r, pthread_create)], ,
 	[AC_ERROR(POSIX threads not found)])
 AC_SEARCH_LIBS(socket, socket)
 AC_SEARCH_LIBS(gethostbyname, nsl)