aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-11-12 10:34:04 +0100
committerTobias Brunner <tobias@strongswan.org>2012-11-12 10:34:04 +0100
commit6782bf37221b65c722993d21eadf170343b7d492 (patch)
tree6e1c4dc3161fc0ff5adebb5ad88128130f95f2bc
parenteda87d1a95d3cd074fe7ad08312e2258c04fc46e (diff)
downloadstrongswan-6782bf37221b65c722993d21eadf170343b7d492.tar.bz2
strongswan-6782bf37221b65c722993d21eadf170343b7d492.tar.xz
Properly define TSS_TROUSERS in configure script
-rw-r--r--configure.in1
-rw-r--r--src/libpts/Makefile.am1
2 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ce09a02d1..c65fa5e94 100644
--- a/configure.in
+++ b/configure.in
@@ -634,6 +634,7 @@ fi
if test x$tss = xtrousers; then
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_DEFINE([TSS_TROUSERS], [], [use TrouSerS library libtspi as TSS implementation])
fi
if test x$dumm = xtrue; then
diff --git a/src/libpts/Makefile.am b/src/libpts/Makefile.am
index a36e346c3..edf3f7416 100644
--- a/src/libpts/Makefile.am
+++ b/src/libpts/Makefile.am
@@ -7,7 +7,6 @@ libpts_la_LIBADD = $(top_builddir)/src/libimcv/libimcv.la
if USE_TROUSERS
libpts_la_LIBADD += -ltspi
- AM_CFLAGS = -DTSS_TROUSERS
endif
libpts_la_SOURCES = \