@ 261102.1

140416.1 · d056668f4f4e0c2286354329b30d73d208d65c5e

Add autoconf checks for pthreads; fix #340

reading declarations

Changes to config/m4/find-func.m4. All files

config/m4/find-func.m4

new file mode 100644@@ -0,0 +1,9 @@+dnl Shamelessly stolen from Heimdal+dnl+dnl AC_FIND_FUNC(func, libraries, includes, arguments)+AC_DEFUN([AC_FIND_FUNC], [+AC_FIND_FUNC_NO_LIBS([$1], [$2], [$3], [$4])+if test -n "$LIB_$1"; then+	LIBS="$LIB_$1 $LIBS"+fi+])