Properly define TSS_TROUSERS in configure script
This commit is contained in:
@@ -634,6 +634,7 @@ fi
|
|||||||
if test x$tss = xtrousers; then
|
if test x$tss = xtrousers; then
|
||||||
AC_HAVE_LIBRARY([tspi],[LIBS="$LIBS"],[AC_MSG_ERROR([TrouSerS library libtspi not found])])
|
AC_HAVE_LIBRARY([tspi],[LIBS="$LIBS"],[AC_MSG_ERROR([TrouSerS library libtspi not found])])
|
||||||
AC_CHECK_HEADER([trousers/tss.h],,[AC_MSG_ERROR([TrouSerS header trousers/tss.h not found!])])
|
AC_CHECK_HEADER([trousers/tss.h],,[AC_MSG_ERROR([TrouSerS header trousers/tss.h not found!])])
|
||||||
|
AC_DEFINE([TSS_TROUSERS], [], [use TrouSerS library libtspi as TSS implementation])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$dumm = xtrue; then
|
if test x$dumm = xtrue; then
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ libpts_la_LIBADD = $(top_builddir)/src/libimcv/libimcv.la
|
|||||||
|
|
||||||
if USE_TROUSERS
|
if USE_TROUSERS
|
||||||
libpts_la_LIBADD += -ltspi
|
libpts_la_LIBADD += -ltspi
|
||||||
AM_CFLAGS = -DTSS_TROUSERS
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libpts_la_SOURCES = \
|
libpts_la_SOURCES = \
|
||||||
|
|||||||
Reference in New Issue
Block a user