Blame SOURCES/swap-pthread-check.patch

03cf90
diff -ur TPM2.0-TSS-1.0/configure.ac TPM2.0-TSS-1.0-new/configure.ac
03cf90
--- TPM2.0-TSS-1.0/configure.ac	2016-11-01 06:53:15.000000000 -0700
03cf90
+++ TPM2.0-TSS-1.0-new/configure.ac	2017-03-05 23:59:35.063459673 -0700
03cf90
@@ -7,7 +7,9 @@
03cf90
 AC_PROG_CC
03cf90
 AC_PROG_CXX
03cf90
 LT_INIT()
03cf90
-AX_PTHREAD([], [AC_MSG_ERROR([requires pthread])])
03cf90
+AC_CHECK_LIB([pthread], [pthread_create], [PTHREAD_CFLAGS+=-pthread],
03cf90
+			[AC_MSG_ERROR([requires pthread])])
03cf90
+AC_SUBST([PTHREAD_CFLAGS])
03cf90
 AM_INIT_AUTOMAKE([foreign
03cf90
                   subdir-objects])
03cf90
 AC_CONFIG_FILES([Makefile])
03cf90
Only in TPM2.0-TSS-1.0-new/: configure.ac~